5#ifndef CBMLITGLOBALELECTRONID_H_
6#define CBMLITGLOBALELECTRONID_H_
55 Bool_t
IsTrdElectron(Int_t globalTrackindex, Double_t momentum);
64 Bool_t
IsTofElectron(Int_t globalTrackIndex, Double_t momentum, Double_t eventTime = 1000.);
84 Double_t
GetRichAnn(Int_t globalTrackIndex, Double_t momentum);
92 Double_t
GetTrdAnn(Int_t globalTrackindex, Double_t momentum);
99 Double_t
GetTofM2(Int_t globalTrackIndex, Double_t momentum, Double_t eventTime = 1000.);
120 void SetRichCuts(Double_t meanA, Double_t rmsA, Double_t meanB, Double_t rmsB, Double_t rmsCoeff, Double_t rtDistCut)
Bool_t IsTrdElectron(Int_t globalTrackindex, Double_t momentum)
Identify electron in RICH detector.
void SetRichUseAnn(Bool_t par)
Set to true if you want to use ANN method for the RICH detector.
Double_t GetTrdAnn(Int_t globalTrackindex, Double_t momentum)
Return ANN value for electron Identification in the TRD detector.
Double_t GetRichAnnCut()
Return RICH ANN cut.
Double_t GetTofM2(Int_t globalTrackIndex, Double_t momentum, Double_t eventTime=1000.)
Return TOF m2 value.
Double_t GetRichAnn(Int_t globalTrackIndex, Double_t momentum)
Identify electron in RICH detector.
Bool_t IsTofElectron(Int_t globalTrackIndex, Double_t momentum, Double_t eventTime=1000.)
Identify electron in RICH detector.
Bool_t IsRichElectron(Int_t globalTrackIndex, Double_t momentum)
Identify electron in RICH detector.
TClonesArray * fTrdTracks
Double_t GetTrdAnnCut()
Return TRD ANN cut.
ClassDef(CbmLitGlobalElectronId, 1)
CbmLitGlobalElectronId()
Constructor.
TClonesArray * fGlobalTracks
void SetRichAnnCut(Double_t par)
Set cut on RICH ANN output value.
void Init()
Initialize TClonesArrays.
CbmLitGlobalElectronId & operator=(const CbmLitGlobalElectronId &)
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.
static CbmLitGlobalElectronId & GetInstance()
CbmLitGlobalElectronId(const CbmLitGlobalElectronId &)
virtual ~CbmLitGlobalElectronId()
Destructor.
TClonesArray * fRichRings
void SetTrdAnnCut(Double_t par)
Set cut on TRD ANN output value.