ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFJets.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: +28 -29 lines
Log Message:
Introduced BranchTable plus general cleanup.

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2 loizides 1.2 // $Id: FillerPFJets.h,v 1.1 2009/03/11 20:08:22 bendavid 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     const mithep::PFCandidateMap *pfCandMap_; //map wrt PFCandidates
57     mithep::PFJetArr *jets_; //array of Jets
58 bendavid 1.1 };
59     }
60     #endif