AliPhysics  vAN-20150822 (d56cf94)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliReducedJetConstituent.h
Go to the documentation of this file.
1 
9 #ifndef ALIREDUCEDJETCONSTITUENT_H
10 #define ALIREDUCEDJETCONSTITUENT_H
11 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
12  * See cxx source for full Copyright notice */
13 
14 #include <TObject.h>
15 
16 class TLorentzVector;
17 class TParticlePDG;
18 
33 namespace HighPtTracks {
34 
44 class AliReducedJetConstituent : public TObject {
45 public:
47  AliReducedJetConstituent(double px, double py, double pz, double e, int pdg);
49 
58  void Set(double px, double py, double pz, double e){
59  fPx = px;
60  fPy = py;
61  fPz = pz;
62  fE = e;
63  }
64 
70  void SetPdgCode(int pdg){ fPdgCode = pdg; }
71 
72  void FillLorentzVector(TLorentzVector &target) const;
73 
79  int GetPdgCode() const { return fPdgCode; }
80 
81  TParticlePDG *GetPDGParticle() const;
82 
83 private:
84  double fPx;
85  double fPy;
86  double fPz;
87  double fE;
88  int fPdgCode;
89 
91  ClassDef(AliReducedJetConstituent, 1);
93 };
94 
95 } /* namespace HighPtTracks */
96 
97 #endif /* PWGJE_EMCALJETTASKS_TRACKS_ALIREDUCEDJETCONSTITUENT_H_ */
Minimal stucture for jet constituents associated to a jet by the jet clustering algorithm.
Int_t pdg
void Set(double px, double py, double pz, double e)
void FillLorentzVector(TLorentzVector &target) const
double fPz
z-compoent of the constituent 3-momentum vector
double fE
Energy of the constituent.
int fPdgCode
PDG code of the constituent.
double fPy
y-compoent of the constituent 3-momentum vector
double fPx
x-compoent of the constituent 3-momentum vector