CMS 3D CMS Logo

SiStripCommissioningSource.h
Go to the documentation of this file.
1 #ifndef DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
2 #define DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
3 
17 #include <string>
18 #include <vector>
19 #include <map>
20 #include <cstdint>
21 
22 class CommissioningTask;
25 
30 public: // ---------- Public interface ----------
32  typedef std::map<unsigned int, CommissioningTask*> TaskMap;
33  typedef std::vector<CommissioningTask*> VecOfTasks;
34  typedef std::vector<VecOfTasks> VecOfVecOfTasks;
37 
39  ~SiStripCommissioningSource() override;
40 
41  void beginRun(edm::Run const&, const edm::EventSetup&) override;
42  void analyze(const edm::Event&, const edm::EventSetup&) override;
43  void endJob() override;
44 
45 private: // ---------- Private methods ----------
47  SiStripCommissioningSource() = delete;
48 
50  DQMStore* const dqm(std::string method = "") const;
51 
53  void createRunNumber();
54 
56  void createTask(const SiStripEventSummary* const, const edm::EventSetup&);
57 
59  void createCablingTasks();
60 
63 
65  void clearCablingTasks();
66 
68  void clearTasks();
69 
72 
74  void fillHistos(const SiStripEventSummary* const,
78 
80  void remove();
81 
83  void directory(std::stringstream&, uint32_t run_number = 0);
84 
86  //void cablingForConnectionRun( const sistrip::RunType& ); //@@ do not use!
87 
88  // ---------- DQM fwk and cabling ----------
89 
92 
95 
98 
99  // ---------- Input / output ----------
106 
112 
115 
117  uint32_t run_;
118 
121 
123  int32_t time_;
124 
126  bool isSpy_;
127 
128  // ---------- Histogram-related ----------
129 
132 
135 
138 
141 
144 
147 
150 
153 
156 
159 };
160 
161 #endif // DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
SiStripCommissioningSource::filename_
std::string filename_
Definition: SiStripCommissioningSource.h:114
edm::DetSetVector< SiStripRawDigi >
SiStripCommissioningSource::fedCabling_
SiStripFedCabling * fedCabling_
Definition: SiStripCommissioningSource.h:94
SiStripFecCabling
Definition: SiStripFecCabling.h:24
SiStripCommissioningSource::tasks_
VecOfVecOfTasks tasks_
Definition: SiStripCommissioningSource.h:137
SiStripCommissioningSource::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripCommissioningSource.cc:283
SiStripCommissioningSource::endJob
void endJob() override
Definition: SiStripCommissioningSource.cc:176
SiStripCommissioningSource::digiFineDelaySelectionToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiFineDelaySelectionToken_
Definition: SiStripCommissioningSource.h:104
SiStripCommissioningSource::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SiStripCommissioningSource.h:35
edm::Run
Definition: Run.h:45
edm::EDGetTokenT< SiStripEventSummary >
SiStripRawDigi.h
SiStripCommissioningSource::fillCablingHistos
void fillCablingHistos(const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &)
Definition: SiStripCommissioningSource.cc:412
AlcaSiPixelAliHarvester0T_cff.method
method
Definition: AlcaSiPixelAliHarvester0T_cff.py:41
SiStripFedCabling.h
DQMStore.h
SiStripCommissioningSource::TaskMap
std::map< unsigned int, CommissioningTask * > TaskMap
Definition: SiStripCommissioningSource.h:32
SiStripCommissioningSource::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SiStripCommissioningSource.h:36
dqm::legacy::MonitorElement
Definition: MonitorElement.h:461
contentValuesCheck.run_number
run_number
Definition: contentValuesCheck.py:38
EDAnalyzer.h
CommissioningTask
Definition: CommissioningTask.h:24
sistrip::RunType
RunType
Definition: ConstantsForRunType.h:70
SiStripCommissioningSource::inputModuleSummaryToken_
edm::EDGetTokenT< SiStripEventSummary > inputModuleSummaryToken_
Definition: SiStripCommissioningSource.h:100
SiStripFedCabling
Contains cabling info at the device level, including DetId, APV pair numbers, hardware addresses,...
Definition: SiStripFedCabling.h:25
SiStripCommissioningSource::taskConfigurable_
std::string taskConfigurable_
Definition: SiStripCommissioningSource.h:131
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SiStripCommissioningSource::dqm
DQMStore *const dqm(std::string method="") const
Definition: SiStripCommissioningSource.cc:110
SiStripCommissioningSource::updateFreq_
int updateFreq_
Definition: SiStripCommissioningSource.h:149
SiStripCommissioningSource::inputModuleLabelSummary_
std::string inputModuleLabelSummary_
Definition: SiStripCommissioningSource.h:110
dqm::legacy::DQMStore
Definition: DQMStore.h:727
SiStripCommissioningSource::parameters_
edm::ParameterSet parameters_
Definition: SiStripCommissioningSource.h:158
SiStripCommissioningSource::cablingTasks_
TaskMap cablingTasks_
Definition: SiStripCommissioningSource.h:140
SiStripCommissioningSource::SiStripCommissioningSource
SiStripCommissioningSource()=delete
SiStripDigi.h
SiStripCommissioningSource::remove
void remove()
Definition: SiStripCommissioningSource.cc:1078
SiStripCommissioningSource::directory
void directory(std::stringstream &, uint32_t run_number=0)
Definition: SiStripCommissioningSource.cc:1084
SiStripCommissioningSource::fecCabling_
SiStripFecCabling * fecCabling_
Definition: SiStripCommissioningSource.h:97
SiStripCommissioningSource::createCablingTasks
void createCablingTasks()
Definition: SiStripCommissioningSource.cc:771
SiStripCommissioningSource::inputClusterLabel_
std::string inputClusterLabel_
Definition: SiStripCommissioningSource.h:111
EDGetToken.h
SiStripCommissioningSource::inputModuleLabel_
std::string inputModuleLabel_
Definition: SiStripCommissioningSource.h:108
SiStripCommissioningSource::run_
uint32_t run_
Definition: SiStripCommissioningSource.h:117
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripCommissioningSource::tasksExist_
bool tasksExist_
Definition: SiStripCommissioningSource.h:143
FedChannelConnection
Class containning control, module, detector and connection information, at the level of a FED channel...
Definition: FedChannelConnection.h:26
SiStripConstants.h
edm::ParameterSet
Definition: ParameterSet.h:47
SiStripCluster.h
SiStripCommissioningSource::isSpy_
bool isSpy_
Definition: SiStripCommissioningSource.h:126
SiStripCommissioningSource::createTasks
void createTasks(sistrip::RunType, const edm::EventSetup &)
Definition: SiStripCommissioningSource.cc:899
SiStripCommissioningSource::partitionName_
std::string partitionName_
Definition: SiStripCommissioningSource.h:120
edm::EventSetup
Definition: EventSetup.h:57
SiStripCommissioningSource
Definition: SiStripCommissioningSource.h:29
DetSetVector.h
SiStripCommissioningSource::view_
std::string view_
Definition: SiStripCommissioningSource.h:155
SiStripCommissioningSource::task_
sistrip::RunType task_
Definition: SiStripCommissioningSource.h:134
SiStripCommissioningSource::base_
std::string base_
Definition: SiStripCommissioningSource.h:152
SiStripCommissioningSource::inputModuleLabelAlt_
std::string inputModuleLabelAlt_
Definition: SiStripCommissioningSource.h:109
SiStripCommissioningSource::beginRun
void beginRun(edm::Run const &, const edm::EventSetup &) override
Definition: SiStripCommissioningSource.cc:130
SiStripCommissioningSource::fillHistos
void fillHistos(const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &, const edm::DetSetVector< SiStripRawDigi > &=edm::DetSetVector< SiStripRawDigi >(), const edmNew::DetSetVector< SiStripCluster > &=edmNew::DetSetVector< SiStripCluster >())
Definition: SiStripCommissioningSource.cc:564
edmNew::DetSetVector
Definition: DetSetNew.h:13
SiStripCommissioningSource::digiVirginRawToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiVirginRawToken_
Definition: SiStripCommissioningSource.h:101
SiStripFecCabling.h
SiStripCommissioningSource::clearTasks
void clearTasks()
Definition: SiStripCommissioningSource.cc:1058
SiStripHistoTitle.h
SiStripCommissioningSource::clustersToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clustersToken_
Definition: SiStripCommissioningSource.h:105
SiStripCommissioningSource::digiReorderedToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiReorderedToken_
Definition: SiStripCommissioningSource.h:102
SiStripCommissioningSource::~SiStripCommissioningSource
~SiStripCommissioningSource() override
Definition: SiStripCommissioningSource.cc:103
SiStripCommissioningSource::clearCablingTasks
void clearCablingTasks()
Definition: SiStripCommissioningSource.cc:1044
ParameterSet.h
SiStripEventSummary
Definition: SiStripEventSummary.h:22
SiStripCommissioningSource::digiScopeModeToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiScopeModeToken_
Definition: SiStripCommissioningSource.h:103
SiStripCommissioningSource::createTask
void createTask(const SiStripEventSummary *const, const edm::EventSetup &)
Definition: SiStripCommissioningSource.cc:691
edm::Event
Definition: Event.h:73
SiStripCommissioningSource::VecOfVecOfTasks
std::vector< VecOfTasks > VecOfVecOfTasks
Definition: SiStripCommissioningSource.h:34
DetSetVectorNew.h
SiStripCommissioningSource::time_
int32_t time_
Definition: SiStripCommissioningSource.h:123
SiStripCommissioningSource::VecOfTasks
std::vector< CommissioningTask * > VecOfTasks
Definition: SiStripCommissioningSource.h:33
SiStripCommissioningSource::createRunNumber
void createRunNumber()
Definition: SiStripCommissioningSource.cc:674
SiStripCommissioningSource::dqm_
DQMStore * dqm_
Definition: SiStripCommissioningSource.h:91
SiStripCommissioningSource::cablingTask_
bool cablingTask_
Definition: SiStripCommissioningSource.h:146