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

Comparing UserCode/Morgan/interface/TRootElectron.h (file contents):
Revision 1.13 by lethuill, Fri Jul 3 13:40:03 2009 UTC vs.
Revision 1.14 by lethuill, Fri Sep 18 14:14:20 2009 UTC

# Line 30 | Line 30 | class TRootElectron : public TRootPartic
30        ,energySeedClusterOverPout_(-9999.)
31        ,energyScaleCorrected_(false)
32        ,momentumCorrected_(false)
33 +                ,dr03TkSumPt_(-9999.)
34 +                ,dr03EcalRecHitSumEt_(-9999.)
35 +                ,dr03HcalDepth1TowerSumEt_(-9999.)
36 +                ,dr03HcalDepth2TowerSumEt_(-9999.)
37        ,pixelLayersWithMeasurement_(-1)
38        ,stripLayersWithMeasurement_(-1)
39        ,d0_(-9999.)
# Line 91 | Line 95 | class TRootElectron : public TRootPartic
95        ,energySeedClusterOverPout_(electron.energySeedClusterOverPout_)
96        ,energyScaleCorrected_(electron.energyScaleCorrected_)
97        ,momentumCorrected_(electron.momentumCorrected_)
98 +                ,dr03TkSumPt_(electron.dr03TkSumPt_)
99 +                ,dr03EcalRecHitSumEt_(electron.dr03EcalRecHitSumEt_)
100 +                ,dr03HcalDepth1TowerSumEt_(electron.dr03HcalDepth1TowerSumEt_)
101 +                ,dr03HcalDepth2TowerSumEt_(electron.dr03HcalDepth2TowerSumEt_)
102        ,pixelLayersWithMeasurement_(electron.pixelLayersWithMeasurement_)
103        ,stripLayersWithMeasurement_(electron.stripLayersWithMeasurement_)
104        ,d0_(electron.d0_)
# Line 152 | Line 160 | class TRootElectron : public TRootPartic
160        ,energySeedClusterOverPout_(-9999.)
161        ,energyScaleCorrected_(false)
162        ,momentumCorrected_(false)
163 +                ,dr03TkSumPt_(-9999.)
164 +                ,dr03EcalRecHitSumEt_(-9999.)
165 +                ,dr03HcalDepth1TowerSumEt_(-9999.)
166 +                ,dr03HcalDepth2TowerSumEt_(-9999.)
167        ,pixelLayersWithMeasurement_(-1)
168        ,stripLayersWithMeasurement_(-1)
169        ,d0_(-9999.)
# Line 213 | Line 225 | class TRootElectron : public TRootPartic
225        ,energySeedClusterOverPout_(-9999.)
226        ,energyScaleCorrected_(false)
227        ,momentumCorrected_(false)
228 +                ,dr03TkSumPt_(-9999.)
229 +                ,dr03EcalRecHitSumEt_(-9999.)
230 +                ,dr03HcalDepth1TowerSumEt_(-9999.)
231 +                ,dr03HcalDepth2TowerSumEt_(-9999.)
232        ,pixelLayersWithMeasurement_(-1)
233        ,stripLayersWithMeasurement_(-1)
234        ,d0_(-9999.)
# Line 274 | Line 290 | class TRootElectron : public TRootPartic
290        ,energySeedClusterOverPout_(-9999.)
291        ,energyScaleCorrected_(false)
292        ,momentumCorrected_(false)
293 +                ,dr03TkSumPt_(-9999.)
294 +                ,dr03EcalRecHitSumEt_(-9999.)
295 +                ,dr03HcalDepth1TowerSumEt_(-9999.)
296 +                ,dr03HcalDepth2TowerSumEt_(-9999.)
297        ,pixelLayersWithMeasurement_(-1)
298        ,stripLayersWithMeasurement_(-1)
299        ,d0_(-9999.)
# Line 335 | Line 355 | class TRootElectron : public TRootPartic
355        ,energySeedClusterOverPout_(-9999.)
356        ,energyScaleCorrected_(false)
357        ,momentumCorrected_(false)
358 +                ,dr03TkSumPt_(-9999.)
359 +                ,dr03EcalRecHitSumEt_(-9999.)
360 +                ,dr03HcalDepth1TowerSumEt_(-9999.)
361 +                ,dr03HcalDepth2TowerSumEt_(-9999.)
362        ,pixelLayersWithMeasurement_(-1)
363        ,stripLayersWithMeasurement_(-1)
364        ,d0_(-9999.)
# Line 396 | Line 420 | class TRootElectron : public TRootPartic
420        ,energySeedClusterOverPout_(-9999.)
421        ,energyScaleCorrected_(false)
422        ,momentumCorrected_(false)
423 +                ,dr03TkSumPt_(-9999.)
424 +                ,dr03EcalRecHitSumEt_(-9999.)
425 +                ,dr03HcalDepth1TowerSumEt_(-9999.)
426 +                ,dr03HcalDepth2TowerSumEt_(-9999.)
427        ,pixelLayersWithMeasurement_(-1)
428        ,stripLayersWithMeasurement_(-1)
429        ,d0_(-9999.)
# Line 458 | Line 486 | class TRootElectron : public TRootPartic
486        Float_t energySeedClusterOverPout() const { return energySeedClusterOverPout_ ;}
487        Bool_t energyScaleCorrected() const { return energyScaleCorrected_ ;}
488        Bool_t momentumCorrected() const { return momentumCorrected_ ;}
489 +                
490 +                Float_t dr03TkSumPt() const { return dr03TkSumPt_ ;}
491 +                Float_t dr03EcalRecHitSumEt() const { return dr03EcalRecHitSumEt_;}
492 +                Float_t dr03HcalDepth1TowerSumEt() const { return dr03HcalDepth1TowerSumEt_ ;}
493 +                Float_t dr03HcalDepth2TowerSumEt() const { return dr03HcalDepth2TowerSumEt_ ;}
494 +                Float_t dr03HcalTowerSumEt() const { return dr03HcalDepth1TowerSumEt()+dr03HcalDepth2TowerSumEt() ;}
495  
496        Int_t pixelLayersWithMeasurement() const { return pixelLayersWithMeasurement_; }
497        Int_t stripLayersWithMeasurement() const { return stripLayersWithMeasurement_; }
# Line 606 | Line 640 | class TRootElectron : public TRootPartic
640        void setEnergySeedClusterOverPout(Float_t energySeedClusterOverPout) { energySeedClusterOverPout_ = energySeedClusterOverPout; }
641        void setEnergyScaleCorrected(Bool_t energyScaleCorrected) { energyScaleCorrected_ = energyScaleCorrected; }
642        void setMomentumCorrected(Bool_t momentumCorrected) { momentumCorrected_ = momentumCorrected; }
643 +                void setDr03TkSumPt(Float_t dr03TkSumPt) { dr03TkSumPt_ = dr03TkSumPt; }
644 +                void setDr03EcalRecHitSumEt(Float_t dr03EcalRecHitSumEt) { dr03EcalRecHitSumEt_ =  dr03EcalRecHitSumEt; }
645 +                void setDr03HcalDepth1TowerSumEt(Float_t dr03HcalDepth1TowerSumEt) { dr03HcalDepth1TowerSumEt_ = dr03HcalDepth1TowerSumEt; }
646 +                void setDr03HcalDepth2TowerSumEt(Float_t dr03HcalDepth2TowerSumEt) { dr03HcalDepth2TowerSumEt_ = dr03HcalDepth2TowerSumEt; }
647  
648        void setPixelLayersWithMeasurement(Int_t pixelLayersWithMeasurement) { pixelLayersWithMeasurement_ = pixelLayersWithMeasurement; }
649        void setStripLayersWithMeasurement(Int_t stripLayersWithMeasurement) { stripLayersWithMeasurement_ = stripLayersWithMeasurement; }
# Line 672 | Line 710 | class TRootElectron : public TRootPartic
710           << " E2x2=" << this->e2x2() <<" E3x3=" << this->e3x3() <<" E5x5=" << this->e5x5() <<" Emax=" << this->eMax()
711           << " R19=" << this->r19() <<" R9=" << this->r9() << endl
712           <<"            H/E=" << this->hadOverEm() <<"  deltaEtaIn=" << this->deltaEtaIn() <<"  deltaPhiIn=" << this->deltaPhiIn() <<"  deltaEtaOut=" << this->deltaEtaOut() <<"  deltaPhiOut=" << this->deltaPhiOut() <<"  E/p in=" << this->energySuperClusterOverPin() <<"  E/p out=" << this->energySeedClusterOverPout() << endl
713 <         << "            iso03  ecal="<< this->isoR03_emEt() << " hcal=" << this->isoR03_hadEt() << " tracker=" << this->isoR03_sumPt() << " ntracks=" << this->isoR03_nTracks()
714 <         << "  iso05  ecal="<< this->isoR05_emEt() << " hcal=" << this->isoR05_hadEt() << " tracker=" << this->isoR05_sumPt() << " ntracks=" << this->isoR05_nTracks() << endl
713 >         << "            reco iso03  ecal="<< this->dr03EcalRecHitSumEt() << " hcal1=" << this->dr03HcalDepth1TowerSumEt() << " hcal2=" << this->dr03HcalDepth2TowerSumEt() << " tracker=" << this->dr03TkSumPt() << endl
714 >         << "            pat iso03  ecal="<< this->isoR03_emEt() << " hcal=" << this->isoR03_hadEt() << " tracker=" << this->isoR03_sumPt() << " ntracks=" << this->isoR03_nTracks() << endl
715 >         << "            pat iso05  ecal="<< this->isoR05_emEt() << " hcal=" << this->isoR05_hadEt() << " tracker=" << this->isoR05_sumPt() << " ntracks=" << this->isoR05_nTracks() << endl
716           <<"            ID:  Fixed-Threshold(Loose,Tight,HighEnergy)=(" << this->idCutBasedFixedThresholdLoose() << "," << this->idCutBasedFixedThresholdTight()  << "," << this->idCutBasedFixedThresholdHighEnergy() << ")"
717           <<"  Categorized(Loose,Tight)=(" << this->idCutBasedCategorizedLoose() << "," << this->idCutBasedCategorizedTight()  << ")"
718           <<"  LH=" << this->idLikelihood() << "  NN=" << this->idNeuralNet() << "  isAlsoPhoton=" << this->isAlsoPhoton();
# Line 710 | Line 749 | class TRootElectron : public TRootPartic
749        Bool_t energyScaleCorrected_;       // Has Energy Scale been applied ?
750        Bool_t momentumCorrected_;          // Tell if class dependant E-p combination has been determined
751  
752 <
752 >                Float_t dr03TkSumPt_;                                   // track iso deposit with electron footprint removed
753 >                Float_t dr03EcalRecHitSumEt_;                   // ecal iso deposit with electron footprint removed
754 >                Float_t dr03HcalDepth1TowerSumEt_;  // hcal depht 1 iso deposit with electron footprint removed
755 >                Float_t dr03HcalDepth2TowerSumEt_;  // hcal depht 2 iso deposit with electron footprint removed
756 >  
757        // Variables from reco::GsfTrack
758  
759        /* cf: http://cmslxr.fnal.gov/lxr/source/DataFormats/TrackReco/interface/TrackBase.h
# Line 806 | Line 849 | class TRootElectron : public TRootPartic
849        //Float_t sigmaPhiPhi_;
850  
851  
852 <      ClassDef (TRootElectron,5);
852 >      ClassDef (TRootElectron,6);
853  
854   };
855  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines