ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerGenMet.h
Revision: 1.1
Committed: Tue Jul 14 13:47:16 2009 UTC (15 years, 9 months ago) by bendavid
Content type: text/plain
Branch: MAIN
Log Message:
Added FillerGenMet

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerGenMet.h,v 1.10 2009/06/15 15:00:24 loizides Exp $
3     //
4     // FillerGenMet
5     //
6     // Implementation of a filler to fill EDM missing ET objects into our mithep::Met data structure.
7     //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERGENMET_H
12     #define MITPROD_TREEFILLER_FILLERGENMET_H
13    
14     #include "MitAna/DataTree/interface/GenMetFwd.h"
15     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
16     #include "MitProd/TreeFiller/interface/BaseFiller.h"
17    
18     namespace mithep
19     {
20     class FillerGenMet : public BaseFiller
21     {
22     public:
23     FillerGenMet(const edm::ParameterSet &cfg, const char *name, bool active=1);
24     ~FillerGenMet();
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 met collection
32     mithep::GenMetArr *genMets_; //array of Mets
33     };
34     }
35     #endif