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
93 
94  std::string histname; //for naming the histograms according to algorithm used
95 
96  //to disable some plots
97  bool doAllPlots;
99  bool doTCPlots;
101  bool doPT;
102  bool doETA;
103  bool doPHI;
105  bool doTheta;
106  bool doQ;
107  bool doDxy;
108  bool doDz;
110  bool doProfPHI;
111  bool doProfETA;
112 };
113 #endif
MonitorElement * NumberOfRecHitsPerTrackCandVsPhiProfile
MonitorElement * TrackCandPt
MonitorElement * TrackCandDz
MonitorElement * TrackCandPhi
MonitorElement * TrackCandPhiVsEta
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