CMS 3D CMS Logo

SiPixelHitEfficiencySource.h
Go to the documentation of this file.
1 #ifndef SiPixelHitEfficiencySource_H
2 #define SiPixelHitEfficiencySource_H
3 
4 // Package: SiPixelMonitorTrack
5 // Class: SiPixelHitEfficiencySource
6 //
7 // class SiPixelHitEfficiencySource SiPixelHitEfficiencySource.h
8 // DQM/SiPixelMonitorTrack/interface/SiPixelHitEfficiencySource.h
9 //
10 // Description: <one line class summary>
11 // Implementation: <Notes on implementation>
12 //
13 //
14 // Original Authors: Romain Rougny & Luca Mucibello
15 // Created: Mar Nov 10 13:29:00 CET 2009
16 
17 #include <boost/cstdint.hpp>
18 
29 
30 // Files added for monitoring track quantities
44 
46 public:
48  ~SiPixelHitEfficiencySource() override;
49 
50  void dqmBeginRun(const edm::Run &r, edm::EventSetup const &iSetup) override;
51  void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
52  void analyze(const edm::Event &, const edm::EventSetup &) override;
53  virtual void fillClusterProbability(int, int, bool, double);
54 
55 private:
58  // edm::InputTag tracksrc_;
62 
64 
67 
68  bool debug_;
69  bool modOn;
70  // barrel:
71  bool ladOn, layOn, phiOn;
72  // forward:
74 
75  bool firstRun;
76 
77  std::map<uint32_t, SiPixelHitEfficiencyModule *> theSiPixelStructure;
78 
81 
82  int nvtx_;
83  int vtxntrk_;
84  double vtxD0_;
85  double vtxX_;
86  double vtxY_;
87  double vtxZ_;
88  double vtxndof_;
89  double vtxchi2_;
90 
91  bool isUpgrade;
92 
93  // MEs for cluster probability
96 
99 
102 
105 
108 };
109 
110 #endif
edm::EDGetTokenT< MeasurementTrackerEvent > measurementTrackerEventToken_
std::map< uint32_t, SiPixelHitEfficiencyModule * > theSiPixelStructure
SiPixelHitEfficiencySource(const edm::ParameterSet &)
edm::EDGetTokenT< edmNew::DetSetVector< SiPixelCluster > > clusterCollectionToken_
virtual void fillClusterProbability(int, int, bool, double)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
edm::EDGetTokenT< reco::VertexCollection > vertexCollectionToken_
edm::EDGetTokenT< TrajTrackAssociationCollection > tracksrc_
void analyze(const edm::Event &, const edm::EventSetup &) override
void dqmBeginRun(const edm::Run &r, edm::EventSetup const &iSetup) override
Definition: Run.h:45