ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFMet.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

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerPFMet.h,v 1.6 2008/09/16 22:07:16 ksung Exp $
3 //
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 std::string mitName_; //name of Mets in OAK
35 mithep::PFMetArr *pfMets_; //array of Mets
36 };
37 }
38 #endif