ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFMet.h
Revision: 1.2
Committed: Sun Mar 15 11:20:40 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre2
Changes since 1.1: +2 -2 lines
Log Message:
Introduced BranchTable plus general cleanup.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: FillerPFMet.h,v 1.1 2009/03/12 16:00:23 bendavid Exp $
3 bendavid 1.1 //
4     // FillerPFMet
5     //
6     // Implementation of a filler to fill EDM missing ET objects into our mithep::PFMet data structure.
7     //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPFMET_H
12     #define MITPROD_TREEFILLER_FILLERPFMET_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "DataFormats/METReco/interface/PFMETCollection.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 FillerPFMet : public BaseFiller
24     {
25     public:
26     FillerPFMet(const edm::ParameterSet &cfg, const char *name, bool active=1);
27     ~FillerPFMet();
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 loizides 1.2 std::string mitName_; //mit name of met collection
35 bendavid 1.1 mithep::PFMetArr *pfMets_; //array of Mets
36     };
37     }
38     #endif