AliPhysics  1811c8f (1811c8f)
AliReducedJetInfo.h
Go to the documentation of this file.
1 
9 #ifndef ALIREDUCEDJETINFO_H
10 #define ALIREDUCEDJETINFO_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 TObjArray;
18 
33 namespace HighPtTracks {
34 
35 class AliReducedJetParticle;
36 class AliReducedJetConstituent;
37 
49 class AliReducedJetInfo : public TObject {
50 public:
52  AliReducedJetInfo(double px, double py, double pz, double e);
55  virtual ~AliReducedJetInfo();
56 
65  void Set(double px, double py, double pz, double e){
66  fPx = px;
67  fPy = py;
68  fPz = pz;
69  fE = e;
70  }
73 
82  void GetPxPyPxE(double &px, double &py, double &pz, double &e){
83  px = fPx;
84  py = fPy;
85  pz = fPz;
86  e = fE;
87  }
88  void FillLorentzVector(TLorentzVector &vec ) const;
89  int GetNumberOfMatchedParticles() const;
92  AliReducedJetParticle *GetMatchedParticle(int ipart) const;
93 
94 private:
95  double fPx;
96  double fPy;
97  double fPz;
98  double fE;
99 
102 
104  ClassDef(AliReducedJetInfo, 1);
106 };
107 
108 } /* namespace HighPtTracks */
109 
110 #endif /* ALIREDUCEDJETINFO_H */
Minimal stucture for jet constituents associated to a jet by the jet clustering algorithm.
void Set(double px, double py, double pz, double e)
double fPy
y-component of the 4-momentum vector
void AddParticleInCone(AliReducedJetParticle *part)
double fE
reconstructed jet energy
TString part
use mixed event to constrain combinatorial background
Definition: InvMassFit.C:52
void AddConstituent(AliReducedJetConstituent *con)
double fPx
x-component of the 4-momentum vector
Namespace for classes creating trees of events with jets.
AliReducedJetParticle * GetMatchedParticle(int ipart) const
TObjArray * GetListOfConstituents() const
Reduced information about a reconstructed jet.
TObjArray * fConstituents
Constituents found by the jet clustering algorithm.
void GetPxPyPxE(double &px, double &py, double &pz, double &e)
Reduced information set of particles associated with a jet.
void FillLorentzVector(TLorentzVector &vec) const
TObjArray * fParticlesInCone
Particles associated to this jet via distance to the main jet axis.
double fPz
z-component of the 4-momentum vector
TObjArray * GetListOfMatchedParticles() const
AliReducedJetInfo & operator=(const AliReducedJetInfo &ref)