ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerCaloMet.h
Revision: 1.3
Committed: Thu Jul 31 12:34:03 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: MITHEP_2_0_x
Changes since 1.2: +4 -4 lines
Log Message:
Consistently introduced ObjectService. Updated comments. Updated .cfg files. Switched off default handling of Stable and DecayParts (for now). ZmmFullReco.cfg shows how to use standard filler with extensions.

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.3 // $Id: FillerCaloMet.h,v 1.2 2008/07/08 12:38:20 loizides Exp $
3 loizides 1.1 //
4     // FillerCaloMet
5     //
6 loizides 1.2 // Imlementation of a filler to fill EDM missing ET objects into our mithep::Met data structure.
7 loizides 1.1 //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef TREEFILLER_FILLERCALOMET_H
12     #define 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 loizides 1.3 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 loizides 1.1 };
37     }
38     #endif