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

Comparing UserCode/UHHAnalysis/NtupleWriter/Objects/TopJet.h (file contents):
Revision 1.5 by eusai, Fri Apr 5 13:20:06 2013 UTC vs.
Revision 1.6 by rkogler, Wed Jun 19 13:28:24 2013 UTC

# Line 15 | Line 15 | class TopJet : public Jet{
15    TopJet(){
16      m_subjets.clear();
17  
18 +    // initialize substructure variables to -1
19 +    m_qjets_volatility = -1.;
20 +    m_tau1 = -1.;
21 +    m_tau2 = -1.;
22 +    m_tau3 = -1.;
23 +
24      //clear btag variables
25      m_subCSV.clear();
26      m_subFlavour.clear();
# Line 66 | Line 72 | class TopJet : public Jet{
72    ~TopJet(){
73    };
74  
75 +  // substructure getters
76 +  float qjets_volatility(){return m_qjets_volatility;}
77 +  float tau1(){return m_tau1;}
78 +  float tau2(){return m_tau2;}
79 +  float tau3(){return m_tau3;}
80 +
81    //btag variables getters
82    std::vector<Particle> subjets() const{return m_subjets;}
83    std::vector<float> subCSV() const{return m_subCSV;}
# Line 116 | Line 128 | class TopJet : public Jet{
128    std::vector<float> subVertexEnergyRatioJTC() const{return m_subVertexEnergyRatioJTC;}
129    std::vector<float> subTrackSip3dSigAboveCharmJTC() const{return m_subTrackSip3dSigAboveCharmJTC;}
130  
131 +  // substructure setters
132 +  void set_qjets_volatility(float x){m_qjets_volatility = x;}
133 +  void set_tau1(float x){m_tau1 = x;}
134 +  void set_tau2(float x){m_tau2 = x;}
135 +  void set_tau3(float x){m_tau3 = x;}
136  
137    //btag variables setters
138    void add_subjet(Particle p){m_subjets.push_back(p);}
# Line 169 | Line 186 | class TopJet : public Jet{
186   private:
187    std::vector<Particle> m_subjets;
188  
189 +  // substructure information
190 +  float m_qjets_volatility;
191 +  float m_tau1;
192 +  float m_tau2;
193 +  float m_tau3;
194 +
195    //btag variables
196    std::vector<float> m_subCSV;
197    std::vector<int> m_subFlavour;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines