CMS 3D CMS Logo

TrackBuildingAnalyzer.h
Go to the documentation of this file.
1 #ifndef TrackBuildingAnalyzer_H
2 #define TrackBuildingAnalyzer_H
3 // -*- C++ -*-
4 //
5 //
9 // Original Author: Ryan Kelley
10 // Created: Sat 28 13;30:00 CEST 2009
11 //
12 
13 #include <memory>
14 #include <fstream>
22 
30 
31 
32 class DQMStore;
33 
35 {
36  public:
39  void initHisto(DQMStore::IBooker & ibooker, const edm::ParameterSet&);
40  void analyze
41  (
42  const edm::Event& iEvent,
43  const edm::EventSetup& iSetup,
44  const TrajectorySeed& seed,
45  const reco::BeamSpot& bs,
46  const edm::ESHandle<MagneticField>& theMF,
48  );
49  void analyze
50  (
51  const edm::Event& iEvent,
52  const edm::EventSetup& iSetup,
53  const TrackCandidate& candidate,
54  const reco::BeamSpot& bs,
55  const edm::ESHandle<MagneticField>& theMF,
57  );
58 
59  private:
60 
61  void fillHistos(const edm::EventSetup& iSetup, const reco::Track & track, std::string sname);
62  void bookHistos(std::string sname, DQMStore::IBooker & ibooker);
63 
64  // ----------member data ---------------------------
65 
66  // Track Seeds
78 
79  // Track Candidate
91 
95 
96  std::string histname; //for naming the histograms according to algorithm used
97 
98  //to disable some plots
99  bool doAllPlots;
101  bool doTCPlots;
103  bool doPT;
104  bool doETA;
105  bool doPHI;
107  bool doTheta;
108  bool doQ;
109  bool doDxy;
110  bool doDz;
112  bool doProfPHI;
113  bool doProfETA;
115 };
116 #endif
MonitorElement * NumberOfRecHitsPerTrackCandVsPhiProfile
MonitorElement * TrackCandPt
MonitorElement * TrackCandDz
MonitorElement * stoppingSourceVSphi
MonitorElement * TrackCandPhi
void initHisto(DQMStore::IBooker &ibooker, const edm::ParameterSet &)
MonitorElement * TrackCandPhiVsEta
MonitorElement * NumberOfRecHitsPerTrackCandVsEtaProfile
MonitorElement * stoppingSource
MonitorElement * NumberOfRecHitsPerSeed
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup, const TrajectorySeed &seed, const reco::BeamSpot &bs, const edm::ESHandle< MagneticField > &theMF, const edm::ESHandle< TransientTrackingRecHitBuilder > &theTTRHBuilder)
int iEvent
Definition: GenABIO.cc:230
MonitorElement * NumberOfRecHitsPerSeedVsPhiProfile
MonitorElement * TrackCandDxy
MonitorElement * TrackCandEta
TrackBuildingAnalyzer(const edm::ParameterSet &)
MonitorElement * stoppingSourceVSeta
void bookHistos(std::string sname, DQMStore::IBooker &ibooker)
MonitorElement * TrackCandTheta
MonitorElement * SeedPhiVsEta
void fillHistos(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
MonitorElement * NumberOfRecHitsPerSeedVsEtaProfile
MonitorElement * NumberOfRecHitsPerTrackCand