ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPileupEnergyDensity.h
Revision: 1.3
Committed: Wed Mar 23 19:03:46 2011 UTC (14 years, 1 month ago) by mzanetti
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020
Changes since 1.2: +3 -2 lines
Log Message:
two values for rho stored

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerPileupEnergyDensity.h,v 1.2 2011/03/01 17:27:22 mzanetti Exp $
3 //
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 edm::InputTag edmName_; //edm name of rho collection
31 edm::InputTag edmNameHighEta_; //edm name of high eta rho collection
32 //std::string edmName_; //edm name of met collection
33 std::string mitName_; //mit name of PileupEnergyDensitys
34
35 mithep::PileupEnergyDensityArr *rhos_; //array of PileupEnergyDensitys
36 };
37 }
38 #endif