5#ifndef MCBM_RICH_TOTSHIFTER
6#define MCBM_RICH_TOTSHIFTER
39 virtual InitStatus
Init();
44 virtual void Exec(Option_t* option);
76 std::map<Int_t, std::map<Int_t, TH1*>>
fhTotMap;
85 TH1*
GetTotH1(Int_t tdc, Int_t channel);
90 return (0x7 << 12) | ((cnt / 18) << 8) | (((cnt % 18) / 2) << 4) | ((cnt % 2) << 0);
void ShowTdcId(Bool_t b=true)
Flag Funtion to control printout for ParameterFile.
TH1 * GetTotH1(Int_t tdc, Int_t channel)
Handler for TH1 Histograms.
void SetOutputDir(const string &dir)
Set output directory where you want to write results (figures and json).
CbmRichMCbmToTShifter & operator=(const CbmRichMCbmToTShifter &)
Assignment operator.
std::string printEmpty()
Fill output lines with 0's if DiRICh Address is not in use in input file.
CbmDigiManager * fDigiMan
int getDirichAddress(const int dirich)
Extract the Tdc Address from the encoded DiRICH Address.
int getDirichChannel(const int dirich)
Extract the channel Address from the encoded DiRICH Address.
CbmRichMCbmToTShifter(const CbmRichMCbmToTShifter &)
Copy constructor.
void GeneratePDF(Bool_t b=true)
Flag Funtion to control PDF output.
virtual void Exec(Option_t *option)
Inherited from FairTask.
virtual ~CbmRichMCbmToTShifter()
Standard destructor.
Double_t GetMaxH1(TH1 *h)
Find the Maximum in a TH1 Histogram.
virtual InitStatus Init()
Inherited from FairTask.
std::map< Int_t, std::map< Int_t, TH1 * > > fhTotMap
uint16_t calcDirichAddr(uint32_t cnt)
virtual void Finish()
Inherited from FairTask.
void InitHistograms()
Initialize histograms.
CbmRichMCbmToTShifter()
Standard constructor.
Data class with information on a STS local track.