Go to the documentation of this file. 1 #ifndef MCBM_RICH_TOTSHIFTER
2 #define MCBM_RICH_TOTSHIFTER
34 virtual InitStatus Init();
39 virtual void Exec(Option_t* option);
44 virtual void Finish();
61 void ShowTdcId(Bool_t b =
true) { fShowTdcId = b; };
71 std::map<Int_t, std::map<Int_t, TH1*>>
fhTotMap;
80 TH1* GetTotH1(Int_t tdc, Int_t channel);
84 return (0x7 << 12) | ((cnt / 18) << 8) | (((cnt % 18) / 2) << 4)
91 std::string printEmpty();
103 return (dirich >> 16) & 0xffff;
114 Double_t GetMaxH1(TH1*
h);
int getDirichChannel(const int dirich)
Extract the channel Address from the encoded DiRICH Address.
Generates beam ions for transport simulation.
CbmRichMCbmToTShifter(const CbmRichMCbmToTShifter &)
Copy constructor.
void SetOutputDir(const string &dir)
Set output directory where you want to write results (figures and json).
CbmRichMCbmToTShifter & operator=(const CbmRichMCbmToTShifter &)
Assignment operator.
uint16_t calcDirichAddr(uint32_t cnt)
std::map< Int_t, std::map< Int_t, TH1 * > > fhTotMap
void ShowTdcId(Bool_t b=true)
Flag Funtion to control printout for ParameterFile.
int getDirichAddress(const int dirich)
Extract the Tdc Address from the encoded DiRICH Address.
CbmDigiManager * fDigiMan
void GeneratePDF(Bool_t b=true)
Flag Funtion to control PDF output.
void InitHistograms()
Initialize histograms.
virtual ~CbmRichMCbmToTShifter()
Standard destructor.