ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerMet.h
Revision: 1.1
Committed: Thu Mar 12 16:00:23 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
Log Message:
Updated Met fillers to reflect changes to Met classes, added FillerPFMet

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerMet.h,v 1.6 2008/09/16 22:07:16 ksung Exp $
3     //
4     // FillerMet
5     //
6     // Imlementation 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_FILLERMET_H
12     #define MITPROD_TREEFILLER_FILLERMET_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "DataFormats/METReco/interface/METCollection.h"
16     #include "MitAna/DataUtil/interface/TreeWriter.h"
17     #include "MitAna/DataTree/interface/Collections.h"
18     #include "MitProd/TreeFiller/interface/BaseFiller.h"
19     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
20    
21     namespace mithep
22     {
23     class FillerMet : public BaseFiller
24     {
25     public:
26     FillerMet(const edm::ParameterSet &cfg, const char *name, bool active=1);
27     ~FillerMet();
28    
29     void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31    
32     private:
33     std::string edmName_; //edm name of met collection
34     std::string mitName_; //name of Mets in OAK
35     mithep::MetArr *mets_; //array of Mets
36     };
37     }
38     #endif