ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/TreeFiller/interface/FillerPFJets.h
Revision: 1.1
Committed: Wed Mar 11 20:08:22 2009 UTC (16 years, 1 month ago) by bendavid
Content type: text/plain
Branch: MAIN
Log Message:
add FillerPFCandidates and FillerPFJets

File Contents

# User Rev Content
1 bendavid 1.1 //--------------------------------------------------------------------------------------------------
2     // $Id: FillerPFJets.h,v 1.8 2008/09/16 18:20:46 sixie Exp $
3     //
4     // FillerPFJets
5     //
6     // Imlementation of a filler to fill EDM particle flow jets into our mithep::PFJet data structure.
7     //
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     Bool_t flavorMatchingActive_; //=true if flavor matching is done
33     Bool_t bTaggingActive_; //=true if bTagging info is filled
34     Bool_t jetToVertexActive_; //=true if jet to vertex info is done
35     Bool_t jetCorrectionsActive_; //=true if jet corrections are done
36     std::string edmName_; //edm name of jets collection
37     std::string mitName_; //name of Jets in OAK
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_; //edm name of jets collection
43     std::string flavorMatchingDefinition_; //name of Jets in OAK
44     std::string jetProbabilityBJetTagsName_; //names for various bJet Tagging
45     std::string jetBProbabilityBJetTagsName_; //algorithms
46     std::string simpleSecondaryVertexBJetTagsName_;
47     std::string combinedSecondaryVertexBJetTagsName_;
48     std::string combinedSecondaryVertexMVABJetTagsName_;
49     std::string impactParameterMVABJetTagsName_;
50     std::string trackCountingHighEffBJetTagsName_;
51     std::string trackCountingHighPurBJetTagsName_;
52     std::string softMuonBJetTagsName_;
53     std::string softMuonNoIPBJetTagsName_;
54     std::string softElectronBJetTagsName_;
55     std::string pfCandMapName_; //name of imported PFCandidateMap
56    
57     const mithep::PFCandidateMap *pfCandMap_; //map wrt PFCandidates
58     mithep::PFJetArr *jets_; //array of Jets
59     };
60     }
61     #endif