CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
92 
93  std::string histname; //for naming the histograms according to algorithm used
94 
95  //to disable some plots
96  bool doAllPlots;
98  bool doTCPlots;
99  bool doPT;
100  bool doETA;
101  bool doPHI;
103  bool doTheta;
104  bool doQ;
105  bool doDxy;
106  bool doDz;
108  bool doProfPHI;
109  bool doProfETA;
110 };
111 #endif
MonitorElement * NumberOfRecHitsPerTrackCandVsPhiProfile
MonitorElement * TrackCandPt
MonitorElement * TrackCandDz
MonitorElement * TrackCandPhi
MonitorElement * NumberOfRecHitsPerTrackCandVsEtaProfile
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 &)
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