1 #ifndef ALIANALYSISPARTICLE_H
2 #define ALIANALYSISPARTICLE_H
5 #include "TLorentzVector.h"
9 class AliAnalysisParticle :
15 AliAnalysisParticle(); // default constructor
16 AliAnalysisParticle(const AliAnalysisParticle &source); // copy constructor
17 AliAnalysisParticle &operator=(const AliAnalysisParticle &source); // operator=
18 virtual ~AliAnalysisParticle(); // default destructor
20 Int_t GetLabel() const {return fLabel;} // get label
21 Float_t GetPt() const {return fPt;}; // get pt
22 Float_t GetEta() const {return fEta;}; // get eta
23 Float_t GetPhi() const {return fPhi;}; // get phi
24 Int_t GetPdgCode() const {return fPdgCode;}; // get PDG code
26 Double_t GetY() const; // get Y
27 Float_t GetSign() const; // get sign
28 Int_t GetPID() const; // get MC PID
29 Double_t GetMass() const; // get mass
31 void Reset(); // reset
32 void Update(TParticle *particle, Int_t label); // update
36 Int_t fLabel; // label
40 Int_t fPdgCode; // PDG code
43 static TLorentzVector fgLorentzVector;
45 ClassDef(AliAnalysisParticle, 1);
48 #endif /* ALIANALYSISPARTICLE_H */