ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerCaloJets.h
Revision: 1.4
Committed: Sun Aug 31 10:13:31 2008 UTC (16 years, 8 months ago) by sixie
Content type: text/plain
Branch: MAIN
Changes since 1.3: +8 -4 lines
Log Message:
Add Jet Flavor Matching Information

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 sixie 1.4 // $Id: FillerCaloJets.h,v 1.3 2008/07/31 12:34:03 loizides Exp $
3 loizides 1.1 //
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 sixie 1.4 Bool_t flavorMatchingActive_; //=true if flavor matching is done
34     std::string edmName_; //edm name of jets collection
35     std::string mitName_; //name of Jets in OAK
36     std::string flavorMatchingByReferenceName_; //edm name of jets collection
37     std::string flavorMatchingDefinition_; //name of Jets in OAK
38     mithep::JetArr *jets_; //array of Jets
39    
40 loizides 1.1 };
41     }
42     #endif