8 #include "AliExternalTrackParam.h"
9 #include "AliVCluster.h"
10 #include "AliAODTrack.h"
15 fPt(0), fEta(0), fPhi(0), fM(0.13957), fQ(0), fLabel(-1), fTrackType(0),
16 fEtaEmc(0), fPhiEmc(0), fPtEmc(0), fEmcal(0), fFlag(0), fGeneratorIndex(-1), fClusId(-1), fOrig(0)
23 Double_t etaemc, Double_t phiemc, Double_t ptemc, Bool_t ise, Double_t
mass) :
25 fPt(pt), fEta(eta), fPhi(phi), fM(mass), fQ(q), fLabel(lab), fTrackType(type),
26 fEtaEmc(etaemc), fPhiEmc(phiemc), fPtEmc(ptemc), fEmcal(ise), fFlag(0), fGeneratorIndex(-1), fClusId(-1), fOrig(0)
34 fPt(pc.fPt), fEta(pc.fEta), fPhi(pc.fPhi), fM(pc.fM),
35 fQ(pc.fQ), fLabel(pc.fLabel), fTrackType(pc.fTrackType),
36 fEtaEmc(pc.fEtaEmc), fPhiEmc(pc.fPhiEmc), fPtEmc(pc.fPtEmc), fEmcal(pc.fEmcal), fFlag(pc.fFlag), fGeneratorIndex(pc.fGeneratorIndex),
37 fClusId(pc.fClusId), fOrig(pc.fOrig)
48 AliVTrack::operator=(pc);
100 Double_t veta = t->GetTrackEtaOnEMCal();
101 Double_t vphi = t->GetTrackPhiOnEMCal();
103 Float_t pos[3] = {0};
106 Double_t ceta = cpos.Eta();
107 Double_t cphi = cpos.Phi();
109 phidiff=TVector2::Phi_mpi_pi(vphi-cphi);
118 if (t->TestBit(BIT(22)) && !t->TestBit(BIT(23)))
120 else if (!t->TestBit(BIT(22)) && t->TestBit(BIT(23)))
122 else if (t->TestBit(BIT(22)) && t->TestBit(BIT(23)))
136 if (aodTrack->TestFilterBit(filterBit1)) {
139 else if (aodTrack->TestFilterBit(filterBit2)) {
140 if ((aodTrack->GetStatus()&AliVTrack::kITSrefit)!=0) {
AliPicoTrack & operator=(const AliPicoTrack &pc)
AliVTrack * fOrig
cluster id of matched cluster; -1 if not set
Short_t fClusId
Index of generator in cocktail.
Int_t Compare(const TObject *obj) const
Byte_t GetTrackType() const
static void GetEtaPhiDiff(const AliVTrack *t, const AliVCluster *v, Double_t &phidiff, Double_t &etadiff)
Short_t fGeneratorIndex
Flag for indication of primary etc (MC)