Project
Loading...
Searching...
No Matches
cli.cxx File Reference
#include <iostream>
#include <fmt/format.h>
#include <boost/program_options.hpp>
#include "MCHRawElecMap/Mapper.h"
#include <stdexcept>
#include <fstream>

Go to the source code of this file.

Functions

template<typename ELECMAP >
int dump (const DsElecId &dsElecId, const DsDetId &dsDetId)
 
template<typename ELECMAP >
int convertElec2Det (uint16_t solarId, uint8_t groupId, uint8_t indexId)
 
template<typename ELECMAP >
int convertDet2Elec (int deId, int dsId)
 
void convertFeeLink2Solar (uint16_t feeId, uint8_t linkId, bool dummyElecMap, std::string cruMap)
 
void generateCruMap (bool dummyElecMap, std::string cruMap)
 
int usage (const po::options_description &generic)
 
int main (int argc, char **argv)
 

Function Documentation

◆ convertDet2Elec()

template<typename ELECMAP >
int convertDet2Elec ( int  deId,
int  dsId 
)

Definition at line 61 of file cli.cxx.

◆ convertElec2Det()

template<typename ELECMAP >
int convertElec2Det ( uint16_t  solarId,
uint8_t  groupId,
uint8_t  indexId 
)

Definition at line 41 of file cli.cxx.

◆ convertFeeLink2Solar()

void convertFeeLink2Solar ( uint16_t  feeId,
uint8_t  linkId,
bool  dummyElecMap,
std::string  cruMap 
)

Definition at line 90 of file cli.cxx.

◆ dump()

template<typename ELECMAP >
int dump ( const DsElecId dsElecId,
const DsDetId dsDetId 
)

Definition at line 23 of file cli.cxx.

◆ generateCruMap()

void generateCruMap ( bool  dummyElecMap,
std::string  cruMap 
)

Definition at line 111 of file cli.cxx.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 142 of file cli.cxx.

◆ usage()

int usage ( const po::options_description &  generic)

Definition at line 133 of file cli.cxx.