Go to the documentation of this file.
7 #ifndef CBMLITGLOBALELECTRONID_H_
8 #define CBMLITGLOBALELECTRONID_H_
56 Bool_t
IsTrdElectron(Int_t globalTrackindex, Double_t momentum);
64 Bool_t
IsTofElectron(Int_t globalTrackIndex, Double_t momentum);
84 Double_t
GetRichAnn(Int_t globalTrackIndex, Double_t momentum);
92 Double_t
GetTrdAnn(Int_t globalTrackindex, Double_t momentum);
117 Double_t rtDistCut) {
TClonesArray * fTrdTracks
TClonesArray * fGlobalTracks
void Init()
Initialize TClonesArrays.
Double_t GetRichAnn(Int_t globalTrackIndex, Double_t momentum)
Identify electron in RICH detector.
ClassDef(CbmLitGlobalElectronId, 1)
Bool_t IsTrdElectron(Int_t globalTrackindex, Double_t momentum)
Identify electron in RICH detector.
void SetRichAnnCut(Double_t par)
Set cut on RICH ANN output value.
Double_t GetTrdAnn(Int_t globalTrackindex, Double_t momentum)
Return ANN value for electron Identification in the TRD detector.
CbmLitGlobalElectronId & operator=(const CbmLitGlobalElectronId &)
void SetRichUseAnn(Bool_t par)
Set to true if you want to use ANN method for the RICH detector.
Bool_t IsRichElectron(Int_t globalTrackIndex, Double_t momentum)
Identify electron in RICH detector.
void SetTrdAnnCut(Double_t par)
Set cut on TRD ANN output value.
CbmLitGlobalElectronId()
Constructor.
Bool_t IsTofElectron(Int_t globalTrackIndex, Double_t momentum)
Identify electron in RICH detector.
virtual ~CbmLitGlobalElectronId()
Destructor.
void SetRichCuts(Double_t meanA, Double_t rmsA, Double_t meanB, Double_t rmsB, Double_t rmsCoeff, Double_t rtDistCut)
Set RICH electron ID cuts when ANN is not used.
Double_t GetRichAnnCut()
Return RICH ANN cut.
TClonesArray * fRichRings
static CbmLitGlobalElectronId & GetInstance()
CbmLitGlobalElectronId(const CbmLitGlobalElectronId &)
Double_t GetTrdAnnCut()
Return TRD ANN cut.