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 2012/10/15 13:24:45 threus Exp $
14 
15 #include <memory>
16 #include <fstream>
25 
26 class DQMStore;
27 class TrackAnalyzer;
29 class VertexMonitor;
30 class GetLumi;
31 class TProfile;
33 
35 {
36  public:
37  explicit TrackingMonitor(const edm::ParameterSet&);
39  virtual void beginJob(void);
40  virtual void endJob(void);
41 
42  virtual void setMaxMinBin(std::vector<double> & ,std::vector<double> & ,std::vector<int> & ,double, double, int, double, double, int);
43  virtual void setNclus(const edm::Event&, std::vector<int> & );
44 
45  virtual void beginLuminosityBlock(const edm::LuminosityBlock& lumi, const edm::EventSetup& eSetup);
46  virtual void analyze(const edm::Event&, const edm::EventSetup&);
47  virtual void beginRun(const edm::Run&, const edm::EventSetup&);
48  virtual void endRun(const edm::Run&, const edm::EventSetup&);
49 
50  private:
51  void doProfileX(TH2 * th2, MonitorElement* me);
52  void doProfileX(MonitorElement * th2m, MonitorElement* me);
53 
54 
55  // ----------member data ---------------------------
56 
57  std::string histname; //for naming the histograms according to algorithm used
58 
61 
62  // the track analyzer
65 
68  std::vector<VertexMonitor*> theVertexMonitor;
70 
71  // Tracks
75 
76  // Good Tracks
79 
80  // Track Seeds
82  std::vector<MonitorElement *> SeedsVsClusters;
83  std::vector<std::string> ClusterLabels;
84 
85 
86  // Track Candidates
88 
89  // Cluster Properties
90  /*
91  MonitorElement* NumberOfPixelClus;
92  MonitorElement* NumberOfStripClus;
93  MonitorElement* RatioOfPixelAndStripClus;
94  */
95  std::vector<MonitorElement*> NumberOfTrkVsClusters;
100 
101  // Monitoring vs LS
106 
107  // Monitoring PU
114 
115  // add in order to deal with LS transitions
118 
119  std::string builderName;
121 
134  // ADD by Mia in order to have GoodTrack plots only for collision
139 
141 };
142 
143 #endif //define TrackingMonitor_H
std::vector< MonitorElement * > NumberOfTrkVsClusters
MonitorElement * FractionOfGoodTracks
DQMStore * dqmStore_
virtual void setMaxMinBin(std::vector< double > &, std::vector< double > &, std::vector< int > &, double, double, int, double, double, int)
TrackAnalyzer * theTrackAnalyzer
MonitorElement * NumberOfGoodTracksVsLS
MonitorElement * FractionOfGoodTracksVsGoodPVtx
edm::ParameterSet conf_
virtual void setNclus(const edm::Event &, std::vector< int > &)
GetLumi * theLumiDetails_
tuple lumi
Definition: fjr2json.py:35
MonitorElement * NumberOfGoodTracks
virtual void beginRun(const edm::Run &, const edm::EventSetup &)
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * NumberOfGoodTrkVsClus
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
MonitorElement * NumberOfMeanRecHitsPerTrack
MonitorElement * FractionOfGoodTracksVsBXlumi
MonitorElement * NumberOfTracksVsGoodPVtx
edm::InputTag pvSrc
MonitorElement * GoodTracksFractionVsLS
MonitorElement * NumberOfSeeds
virtual void endJob(void)
MonitorElement * NumberOfGoodTracksVsBXlumi
MonitorElement * NumberOfTracksVsLS
bool runTrackBuildingAnalyzerForSeed
std::vector< MonitorElement * > SeedsVsClusters
virtual void endRun(const edm::Run &, const edm::EventSetup &)
MonitorElement * NumberOfGoodTracksVsGoodPVtx
std::string histname
edm::InputTag bsSrc
std::vector< VertexMonitor * > theVertexMonitor
MonitorElement * NumberOfTrkVsPixelClus
MonitorElement * NumberOfTracksVsBXlumi
bool doGeneralPropertiesPlots_
TrackBuildingAnalyzer * theTrackBuildingAnalyzer
MonitorElement * NumberOfMeanLayersPerTrack
void doProfileX(TH2 *th2, MonitorElement *me)
GenericTriggerEventFlag * genTriggerEventFlag_
TrackingMonitor(const edm::ParameterSet &)
MonitorElement * GoodTracksNumberOfRecHitsPerTrackVsLS
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
MonitorElement * NumberOfGoodTracks_lumiFlag
virtual void beginJob(void)
MonitorElement * NumberOfTrackCandidates
MonitorElement * NumberOfTrkVsStripClus
MonitorElement * NumberOfTracks_lumiFlag
MonitorElement * NumberOfTrkVsClus
MonitorElement * NumberOfTracks
Definition: Run.h:33
virtual void beginLuminosityBlock(const edm::LuminosityBlock &lumi, const edm::EventSetup &eSetup)
std::vector< std::string > ClusterLabels
std::string builderName