28 fMomentum(0),fPdg(-1), fTag(0), fLabel(-1),
29 fCaloLabel(), fTrackLabel(), fDetectorTag(-1),
30 fBadDist(0), fNLM(0), fM02(0), fM20(0),
31 fTime(0),fNCells(0),fSuperModule(0),
32 fDecayTag(0),fIsolated(0), fLeadingParticle(0),
33 fIsoConePtLead(), fIsoConeSumPt(),
34 fDisp(0), fTof(0), fCharged(0),
35 fTagged(0), fFidArea(0), fInputFileIndex(0),fBtag(0)
44 fIsoConePtLead[0] = 0.;
45 fIsoConeSumPt [0] = 0.;
46 fIsoConePtLead[1] = 0.;
47 fIsoConeSumPt [1] = 0.;
63 fMomentum(0),fPdg(-1), fTag(0), fLabel(-1),
64 fCaloLabel(), fTrackLabel(), fDetectorTag(-1),
65 fBadDist(0), fNLM(0), fM02(0), fM20(0),
66 fTime(0),fNCells(0),fSuperModule(0),
67 fDecayTag(0),fIsolated(0), fLeadingParticle(0),
68 fIsoConePtLead(), fIsoConeSumPt(),
69 fDisp(0), fTof(0), fCharged(0),
70 fTagged(0), fFidArea(0), fInputFileIndex(0),fBtag(0)
72 fMomentum =
new TLorentzVector(px, py, pz, e);
223 case 0:
return kTRUE ;
226 if (
fPdg == pdgwanted)
return kTRUE;
229 case 2:
return fDisp ;
230 case 3:
return fTof ;
236 default:
return kFALSE ;
246 printf(
"Particle 4-vector:\n");
247 printf(
" E = %13.3f",
E() );
248 printf(
" Px = %13.3f",
Px());
249 printf(
" Py = %13.3f",
Py());
250 printf(
" Pz = %13.3f\n",
Pz());
251 printf(
"Id PDG : %d\n",
fPdg);
252 printf(
"MC Tag : %d\n",
fTag);
253 printf(
"Dist. to bad channel : %d\n",
fBadDist);
261 printf(
"Calo param: \n");
262 printf(
" M02: %2.2f\n",
fM02);
263 printf(
" M20: %2.2f\n",
fM20);
264 printf(
" NCell: %d\n",
fNCells);
265 printf(
" Time: %2.3f\n",
fTime);
275 printf(
"Isolation cone: \n");
279 printf(
"PID bits :\n");
280 printf(
" TOF : %d",
fTof);
282 printf(
" Dispersion : %d\n",
fDisp);
Bool_t fCharged
Charged bit.
virtual Double_t Pz() const
UInt_t fDetectorTag
Detector where particle was measured, integer.
Int_t fPdg
type of identified particle, same code as PDG, but this is not a MonteCarlo particle ...
Int_t fInputFileIndex
0, standard input, 1 first input added. Only possible one for now, not really used.
Int_t fBadDist
Distance to calorimeter bad cell in cell units.
Bool_t IsPIDOK(Int_t ipid, Int_t pdgwanted) const
virtual Double_t E() const
Float_t fIsoConePtLead[2]
Pt of track [0] and calo cluster [1] with highest energy in the isolation cone.
Int_t fFidArea
Type of fiducial area hit by this photon.
virtual void Print(Option_t *) const
Container for input particle information on CaloTrackCorr package.
Bool_t fDisp
Dispersion bit.
Int_t fCaloLabel[2]
CaloCluster index, 1 for photons, 2 for pi0.
virtual Double_t Py() const
Bool_t fLeadingParticle
Particle is leading or not.
AliCaloTrackParticle & operator=(const AliCaloTrackParticle &photon)
Int_t fNCells
Store the number of cells in calorimeter cluster.
Int_t fBtag
tag particle from B.
virtual void Clear(const Option_t *)
Int_t fDecayTag
Tag the photon as decay from, pi0, eta, pi0 side band, eta side band.
Float_t fM20
Store the second axis of the calorimeter shower shape.
Int_t fTrackLabel[4]
Track lable, 1 for pions, 2 for conversion photons.
Float_t fM02
Store the main axis of the calorimeter shower shape.
virtual Double_t Px() const
UInt_t fNLM
Store the number of local maxima in calorimeter cluster.
Bool_t fTagged
If photon tagged (pi0 decay), not used anymore, replace by fDecayTag.
Bool_t fIsolated
Particle is isolated or not.
Int_t fTag
tag of particle (decay, fragment, prompt photon), MC
TLorentzVector * fMomentum
Photon 4-momentum vector.
Float_t fIsoConeSumPt[2]
Sum of Pt of tracks [0] and calo clusters [1] in the isolation cone.
Int_t fSuperModule
Store the super-module number of calorimeter cluster.
virtual ~AliCaloTrackParticle()
Float_t fTime
Store the time of calorimeter cluster or track, nano seconds.