CMS 3D CMS Logo

BDHadronTrackMonitoringAnalyzer.h
Go to the documentation of this file.
1 #ifndef BDHadronTrackMonitoringAnalyzer_H
2 #define BDHadronTrackMonitoringAnalyzer_H
3 
10 
13 
20 
24 
28 
36 
37 #include <fstream>
38 #include <iostream>
39 
48 public:
50 
52 
53  void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override;
54  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
55 
56  enum HistoryClasses { BCWeakDecay = 0, BWeakDecay = 1, CWeakDecay = 2, PU = 3, Other = 4, Fake = 5 };
57  static const std::vector<std::string> TrkHistCat;
58 
59 private:
60  // cut values
61  double distJetAxis_;
62  double decayLength_;
63  double minJetPt_;
64  double maxJetEta_;
65 
66  // strings
68 
69  // InputTags
74 
75  // Tokens
80 
81  // TrackClassifier
83 
84  // Histograms
85  // b jets
86  MonitorElement *nTrkAll_bjet; // total number of selected tracks (or TrackingParticles)
87  MonitorElement *nTrk_bjet[6]; // total number of selected tracks (or TrackingParticles)
88  // in each TrackHistory category
89  // c jets
90  MonitorElement *nTrkAll_cjet; // total number of selected tracks (or TrackingParticles)
91  MonitorElement *nTrk_cjet[6]; // total number of selected tracks (or TrackingParticles)
92  // in each TrackHistory category
93  // dusg jets
94  MonitorElement *nTrkAll_dusgjet; // total number of selected tracks (or TrackingParticles)
95  MonitorElement *nTrk_dusgjet[6]; // total number of selected tracks (or
96  // TrackingParticles) in each TrackHistory category
97 
98  // track properties for all flavours combined
100  *TrkTruthPt_alljets[5]; // Pt of selected tracks (or TrackingParticles)
102  *TrkTruthEta_alljets[5]; // Eta of selected tracks (or TrackingParticles)
104  *TrkTruthPhi_alljets[5]; // Phi of selected tracks (or TrackingParticles)
106  *TrkTruthDxy_alljets[5]; // Transverse IP of selected tracks (or
107  // TrackingParticles)
109  *TrkTruthDz_alljets[5]; // Longitudinal IP of selected tracks (or
110  // TrackingParticles)
112  *TrkTruthHitAll_alljets[5]; // total number Tracker hits of selected
113  // tracks (or TrackingParticles)
115  *TrkTruthHitStrip_alljets[5]; // number of strip hits of of selected
116  // tracks (or TrackingParticles)
118  *TrkTruthHitPixel_alljets[5]; // number of pixel hits of selected tracks
119  // (or TrackingParticles)
120 };
121 
122 #endif
BDHadronTrackMonitoringAnalyzer::ClusterTPMapSrc_
edm::InputTag ClusterTPMapSrc_
Definition: BDHadronTrackMonitoringAnalyzer.h:73
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
BDHadronTrackMonitoringAnalyzer::PatJetCollectionTag_
edm::EDGetTokenT< pat::JetCollection > PatJetCollectionTag_
Definition: BDHadronTrackMonitoringAnalyzer.h:76
BDHadronTrackMonitoringAnalyzer::nTrk_dusgjet
MonitorElement * nTrk_dusgjet[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:95
TrajectoryStateOnSurface.h
BDHadronTrackMonitoringAnalyzer::TrackSrc_
edm::InputTag TrackSrc_
Definition: BDHadronTrackMonitoringAnalyzer.h:71
MessageLogger.h
BDHadronTrackMonitoringAnalyzer::TrkTruthDxy_alljets
MonitorElement * TrkTruthDxy_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:105
BDHadronTrackMonitoringAnalyzer::ipTagInfos_
std::string ipTagInfos_
Definition: BDHadronTrackMonitoringAnalyzer.h:67
BDHadronTrackMonitoringAnalyzer::TrkTruthPt_alljets
MonitorElement * TrkTruthPt_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:99
BDHadronTrackMonitoringAnalyzer::TrackCollectionTag_
edm::EDGetTokenT< reco::TrackCollection > TrackCollectionTag_
Definition: BDHadronTrackMonitoringAnalyzer.h:77
BDHadronTrackMonitoringAnalyzer::classifier_
TrackClassifier classifier_
Definition: BDHadronTrackMonitoringAnalyzer.h:82
edm::Run
Definition: Run.h:45
BDHadronTrackMonitoringAnalyzer::nTrk_bjet
MonitorElement * nTrk_bjet[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:87
edm::EDGetTokenT< pat::JetCollection >
BDHadronTrackMonitoringAnalyzer::clusterTPMapToken_
edm::EDGetTokenT< ClusterTPAssociation > clusterTPMapToken_
Definition: BDHadronTrackMonitoringAnalyzer.h:79
BDHadronTrackMonitoringAnalyzer::bookHistograms
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
Definition: BDHadronTrackMonitoringAnalyzer.cc:47
BDHadronTrackMonitoringAnalyzer::nTrkAll_cjet
MonitorElement * nTrkAll_cjet
Definition: BDHadronTrackMonitoringAnalyzer.h:90
BDHadronTrackMonitoringAnalyzer::HistoryClasses
HistoryClasses
Definition: BDHadronTrackMonitoringAnalyzer.h:56
DQMStore.h
ConvertToFromReco.h
BDHadronTrackMonitoringAnalyzer::nTrkAll_bjet
MonitorElement * nTrkAll_bjet
Definition: BDHadronTrackMonitoringAnalyzer.h:86
BDHadronTrackMonitoringAnalyzer::CWeakDecay
Definition: BDHadronTrackMonitoringAnalyzer.h:56
MakerMacros.h
BDHadronTrackMonitoringAnalyzer::distJetAxis_
double distJetAxis_
Definition: BDHadronTrackMonitoringAnalyzer.h:61
Track.h
BDHadronTrackMonitoringAnalyzer::TrkPt_alljets
MonitorElement * TrkPt_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:99
BDHadronTrackMonitoringAnalyzer::Other
Definition: BDHadronTrackMonitoringAnalyzer.h:56
Service.h
TrackIPTagInfo.h
BDHadronTrackMonitoringAnalyzer::BDHadronTrackMonitoringAnalyzer
BDHadronTrackMonitoringAnalyzer(const edm::ParameterSet &pSet)
Definition: BDHadronTrackMonitoringAnalyzer.cc:24
BDHadronTrackMonitoringAnalyzer::TrkHistCat
static const std::vector< std::string > TrkHistCat
Definition: BDHadronTrackMonitoringAnalyzer.h:57
EDGetToken.h
BDHadronTrackMonitoringAnalyzer::TrkTruthHitAll_alljets
MonitorElement * TrkTruthHitAll_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:111
BDHadronTrackMonitoringAnalyzer::TrkTruthDz_alljets
MonitorElement * TrkTruthDz_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:108
DQMEDAnalyzer.h
BDHadronTrackMonitoringAnalyzer::nTrk_cjet
MonitorElement * nTrk_cjet[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:91
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
BDHadronTrackMonitoringAnalyzer::TrkTruthPhi_alljets
MonitorElement * TrkTruthPhi_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:103
BDHadronTrackMonitoringAnalyzer::TrkDz_alljets
MonitorElement * TrkDz_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:108
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
TrackClassifier.h
BDHadronTrackMonitoringAnalyzer::maxJetEta_
double maxJetEta_
Definition: BDHadronTrackMonitoringAnalyzer.h:64
BDHadronTrackMonitoringAnalyzer::TrkTruthHitStrip_alljets
MonitorElement * TrkTruthHitStrip_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:114
TransientTrackBuilder.h
edm::ParameterSet
Definition: ParameterSet.h:36
BDHadronTrackMonitoringAnalyzer::TrkTruthHitPixel_alljets
MonitorElement * TrkTruthHitPixel_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:117
BDHadronTrackMonitoringAnalyzer::minJetPt_
double minJetPt_
Definition: BDHadronTrackMonitoringAnalyzer.h:63
BDHadronTrackMonitoringAnalyzer::Fake
Definition: BDHadronTrackMonitoringAnalyzer.h:56
Event.h
PackedCandidate.h
BDHadronTrackMonitoringAnalyzer
Definition: BDHadronTrackMonitoringAnalyzer.h:47
BDHadronTrackMonitoringAnalyzer::nTrkAll_dusgjet
MonitorElement * nTrkAll_dusgjet
Definition: BDHadronTrackMonitoringAnalyzer.h:94
BDHadronTrackMonitoringAnalyzer::PVSrc_
edm::InputTag PVSrc_
Definition: BDHadronTrackMonitoringAnalyzer.h:72
iEvent
int iEvent
Definition: GenABIO.cc:224
BDHadronTrackMonitoringAnalyzer::TrkHitAll_alljets
MonitorElement * TrkHitAll_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:111
BDHadronTrackMonitoringAnalyzer::TrkHitStrip_alljets
MonitorElement * TrkHitStrip_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:114
BDHadronTrackMonitoringAnalyzer::TrkTruthEta_alljets
MonitorElement * TrkTruthEta_alljets[5]
Definition: BDHadronTrackMonitoringAnalyzer.h:101
BDHadronTrackMonitoringAnalyzer::TrkHitPixel_alljets
MonitorElement * TrkHitPixel_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:117
edm::EventSetup
Definition: EventSetup.h:57
TransientTrackRecord.h
BDHadronTrackMonitoringAnalyzer::PU
Definition: BDHadronTrackMonitoringAnalyzer.h:56
Jet.h
BDHadronTrackMonitoringAnalyzer::~BDHadronTrackMonitoringAnalyzer
~BDHadronTrackMonitoringAnalyzer() override
Definition: BDHadronTrackMonitoringAnalyzer.cc:197
InputTag.h
BDHadronTrackMonitoringAnalyzer::TrkEta_alljets
MonitorElement * TrkEta_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:101
TrackingParticle.h
IPTools.h
BDHadronTrackMonitoringAnalyzer::BCWeakDecay
Definition: BDHadronTrackMonitoringAnalyzer.h:56
BDHadronTrackMonitoringAnalyzer::PrimaryVertexColl_
edm::EDGetTokenT< reco::VertexCollection > PrimaryVertexColl_
Definition: BDHadronTrackMonitoringAnalyzer.h:78
Frameworkfwd.h
BDHadronTrackMonitoringAnalyzer::PatJetSrc_
edm::InputTag PatJetSrc_
Definition: BDHadronTrackMonitoringAnalyzer.h:70
GlobalVector.h
dqm::implementation::IBooker
Definition: DQMStore.h:43
BDHadronTrackMonitoringAnalyzer::analyze
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: BDHadronTrackMonitoringAnalyzer.cc:205
Tools.h
BDHadronTrackMonitoringAnalyzer::TrkPhi_alljets
MonitorElement * TrkPhi_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:103
ParameterSet.h
TrackClassifier
Get track history and classify it in function of their .
Definition: TrackClassifier.h:29
edm::Event
Definition: Event.h:73
BDHadronTrackMonitoringAnalyzer::decayLength_
double decayLength_
Definition: BDHadronTrackMonitoringAnalyzer.h:62
TrackCategories.h
edm::InputTag
Definition: InputTag.h:15
ClusterTPAssociation.h
BDHadronTrackMonitoringAnalyzer::BWeakDecay
Definition: BDHadronTrackMonitoringAnalyzer.h:56
BDHadronTrackMonitoringAnalyzer::TrkDxy_alljets
MonitorElement * TrkDxy_alljets[6]
Definition: BDHadronTrackMonitoringAnalyzer.h:105