ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/NtupleWriter/Objects/Jet.h
(Generate patch)

Comparing UserCode/UHHAnalysis/NtupleWriter/Objects/Jet.h (file contents):
Revision 1.7 by peiffer, Thu Jun 6 07:38:30 2013 UTC vs.
Revision 1.8 by rkogler, Wed Jun 19 13:28:24 2013 UTC

# Line 38 | Line 38 | class Jet : public Particle{
38       m_JEC_factor_raw=0;
39       m_genjet_index=-1;
40       m_genparticles_indices.clear();
41 <     m_pfconstituents.clear();
41 >     m_pfconstituents_indices.clear();
42       m_genjet=NULL;
43    };
44  
# Line 60 | Line 60 | class Jet : public Particle{
60      }
61    };
62  
63 <  std::vector<Particle> pfconstituents() const{return m_pfconstituents;}
63 >  std::vector<unsigned int> pfconstituents_indices() const{return m_pfconstituents_indices;}
64  
65 <  void add_pfconstituents(Particle p){m_pfconstituents.push_back(p);}
65 >  void add_pfconstituents_index(int ind){m_pfconstituents_indices.push_back(ind);}
66  
67    int nTracks() const{return m_nTracks;}
68    float jetArea() const{return m_jetArea;}
# Line 171 | Line 171 | class Jet : public Particle{
171    float m_JEC_uncertainty;
172    float m_JEC_factor_raw;
173    int m_genjet_index;
174 <  Particle* m_genjet;  //!
174 >  Particle* m_genjet;
175  
176    std::vector<unsigned int> m_genparticles_indices;
177  
178 <  std::vector<Particle> m_pfconstituents;
178 >  std::vector<unsigned int> m_pfconstituents_indices;
179 >
180  
181   };
182  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines