ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPileupEnergyDensity.h
Revision: 1.4
Committed: Wed Jun 15 20:04:14 2011 UTC (13 years, 10 months ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_026, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022
Branch point for: Mit_025c_branch
Changes since 1.3: +4 -2 lines
Log Message:
new and more variations of rho

File Contents

# User Rev Content
1 mzanetti 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.4 // $Id: FillerPileupEnergyDensity.h,v 1.3 2011/03/23 19:03:46 mzanetti Exp $
3 mzanetti 1.1 //
4     // FillerMet
5     //
6     // Implementation of a filler to fill Pileup Energy Density
7     //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPILEUPENERGYDENSITY_H
12     #define MITPROD_TREEFILLER_FILLERPILEUPENERGYDENSITY_H
13    
14     #include "MitAna/DataTree/interface/PileupEnergyDensityFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16     #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class FillerPileupEnergyDensity : public BaseFiller
21     {
22     public:
23     FillerPileupEnergyDensity(const edm::ParameterSet &cfg, const char *name, bool active=1);
24     ~FillerPileupEnergyDensity();
25    
26     void BookDataBlock(TreeWriter &tws);
27     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
28    
29     private:
30 mzanetti 1.3 edm::InputTag edmName_; //edm name of rho collection
31 bendavid 1.4 edm::InputTag edmNameLowEta_; //edm name of high eta rho collection
32     edm::InputTag edmNameRandom_; //edm name of high eta rho collection
33     edm::InputTag edmNameRandomLowEta_; //edm name of high eta rho collection
34 mzanetti 1.2 //std::string edmName_; //edm name of met collection
35 mzanetti 1.1 std::string mitName_; //mit name of PileupEnergyDensitys
36 mzanetti 1.2
37 mzanetti 1.1 mithep::PileupEnergyDensityArr *rhos_; //array of PileupEnergyDensitys
38     };
39     }
40     #endif