ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerCaloJets.h
Revision: 1.9
Committed: Wed Mar 11 18:14:55 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
Changes since 1.8: +3 -3 lines
Log Message:
Change FillerCaloJets to reflect changes to jet classes

File Contents

# User Rev Content
1 loizides 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.9 // $Id: FillerCaloJets.h,v 1.8 2008/09/16 18:20:46 sixie Exp $
3 loizides 1.1 //
4     // FillerCaloJets
5     //
6 bendavid 1.9 // Imlementation of a filler to fill EDM jets into our mithep::CaloJet data structure.
7 loizides 1.1 //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11 loizides 1.7 #ifndef MITPROD_TREEFILLER_FILLERCALOJETS_H
12     #define MITPROD_TREEFILLER_FILLERCALOJETS_H
13 loizides 1.1
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 sixie 1.6 Bool_t bTaggingActive_; //=true if bTagging info is filled
35 sixie 1.8 Bool_t jetToVertexActive_; //=true if jet to vertex info is done
36     Bool_t jetCorrectionsActive_; //=true if jet corrections are done
37 sixie 1.4 std::string edmName_; //edm name of jets collection
38     std::string mitName_; //name of Jets in OAK
39 sixie 1.8 std::string jetToVertexAlphaName_; //edm name of jet to vertex alpha coll
40     std::string jetToVertexBetaName_; //edm name of jet to vertex beta coll
41     std::string L2JetCorrectorName_; //label of the L2JetCorrection service
42     std::string L3JetCorrectorName_; //label of the L3JetCorrection service
43 sixie 1.4 std::string flavorMatchingByReferenceName_; //edm name of jets collection
44     std::string flavorMatchingDefinition_; //name of Jets in OAK
45 sixie 1.6 std::string jetProbabilityBJetTagsName_; //names for various bJet Tagging
46     std::string jetBProbabilityBJetTagsName_; //algorithms
47     std::string simpleSecondaryVertexBJetTagsName_;
48     std::string combinedSecondaryVertexBJetTagsName_;
49     std::string combinedSecondaryVertexMVABJetTagsName_;
50     std::string impactParameterMVABJetTagsName_;
51     std::string trackCountingHighEffBJetTagsName_;
52     std::string trackCountingHighPurBJetTagsName_;
53     std::string softMuonBJetTagsName_;
54     std::string softMuonNoIPBJetTagsName_;
55     std::string softElectronBJetTagsName_;
56 bendavid 1.5 std::string caloTowerMapName_; //name of imported CaloTowerMap
57 sixie 1.6
58 bendavid 1.5 const mithep::CaloTowerMap *caloTowerMap_; //map wrt CaloTowers
59 bendavid 1.9 mithep::CaloJetArr *jets_; //array of Jets
60 loizides 1.1 };
61     }
62     #endif