ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Morgan/interface/TRootJet.h
(Generate patch)

Comparing UserCode/Morgan/interface/TRootJet.h (file contents):
Revision 1.5 by lethuill, Mon Dec 15 19:08:52 2008 UTC vs.
Revision 1.6 by lethuill, Wed Dec 17 16:23:49 2008 UTC

# Line 46 | Line 46 | public:
46                  ,cCorrection_(-9999.)
47                  ,udsCorrection_(-9999.)
48                  ,gCorrection_(-9999.)
49                ,genParton_()
49                  ,momentumMCParton_()
50                  ,vertexMCParton_()
51                  ,pdgIdMCParton_(-9999)
# Line 86 | Line 85 | public:
85                  ,cCorrection_(jet.cCorrection_)
86                  ,udsCorrection_(jet.udsCorrection_)
87                  ,gCorrection_(jet.gCorrection_)
89                ,genParton_(jet.genParton_)
88                  ,momentumMCParton_(jet.momentumMCParton_)
89                  ,vertexMCParton_(jet.vertexMCParton_)
90                  ,pdgIdMCParton_(-jet.pdgIdMCParton_)
# Line 126 | Line 124 | public:
124                  ,cCorrection_(-9999.)
125                  ,udsCorrection_(-9999.)
126                  ,gCorrection_(-9999.)
129                ,genParton_()
127                  ,momentumMCParton_()
128                  ,vertexMCParton_()
129                  ,pdgIdMCParton_(-9999)
# Line 166 | Line 163 | public:
163                  ,cCorrection_(-9999.)
164                  ,udsCorrection_(-9999.)
165                  ,gCorrection_(-9999.)
169                ,genParton_()
166                  ,momentumMCParton_()
167                  ,vertexMCParton_()
168                  ,pdgIdMCParton_(-9999)
# Line 206 | Line 202 | public:
202                  ,cCorrection_(-9999.)
203                  ,udsCorrection_(-9999.)
204                  ,gCorrection_(-9999.)
209                ,genParton_()
205                  ,momentumMCParton_()
206                  ,vertexMCParton_()
207                  ,pdgIdMCParton_(-9999)
# Line 246 | Line 241 | public:
241                  ,cCorrection_(-9999.)
242                  ,udsCorrection_(-9999.)
243                  ,gCorrection_(-9999.)
249                ,genParton_()
244                  ,momentumMCParton_()
245                  ,vertexMCParton_()
246                  ,pdgIdMCParton_(-9999)
# Line 286 | Line 280 | public:
280                  ,cCorrection_(-9999.)
281                  ,udsCorrection_(-9999.)
282                  ,gCorrection_(-9999.)
289                ,genParton_()
283                  ,momentumMCParton_()
284                  ,vertexMCParton_()
285                  ,pdgIdMCParton_(-9999)
# Line 327 | Line 320 | public:
320          Float_t cCorrection() const { return cCorrection_; }
321          Float_t udsCorrection() const { return udsCorrection_; }
322          Float_t gCorrection() const { return gCorrection_; }
323 <        TObject* genParton() const { return genParton_.GetObject(); }
323 >        //TObject* genParton() const { return genParton_.GetObject(); }
324 >        //Int_t mcPartonIndex() const { return mcPartonIndex_; }
325          TLorentzVector momentumMCParton() const { return momentumMCParton_; }
326          TVector3 vertexMCParton() const { return vertexMCParton_; }
327          Int_t pdgIdMCParton() const { return pdgIdMCParton_; }
# Line 335 | Line 329 | public:
329          TVector3 vertexMCJet() const { return vertexMCJet_; }
330          Int_t pdgIdMCJet() const { return pdgIdMCJet_; }
331  
332 +        virtual TString typeName() const { return "TRootJet"; }
333 +
334  
335          void setJetType(Int_t jetType) { jetType_ = jetType; }
336          void setNConstituents(Int_t nConstituents) { nConstituents_ = nConstituents; }
# Line 365 | Line 361 | public:
361          void setCCorrection(Float_t cCorrection) { cCorrection_ = cCorrection; }
362          void setUDSCorrection(Float_t udsCorrection) { udsCorrection_ = udsCorrection; }
363          void setGCorrection(Float_t gCorrection) { gCorrection_ = gCorrection; }
364 <        void setGenParton(TObject* genParton) { genParton_ = genParton; }
364 >        //void setGenParton(TObject* genParton) { genParton_ = genParton; }
365 >        //void setMCPartonIndex(Int_t mcPartonIndex) { mcPartonIndex_ = mcPartonIndex; }
366          void setMomentumMCParton(TLorentzVector momentumMCParton) { momentumMCParton_ = momentumMCParton; }
367          void setVertexMCParton(TVector3 vertexMCParton) { vertexMCParton_ = vertexMCParton; }
368          void setPdgIdMCParton(Int_t pdgIdMCParton) { pdgIdMCParton_ = pdgIdMCParton; }
# Line 419 | Line 416 | private:
416          Float_t gCorrection_;               // correction factor for gluon hypothesis
417  
418  
419 <        // Matched genParticle
423 <        TRef genParton_;
419 >        // Matched parton and genJet
420          TLorentzVector momentumMCParton_;
421          TVector3 vertexMCParton_;
422          Int_t pdgIdMCParton_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines