ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerGenJets.h
Revision: 1.2
Committed: Sun Mar 15 11:20:40 2009 UTC (16 years, 1 month ago) by loizides
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_008pre2
Changes since 1.1: +9 -8 lines
Log Message:
Introduced BranchTable plus general cleanup.

File Contents

# User Rev Content
1 sixie 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: FillerGenJets.h,v 1.1 2008/09/16 18:17:36 sixie Exp $
3 sixie 1.1 //
4     // FillerGenJets
5     //
6 loizides 1.2 // Implementation of a filler to fill EDM generator-level jets into our
7     // mithep::GenJet data structure.
8 sixie 1.1 //
9     // Authors: S.Xie
10     //--------------------------------------------------------------------------------------------------
11    
12     #ifndef MITPROD_TREEFILLER_FILLERGENJETS_H
13     #define MITPROD_TREEFILLER_FILLERGENJETS_H
14    
15     #include "FWCore/ParameterSet/interface/ParameterSet.h"
16     #include "DataFormats/JetReco/interface/GenJetCollection.h"
17     #include "MitAna/DataUtil/interface/TreeWriter.h"
18     #include "MitAna/DataTree/interface/Collections.h"
19     #include "MitProd/TreeFiller/interface/BaseFiller.h"
20    
21     namespace mithep
22     {
23     class FillerGenJets : public BaseFiller
24     {
25     public:
26     FillerGenJets(const edm::ParameterSet &cfg, const char *name, bool active=1);
27     ~FillerGenJets();
28    
29     void BookDataBlock(TreeWriter &tws);
30     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
31    
32     private:
33 loizides 1.2 Bool_t flavorMatchingActive_; //=true if flavor matching is done
34     std::string edmName_; //edm name of genjets collection
35     std::string mitName_; //mit name of GenJets
36     std::string flavorMatchingByReferenceName_; //name of flavor matching collection
37     std::string flavorMatchingDefinition_; //name of flavor matching algorithm
38     mithep::GenJetArr *genjets_; //array of GenJets
39 sixie 1.1 };
40     }
41     #endif