ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerCaloMet.h
Revision: 1.6
Committed: Tue Sep 16 22:07:16 2008 UTC (16 years, 7 months ago) by ksung
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre1, Mit_006b, Mit_006a, Mit_006, Mit_005, Mit_004
Changes since 1.5: +2 -2 lines
Log Message:
Changed CaloMet to Met

File Contents

# Content
1 //--------------------------------------------------------------------------------------------------
2 // $Id: FillerCaloMet.h,v 1.5 2008/09/10 17:10:17 ksung Exp $
3 //
4 // FillerCaloMet
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_FILLERCALOMET_H
12 #define MITPROD_TREEFILLER_FILLERCALOMET_H
13
14 #include "FWCore/ParameterSet/interface/ParameterSet.h"
15 #include "DataFormats/METReco/interface/CaloMETCollection.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 FillerCaloMet : public BaseFiller
24 {
25 public:
26 FillerCaloMet(const edm::ParameterSet &cfg, const char *name, bool active=1);
27 ~FillerCaloMet();
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 *caloMets_; //array of Mets
36 };
37 }
38 #endif