ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFJets.h
Revision: 1.3
Committed: Fri Mar 20 18:46:58 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
CVS Tags: Mit_009a, Mit_009, Mit_008
Changes since 1.2: +3 -1 lines
Log Message:
Add export maps for jets

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 bendavid 1.3 // $Id: FillerPFJets.h,v 1.2 2009/03/15 11:20:40 loizides Exp $
3 bendavid 1.1 //
4     // FillerPFJets
5     //
6 loizides 1.2 // Implementation of a filler to fill EDM particle flow jets into our mithep::PFJet data structure.
7 bendavid 1.1 //
8     // Authors: C.Loizides
9     //--------------------------------------------------------------------------------------------------
10    
11     #ifndef MITPROD_TREEFILLER_FILLERPFJETS_H
12     #define MITPROD_TREEFILLER_FILLERPFJETS_H
13    
14     #include "FWCore/ParameterSet/interface/ParameterSet.h"
15     #include "MitAna/DataUtil/interface/TreeWriter.h"
16     #include "MitAna/DataTree/interface/Collections.h"
17     #include "MitProd/TreeFiller/interface/BaseFiller.h"
18     #include "MitProd/TreeFiller/interface/AssociationMaps.h"
19    
20     namespace mithep
21     {
22     class FillerPFJets : public BaseFiller
23     {
24     public:
25     FillerPFJets(const edm::ParameterSet &cfg, const char *name, bool active=1);
26     ~FillerPFJets();
27    
28     void BookDataBlock(TreeWriter &tws);
29     void FillDataBlock(const edm::Event &e, const edm::EventSetup &es);
30    
31     private:
32 loizides 1.2 bool flavorMatchingActive_; //=true if flavor matching is done
33     bool bTaggingActive_; //=true if bTagging info is filled
34     bool jetToVertexActive_; //=true if jet to vertex info is done
35     bool jetCorrectionsActive_; //=true if jet corrections are done
36     std::string edmName_; //edm name of jets collection
37     std::string mitName_; //mit name of jets collection
38     std::string jetToVertexAlphaName_; //edm name of jet to vertex alpha coll
39     std::string jetToVertexBetaName_; //edm name of jet to vertex beta coll
40     std::string L2JetCorrectorName_; //label of the L2JetCorrection service
41     std::string L3JetCorrectorName_; //label of the L3JetCorrection service
42     std::string flavorMatchingByReferenceName_; //source of flavor matching
43     std::string flavorMatchingDefinition_; //type of flavor matching
44     std::string jetProbabilityBJetTagsName_; //bjet algo discriminant
45     std::string jetBProbabilityBJetTagsName_; //bjet algo discriminant
46     std::string simpleSecondaryVertexBJetTagsName_; //bjet algo discriminant
47     std::string combinedSecondaryVertexBJetTagsName_; //bjet algo discriminant
48     std::string combinedSecondaryVertexMVABJetTagsName_; //bjet algo discriminant
49     std::string impactParameterMVABJetTagsName_; //bjet algo discriminant
50     std::string trackCountingHighEffBJetTagsName_; //bjet algo discriminant
51     std::string trackCountingHighPurBJetTagsName_; //bjet algo discriminant
52     std::string softMuonBJetTagsName_; //bjet algo discriminant
53     std::string softMuonNoIPBJetTagsName_; //bjet algo discriminant
54     std::string softElectronBJetTagsName_; //bjet algo discriminant
55     std::string pfCandMapName_; //name of imported PFCandidateMap
56 bendavid 1.3 std::string jetMapName_; //name of exported PFJetMap
57 loizides 1.2 const mithep::PFCandidateMap *pfCandMap_; //map wrt PFCandidates
58 bendavid 1.3 mithep::PFJetMap *jetMap_; //export map
59 loizides 1.2 mithep::PFJetArr *jets_; //array of Jets
60 bendavid 1.1 };
61     }
62     #endif