ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerCaloJets.h
Revision: 1.1
Committed: Mon Jul 7 16:13:21 2008 UTC (16 years, 9 months ago) by loizides
Content type: text/plain
Branch: MAIN
Log Message:
Added fillers for Jet and Met

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerCaloJets.h,v 1.4 2008/07/03 07:56:14 loizides Exp $
3     //
4     // FillerCaloJets
5     //
6     // Imlementation of a filler to fill EDM jets into our mithep::Jet data structure.
7     //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef TREEFILLER_FILLERCALOJETS_H
12     #define TREEFILLER_FILLERCALOJETS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "DataFormats/JetReco/interface/CaloJetCollection.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 FillerCaloJets : public BaseFiller
24     {
25     public:
26     FillerCaloJets(const edm::ParameterSet &cfg, const char *name, bool active=1);
27     ~FillerCaloJets();
28    
29     void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31    
32     private:
33     std::string edmName_;
34     std::string mitName_;
35     mithep::JetArr *jets_;
36     edm::Handle<reco::CaloJetCollection> jetProduct_;
37     };
38     }
39     #endif