ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/MCEvent.hh
(Generate patch)

Comparing UserCode/HbbAnalysis/interface/MCEvent.hh (file contents):
Revision 1.1 by amagnan, Wed Apr 18 12:56:46 2012 UTC vs.
Revision 1.2 by amagnan, Wed Jun 6 13:42:37 2012 UTC

# Line 5 | Line 5
5  
6   #include "UserCode/HbbAnalysis/interface/GenParticle.hh"
7   #include "UserCode/HbbAnalysis/interface/GenJet.hh"
8 + #include "UserCode/HbbAnalysis/interface/Jet.hh"
9  
10   namespace HbbAnalysis {
11    
# Line 20 | Line 21 | namespace HbbAnalysis {
21        lheParticles_(),
22        genjets_(),
23        partonjets_(),
24 +      pfjets_(),
25        event_(0),
26        run_(0)
27       {};
# Line 45 | Line 47 | namespace HbbAnalysis {
47        return partonjets_;
48      };
49  
50 +    inline std::vector<Jet> & pfjets()
51 +    {
52 +      return pfjets_;
53 +    };
54 +
55      inline std::vector<GenParticle> & lheParticles()
56      {
57        return lheParticles_;
# Line 83 | Line 90 | namespace HbbAnalysis {
90        partonjets_=aVec;
91      };
92  
93 +    inline void pfjets(const std::vector<Jet> & aVec)
94 +    {
95 +      pfjets_=aVec;
96 +    };
97 +
98      inline void lheParticles(const std::vector<GenParticle> & aVec)
99      {
100        lheParticles_=aVec;
# Line 106 | Line 118 | namespace HbbAnalysis {
118        lheParticles_.clear();
119        genjets_.clear();
120        partonjets_.clear();
121 +      pfjets_.clear();
122        p4total_.Clear();
123      };
124  
# Line 116 | Line 129 | namespace HbbAnalysis {
129      std::vector<GenParticle> lheParticles_;
130      std::vector<GenJet> genjets_;
131      std::vector<GenJet> partonjets_;
132 +    std::vector<Jet> pfjets_;
133      unsigned int event_;
134      unsigned int run_;
135  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines