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 beginJob(DQMStore * dqmStore_);
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 * dqmStore_);
63 
64  // ----------member data ---------------------------
65 
67 
68  // Track Seeds
79 
80  // Track Candidate
91 
92  std::string histname; //for naming the histograms according to algorithm used
93 };
94 #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:243
MonitorElement * NumberOfRecHitsPerSeedVsPhiProfile
MonitorElement * TrackCandDxy
MonitorElement * TrackCandEta
TrackBuildingAnalyzer(const edm::ParameterSet &)
virtual void beginJob(DQMStore *dqmStore_)
MonitorElement * TrackCandTheta
void fillHistos(const edm::EventSetup &iSetup, const reco::Track &track, std::string sname)
MonitorElement * NumberOfRecHitsPerSeedVsEtaProfile
void bookHistos(std::string sname, DQMStore *dqmStore_)
MonitorElement * NumberOfRecHitsPerTrackCand