CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackingMonitor.h
Go to the documentation of this file.
1 #ifndef TrackingMonitor_H
2 #define TrackingMonitor_H
3 // -*- C++ -*-
4 //
5 // Package: TrackingMonitor
6 // Class: TrackingMonitor
7 //
11 // Original Author: Suchandra Dutta, Giorgia Mila
12 // Created: Thu 28 22:45:30 CEST 2008
13 // $Id: TrackingMonitor.h,v 1.7 2010/05/12 07:14:47 dutta Exp $
14 
15 #include <memory>
16 #include <fstream>
25 
26 class DQMStore;
27 class TrackAnalyzer;
29 class TProfile;
31 
33 {
34  public:
35  explicit TrackingMonitor(const edm::ParameterSet&);
37  virtual void beginJob(void);
38  virtual void endJob(void);
39 
40  virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumi, const edm::EventSetup& eSetup);
41  virtual void analyze(const edm::Event&, const edm::EventSetup&);
42  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
43  virtual void endRun(const edm::Run&, const edm::EventSetup&);
44 
45  private:
46  void doProfileX(TH2 * th2, MonitorElement* me);
47  void doProfileX(MonitorElement * th2m, MonitorElement* me);
48 
49 
50  // ----------member data ---------------------------
51 
52  std::string histname; //for naming the histograms according to algorithm used
53 
56 
57  // the track analyzer
59 
62 
63  // Tracks
67 
68  // Good Tracks
71 
72  // Track Seeds
74 
75  // Track Candidates
77 
78  // Cluster Properties
84 
85  std::string builderName;
87 
90 
92 };
93 
94 #endif //define TrackingMonitor_H
MonitorElement * FractionOfGoodTracks
DQMStore * dqmStore_
TrackAnalyzer * theTrackAnalyzer
edm::ParameterSet conf_
tuple lumi
Definition: fjr2json.py:41
MonitorElement * NumberOfGoodTracks
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
MonitorElement * NumberOfMeanRecHitsPerTrack
MonitorElement * NumberOfStripVsStripClus
MonitorElement * NumberOfPixelClus
MonitorElement * NumberOfSeeds
virtual void endJob(void)
virtual void endRun(const edm::Run &, const edm::EventSetup &)
std::string histname
edm::InputTag bsSrc
TrackBuildingAnalyzer * theTrackBuildingAnalyzer
MonitorElement * NumberOfMeanLayersPerTrack
MonitorElement * NumberOfStripClus
void doProfileX(TH2 *th2, MonitorElement *me)
MonitorElement * RatioOfPixelAndStripClus
GenericTriggerEventFlag * genTriggerEventFlag_
TrackingMonitor(const edm::ParameterSet &)
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
virtual void beginJob(void)
MonitorElement * NumberOfTrackCandidates
MonitorElement * NumberOfTrkVsClus
MonitorElement * NumberOfTracks
Definition: Run.h:31
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup)
std::string builderName