CMS 3D CMS Logo

Phase2TrackerMonitorDigi.h
Go to the documentation of this file.
1 #ifndef Phase2TrackerMonitorDigi_h
2 #define Phase2TrackerMonitorDigi_h
3 
12 
13 class MonitorElement;
14 class PixelDigi;
15 class Phase2TrackerDigi;
16 class TrackerGeometry;
18 class TrackerTopologyRcd;
19 
21 public:
23  ~Phase2TrackerMonitorDigi() override;
24  void bookHistograms(DQMStore::IBooker& ibooker, edm::Run const& iRun, edm::EventSetup const& iSetup) override;
25  void analyze(const edm::Event& iEvent, const edm::EventSetup& iSetup) override;
26  void dqmBeginRun(const edm::Run& iRun, const edm::EventSetup& iSetup) override;
27  std::string getHistoId(uint32_t det_id, bool flag);
28 
29  struct DigiMEs {
48  unsigned int nDigiPerLayer;
49  unsigned int nHitDetsPerLayer;
50  };
51 
52  struct Ph2DigiCluster {
53  int charge;
54  int position;
55  int width;
56  int column;
57  };
58 
63 
64 private:
65  void bookLayerHistos(DQMStore::IBooker& ibooker, unsigned int det_id);
68  void fillDigiClusters(DigiMEs& mes, std::vector<Ph2DigiCluster>& digi_clusters);
69 
71  std::map<std::string, DigiMEs> layerMEs;
72  bool pixelFlag_;
73  bool clsFlag_;
81  const TrackerGeometry* tkGeom_ = nullptr;
82  const TrackerTopology* tTopo_ = nullptr;
83 };
84 #endif
Phase2TrackerMonitorDigi::DigiMEs::PositionOfDigisS
MonitorElement * PositionOfDigisS
Definition: Phase2TrackerMonitorDigi.h:35
edm::DetSetVector
Definition: DetSetVector.h:61
Phase2TrackerMonitorDigi::otDigiToken_
const edm::EDGetTokenT< edm::DetSetVector< Phase2TrackerDigi > > otDigiToken_
Definition: Phase2TrackerMonitorDigi.h:77
dqm::impl::MonitorElement
Definition: MonitorElement.h:98
Phase2TrackerMonitorDigi::config_
edm::ParameterSet config_
Definition: Phase2TrackerMonitorDigi.h:70
Phase2TrackerMonitorDigi::RZOccupancyMap
MonitorElement * RZOccupancyMap
Definition: Phase2TrackerMonitorDigi.h:62
ESHandle.h
Phase2TrackerMonitorDigi::DigiMEs::TotalNumberOfDigisPerLayer
MonitorElement * TotalNumberOfDigisPerLayer
Definition: Phase2TrackerMonitorDigi.h:38
Phase2TrackerMonitorDigi::geomToken_
const edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > geomToken_
Definition: Phase2TrackerMonitorDigi.h:79
patZpeak.handle
handle
Definition: patZpeak.py:23
edm::Run
Definition: Run.h:45
edm::EDGetTokenT
Definition: EDGetToken.h:33
Phase2TrackerMonitorDigi::DigiMEs::ChargeXYMap
MonitorElement * ChargeXYMap
Definition: Phase2TrackerMonitorDigi.h:33
TrackerTopology
Definition: TrackerTopology.h:16
Phase2TrackerMonitorDigi::geomType_
std::string geomType_
Definition: Phase2TrackerMonitorDigi.h:74
Phase2TrackerMonitorDigi::Ph2DigiCluster::column
int column
Definition: Phase2TrackerMonitorDigi.h:56
PixelDigi
Definition: PixelDigi.h:14
Phase2TrackerMonitorDigi::DigiMEs::EtaOccupancyProfS
MonitorElement * EtaOccupancyProfS
Definition: Phase2TrackerMonitorDigi.h:47
Phase2TrackerMonitorDigi::analyze
void analyze(const edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: Phase2TrackerMonitorDigi.cc:80
Phase2TrackerMonitorDigi::clsFlag_
bool clsFlag_
Definition: Phase2TrackerMonitorDigi.h:73
Phase2TrackerMonitorDigi::otDigiSrc_
edm::InputTag otDigiSrc_
Definition: Phase2TrackerMonitorDigi.h:75
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
Phase2TrackerMonitorDigi::fillOTDigiHistos
void fillOTDigiHistos(const edm::Handle< edm::DetSetVector< Phase2TrackerDigi >> handle)
Definition: Phase2TrackerMonitorDigi.cc:214
Phase2TrackerMonitorDigi::Ph2DigiCluster
Definition: Phase2TrackerMonitorDigi.h:52
Phase2TrackerMonitorDigi::itPixelDigiSrc_
edm::InputTag itPixelDigiSrc_
Definition: Phase2TrackerMonitorDigi.h:76
Phase2TrackerMonitorDigi::XYOccupancyMap
MonitorElement * XYOccupancyMap
Definition: Phase2TrackerMonitorDigi.h:61
Phase2TrackerMonitorDigi::Ph2DigiCluster::width
int width
Definition: Phase2TrackerMonitorDigi.h:55
edm::Handle
Definition: AssociativeIterator.h:50
Phase2TrackerMonitorDigi::DigiMEs::FractionOfOvTBitsVsEta
MonitorElement * FractionOfOvTBitsVsEta
Definition: Phase2TrackerMonitorDigi.h:45
Phase2TrackerMonitorDigi::Ph2DigiCluster::position
int position
Definition: Phase2TrackerMonitorDigi.h:54
Phase2TrackerMonitorDigi::DigiMEs::NumberOfClustersPerDet
MonitorElement * NumberOfClustersPerDet
Definition: Phase2TrackerMonitorDigi.h:40
Phase2TrackerMonitorDigi::DigiMEs
Definition: Phase2TrackerMonitorDigi.h:29
Phase2TrackerMonitorDigi::XYPositionMap
MonitorElement * XYPositionMap
Definition: Phase2TrackerMonitorDigi.h:59
TrackerTopology.h
Phase2TrackerMonitorDigi::DigiMEs::nHitDetsPerLayer
unsigned int nHitDetsPerLayer
Definition: Phase2TrackerMonitorDigi.h:49
Phase2TrackerMonitorDigi::DigiMEs::nDigiPerLayer
unsigned int nDigiPerLayer
Definition: Phase2TrackerMonitorDigi.h:48
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
Phase2TrackerMonitorDigi::DigiMEs::NumberOfDigisPerDet
MonitorElement * NumberOfDigisPerDet
Definition: Phase2TrackerMonitorDigi.h:30
Phase2TrackerMonitorDigi::tTopo_
const TrackerTopology * tTopo_
Definition: Phase2TrackerMonitorDigi.h:82
Phase2TrackerMonitorDigi::DigiMEs::ChargeOfDigis
MonitorElement * ChargeOfDigis
Definition: Phase2TrackerMonitorDigi.h:36
Phase2TrackerMonitorDigi::DigiMEs::ClusterWidth
MonitorElement * ClusterWidth
Definition: Phase2TrackerMonitorDigi.h:41
DQMEDAnalyzer.h
Phase2TrackerMonitorDigi::DigiMEs::ClusterPositionS
MonitorElement * ClusterPositionS
Definition: Phase2TrackerMonitorDigi.h:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Phase2TrackerMonitorDigi::fillITPixelDigiHistos
void fillITPixelDigiHistos(const edm::Handle< edm::DetSetVector< PixelDigi >> handle)
Definition: Phase2TrackerMonitorDigi.cc:99
DQMEDAnalyzer
Definition: DQMEDAnalyzer.py:1
Phase2TrackerMonitorDigi::Phase2TrackerMonitorDigi
Phase2TrackerMonitorDigi(const edm::ParameterSet &)
Definition: Phase2TrackerMonitorDigi.cc:48
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
Phase2TrackerMonitorDigi::DigiMEs::PositionOfDigisP
MonitorElement * PositionOfDigisP
Definition: Phase2TrackerMonitorDigi.h:34
Phase2TrackerMonitorDigi::getHistoId
std::string getHistoId(uint32_t det_id, bool flag)
Definition: Phase2TrackerMonitorDigi.cc:712
iEvent
int iEvent
Definition: GenABIO.cc:224
Phase2TrackerMonitorDigi::layerMEs
std::map< std::string, DigiMEs > layerMEs
Definition: Phase2TrackerMonitorDigi.h:71
Phase2TrackerMonitorDigi::bookLayerHistos
void bookLayerHistos(DQMStore::IBooker &ibooker, unsigned int det_id)
Definition: Phase2TrackerMonitorDigi.cc:417
Phase2TrackerMonitorDigi::bookHistograms
void bookHistograms(DQMStore::IBooker &ibooker, edm::Run const &iRun, edm::EventSetup const &iSetup) override
Definition: Phase2TrackerMonitorDigi.cc:341
Phase2TrackerMonitorDigi::itPixelDigiToken_
const edm::EDGetTokenT< edm::DetSetVector< PixelDigi > > itPixelDigiToken_
Definition: Phase2TrackerMonitorDigi.h:78
edm::EventSetup
Definition: EventSetup.h:57
Phase2TrackerMonitorDigi::DigiMEs::DigiOccupancyS
MonitorElement * DigiOccupancyS
Definition: Phase2TrackerMonitorDigi.h:32
DetSetVector.h
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord >
Phase2TrackerMonitorDigi::fillDigiClusters
void fillDigiClusters(DigiMEs &mes, std::vector< Ph2DigiCluster > &digi_clusters)
Definition: Phase2TrackerMonitorDigi.cc:719
Phase2TrackerMonitorDigi::~Phase2TrackerMonitorDigi
~Phase2TrackerMonitorDigi() override
Definition: Phase2TrackerMonitorDigi.cc:65
Phase2TrackerDigi
Definition: Phase2TrackerDigi.h:12
Phase2TrackerMonitorDigi::dqmBeginRun
void dqmBeginRun(const edm::Run &iRun, const edm::EventSetup &iSetup) override
Definition: Phase2TrackerMonitorDigi.cc:71
Phase2TrackerMonitorDigi::DigiMEs::FractionOfOvTBits
MonitorElement * FractionOfOvTBits
Definition: Phase2TrackerMonitorDigi.h:44
Phase2TrackerMonitorDigi
Definition: Phase2TrackerMonitorDigi.h:20
DetId.h
Frameworkfwd.h
Phase2TrackerMonitorDigi::DigiMEs::DigiOccupancyP
MonitorElement * DigiOccupancyP
Definition: Phase2TrackerMonitorDigi.h:31
Phase2TrackerMonitorDigi::DigiMEs::ChargeOfDigisVsWidth
MonitorElement * ChargeOfDigisVsWidth
Definition: Phase2TrackerMonitorDigi.h:37
Phase2TrackerMonitorDigi::DigiMEs::EtaOccupancyProfP
MonitorElement * EtaOccupancyProfP
Definition: Phase2TrackerMonitorDigi.h:46
Phase2TrackerMonitorDigi::tkGeom_
const TrackerGeometry * tkGeom_
Definition: Phase2TrackerMonitorDigi.h:81
Phase2TrackerMonitorDigi::DigiMEs::NumberOfHitDetectorsPerLayer
MonitorElement * NumberOfHitDetectorsPerLayer
Definition: Phase2TrackerMonitorDigi.h:39
dqm::implementation::IBooker
Definition: DQMStore.h:43
Phase2TrackerMonitorDigi::topoToken_
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > topoToken_
Definition: Phase2TrackerMonitorDigi.h:80
Phase2TrackerMonitorDigi::Ph2DigiCluster::charge
int charge
Definition: Phase2TrackerMonitorDigi.h:53
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
ParameterSet.h
edm::Event
Definition: Event.h:73
Phase2TrackerMonitorDigi::DigiMEs::ClusterPositionP
MonitorElement * ClusterPositionP
Definition: Phase2TrackerMonitorDigi.h:42
edm::InputTag
Definition: InputTag.h:15
RemoveAddSevLevel.flag
flag
Definition: RemoveAddSevLevel.py:116
Phase2TrackerMonitorDigi::pixelFlag_
bool pixelFlag_
Definition: Phase2TrackerMonitorDigi.h:72
Phase2TrackerMonitorDigi::RZPositionMap
MonitorElement * RZPositionMap
Definition: Phase2TrackerMonitorDigi.h:60
TrackerGeometry
Definition: TrackerGeometry.h:14