ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPileupInfo.h
Revision: 1.1
Committed: Tue Feb 8 14:54:12 2011 UTC (14 years, 2 months ago) by mzanetti
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_025c_branch2, Mit_025c_branch1, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_025c_branch0, Mit_028, Mit_027a, Mit_027, 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, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, HEAD
Branch point for: Mit_025c_branch
Log Message:
Collection for Pileup information

File Contents

# User Rev Content
1 mzanetti 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerMet.h,v 1.6 2010/03/18 20:21:00 bendavid Exp $
3     //
4     // FillerMet
5     //
6     // Implementation of a filler to fill EDM missing ET objects into our mithep::PileupInfo data structure.
7     //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPILEUPINFO_H
12     #define MITPROD_TREEFILLER_FILLERPILEUPINFO_H
13    
14     #include "MitAna/DataTree/interface/PileupInfoFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16     #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class FillerPileupInfo : public BaseFiller
21     {
22     public:
23     FillerPileupInfo(const edm::ParameterSet &cfg, const char *name, bool active=1);
24     ~FillerPileupInfo();
25    
26     void BookDataBlock(TreeWriter &tws);
27     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
28    
29     private:
30     std::string edmName_; //edm name of met collection
31     std::string mitName_; //mit name of PileupInfos
32     mithep::PileupInfoArr *puInfos_; //array of PileupInfos
33     };
34     }
35     #endif