1 #ifndef __StPidStatus_h__
2 #define __StPidStatus_h__
3 #include "StProbPidTraits.h"
4 #include "StBTofPidTraits.h"
5 #include "StETofPidTraits.h"
6 #include "StMtdPidTraits.h"
7 #include "StDedxPidTraits.h"
8 #include "StMuDSTMaker/COMMON/StMuTrack.h"
9 #include "StMuDSTMaker/COMMON/StMuBTofPidTraits.h"
10 #include "StMuDSTMaker/COMMON/StMuETofPidTraits.h"
11 #include "StMuDSTMaker/COMMON/StMuMtdPidTraits.h"
12 #ifdef __TFG__VERSION__
13 #include "StPicoEvent/StPicoTrack.h"
14 #include "StPicoEvent/StPicoBTofPidTraits.h"
15 #include "StPicoEvent/StPicoETofPidTraits.h"
16 #include "StPicoEvent/StPicoMtdPidTraits.h"
24 Double_t I()
const {
return (fPiD) ? fPiD->mean() : 0;}
25 Double_t D()
const {
return (fPiD) ? fPiD->errorOnMean() : 0;}
26 Double_t TrackLength()
const {
return (fPiD) ? fPiD->length() : 0;}
27 Double_t log2dX()
const {
return (fPiD) ? fPiD->log2dX() : 0;}
28 Int_t N()
const {
return (fPiD) ? fPiD->numberOfPoints() : 0;}
29 void Clear() {memset(mBeg,0,mEnd-mBeg+1);}
30 void Print(Option_t *option =
"")
const;
32 Double_t Pred[KPidParticles];
33 Double_t dev[KPidParticles];
34 Double_t devS[KPidParticles];
43 Float_t beta() {
return fPiD ? fPiD->beta() : -999;}
44 Double_t Sigma(Int_t l) {
50 return fPiD->sigmaProton();
52 return fPiD->sigmaKaon();
54 return fPiD->sigmaPion();
68 Float_t beta() {
return fPiD ? fPiD->beta() : -999;}
76 Float_t beta() {
return fPiD ? fPiD->beta() : -999;}
82 kI70, kFit, kI70U, kFitU, kdNdx, kdNdxU, kBTof, kETof, kMtd, kTotal
86 #ifdef __TFG__VERSION__
101 void Clear() {memset(mBeg,0,
mEnd-mBeg+1);}
102 Int_t Status() {
return PiDStatus;}
103 StdEdxStatus *dEdxStatus(StDedxMethod k) {
return fStatus[k];}
107 #ifdef __TFG__VERSION__
115 void Print(Option_t *option=
"")
const;
131 Double_t devTof[KPidParticles];
136 Double_t dNdx[KPidParticles];
137 Double_t PredBMN[2], Pred70BMN[2];
138 Double_t bghyp[KPidParticles];
139 Double_t
bgs[KPidParticles];
Holds information about MTD-matched track.
Hold information about eTOF-matched tracks.
float sigmaElectron() const
PID functions.
Holds information about track parameters.
Int_t PiDkeyU3
only one with devZs<3,
Int_t lBest
-"- and devZs > 5 for all others
Double_t bgs[KPidParticles]
log10(bg)