ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/NtupleWriter/Objects/TopJet.h
Revision: 1.2
Committed: Wed May 23 09:10:59 2012 UTC (12 years, 11 months ago) by peiffer
Content type: text/plain
Branch: MAIN
Changes since 1.1: +1 -1 lines
Log Message:
getters const

File Contents

# User Rev Content
1 peiffer 1.1 #ifndef TopJet_H
2     #define TopJet_H
3    
4     #include "Jet.h"
5    
6     class TopJet : public Jet{
7     public:
8     TopJet(){
9     m_subjets.clear();
10     };
11     ~TopJet(){
12     };
13    
14 peiffer 1.2 std::vector<Particle> subjets() const{return m_subjets;}
15 peiffer 1.1
16     void add_subjet(Particle p){m_subjets.push_back(p);}
17    
18     private:
19     std::vector<Particle> m_subjets;
20    
21     };
22    
23     #endif