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:
38  virtual ~TrackBuildingAnalyzer();
39  virtual void initHisto(DQMStore::IBooker & ibooker);
40  virtual 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  virtual 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 
67 
68  // Track Seeds
80 
81  // Track Candidate
93 
97 
98  std::string histname; //for naming the histograms according to algorithm used
99 
100  //to disable some plots
103  bool doTCPlots;
105  bool doPT;
106  bool doETA;
107  bool doPHI;
109  bool doTheta;
110  bool doQ;
111  bool doDxy;
112  bool doDz;
114  bool doProfPHI;
115  bool doProfETA;
117 };
118 #endif
MonitorElement * NumberOfRecHitsPerTrackCandVsPhiProfile
MonitorElement * TrackCandPt
MonitorElement * TrackCandDz
MonitorElement * stoppingSourceVSphi
MonitorElement * TrackCandPhi
MonitorElement * TrackCandPhiVsEta
MonitorElement * NumberOfRecHitsPerTrackCandVsEtaProfile
MonitorElement * stoppingSource
MonitorElement * NumberOfRecHitsPerSeed
virtual 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
virtual void initHisto(DQMStore::IBooker &ibooker)
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