7#include <FairParGenericSet.h>
12#include <RtypesCore.h>
22std::vector<std::pair<std::string, std::shared_ptr<FairParGenericSet>>>*
26 std::string basepath = Form(
"%s", fParFilesBasePath.data());
27 std::string temppath =
"";
30 temppath = basepath +
"mRichPar_70.par";
32 LOG(info) << fName <<
"::GetParContainerRequest - get parameters from file: \n" << temppath;
34 fParContVec.emplace_back(std::make_pair(temppath, std::make_shared<CbmMcbm2018RichPar>()));
42 return ((
double) epoch) * 2048. * 5. + ((double) coarse) * 5. - ((
double) fine) * 0.005;
48 std::stringstream stream;
49 stream <<
"[" << fNrProcessedTs <<
"-" << reader.
GetWordCounter() <<
"/" << reader.
GetSize() / 4 <<
" "
60 LOG(info) << fName <<
"::initParSet - for container " << parset->ClassName();
64 LOG(error) << fName <<
"::initParSet - for container " << parset->ClassName() <<
" failed, since" << fName
65 <<
"::initParSet() does not know the derived ParSet and what to do with it!";
72 LOG(debug) << fName <<
"::initParSetAsic - ";
76 LOG(info) << fName <<
"::initParSetRichMcbm2018 - Successfully initialized RICH unpacking parameters";
ClassImp(CbmConverterManager)
void Print(Option_t *option="") const
CbmRichUnpackAlgoBase(std::string name)
Create the Cbm Trd Unpack AlgoBase object.
bool checkMaskedDiRICH(Int_t subSubEventId)
Unpack a given microslice. To be implemented in the derived unpacker algos.
CbmMcbm2018RichPar fUnpackPar
Parameters for the unpacking.
double calculateTime(uint32_t epoch, uint32_t coarse, uint32_t fine)
std::shared_ptr< CbmRichUnpackMonitor > fMonitor
Potential (online) monitor for the unpacking process.
virtual std::vector< std::pair< std::string, std::shared_ptr< FairParGenericSet > > > * GetParContainerRequest(std::string geoTag, std::uint32_t runId)
Get the requested parameter containers. To be defined in the derived classes! Return the required par...
std::string getLogHeader(CbmRichUnpackAlgoMicrosliceReader &reader)
Bool_t initParSet(FairParGenericSet *parset)
Handles the distribution of the hidden derived classes to their explicit functions.
Bool_t init()
Intialisation at begin of run. Special inits of the derived algos.
std::vector< Int_t > * fMaskedDiRICHes
virtual ~CbmRichUnpackAlgoBase()
Destroy the Cbm Trd Unpack Task object.
std::string GetWordAsHexString(uint32_t word)