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 
22 #include <string>
23 #include <vector>
24 #include <map>
25 #include <cstdint>
26 
27 class CommissioningTask;
30 
35 public: // ---------- Public interface ----------
37  typedef std::map<unsigned int, CommissioningTask*> TaskMap;
38  typedef std::vector<CommissioningTask*> VecOfTasks;
39  typedef std::vector<VecOfTasks> VecOfVecOfTasks;
42 
44  ~SiStripCommissioningSource() override;
45 
46  void beginRun(edm::Run const&, const edm::EventSetup&) override;
47  void analyze(const edm::Event&, const edm::EventSetup&) override;
48  void endJob() override;
49 
50 private: // ---------- Private methods ----------
52  SiStripCommissioningSource() = delete;
53 
55  DQMStore* const dqm(std::string method = "") const;
56 
58  void createRunNumber();
59 
61  void createTask(const SiStripEventSummary* const, const edm::EventSetup&);
62 
64  void createCablingTasks();
65 
68 
70  void clearCablingTasks();
71 
73  void clearTasks();
74 
77 
79  void fillHistos(const SiStripEventSummary* const,
83 
85  void remove();
86 
88  void directory(std::stringstream&, uint32_t run_number = 0);
89 
91  //void cablingForConnectionRun( const sistrip::RunType& ); //@@ do not use!
92 
93  // ---------- DQM fwk and cabling ----------
94 
97 
101 
104 
105  // ---------- Input / output ----------
112 
118 
121 
123  uint32_t run_;
124 
127 
129  int32_t time_;
130 
132  bool isSpy_;
133 
134  // ---------- Histogram-related ----------
135 
138 
141 
144 
147 
150 
153 
156 
159 
162 
165 
168 };
169 
170 #endif // DQM_SiStripCommissioningSources_SiStripCommissioningSource_H
SiStripCommissioningSource::filename_
std::string filename_
Definition: SiStripCommissioningSource.h:120
edm::DetSetVector< SiStripRawDigi >
SiStripCommissioningSource::fedCabling_
SiStripFedCabling * fedCabling_
Definition: SiStripCommissioningSource.h:100
SiStripFecCabling
Definition: SiStripFecCabling.h:24
SiStripCommissioningSource::tasks_
VecOfVecOfTasks tasks_
Definition: SiStripCommissioningSource.h:143
SiStripCommissioningSource::analyze
void analyze(const edm::Event &, const edm::EventSetup &) override
Definition: SiStripCommissioningSource.cc:288
SiStripCommissioningSource::endJob
void endJob() override
Definition: SiStripCommissioningSource.cc:181
SiStripCommissioningSource::digiFineDelaySelectionToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiFineDelaySelectionToken_
Definition: SiStripCommissioningSource.h:110
SiStripCommissioningSource::DQMStore
dqm::legacy::DQMStore DQMStore
Definition: SiStripCommissioningSource.h:40
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:417
AlcaSiPixelAliHarvester0T_cff.method
method
Definition: AlcaSiPixelAliHarvester0T_cff.py:41
SiStripFedCabling.h
DQMStore.h
SiStripCommissioningSource::TaskMap
std::map< unsigned int, CommissioningTask * > TaskMap
Definition: SiStripCommissioningSource.h:37
SiStripCommissioningSource::MonitorElement
dqm::legacy::MonitorElement MonitorElement
Definition: SiStripCommissioningSource.h:41
dqm::legacy::MonitorElement
Definition: MonitorElement.h:462
contentValuesCheck.run_number
run_number
Definition: contentValuesCheck.py:38
EDAnalyzer.h
SiStripNoises.h
CommissioningTask
Definition: CommissioningTask.h:24
sistrip::RunType
RunType
Definition: ConstantsForRunType.h:70
SiStripCommissioningSource::inputModuleSummaryToken_
edm::EDGetTokenT< SiStripEventSummary > inputModuleSummaryToken_
Definition: SiStripCommissioningSource.h:106
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:137
edm::EDAnalyzer
Definition: EDAnalyzer.h:28
SiStripCommissioningSource::dqm
DQMStore *const dqm(std::string method="") const
Definition: SiStripCommissioningSource.cc:116
SiStripCommissioningSource::updateFreq_
int updateFreq_
Definition: SiStripCommissioningSource.h:155
SiStripCommissioningSource::noiseToken_
edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noiseToken_
Definition: SiStripCommissioningSource.h:167
SiStripCommissioningSource::inputModuleLabelSummary_
std::string inputModuleLabelSummary_
Definition: SiStripCommissioningSource.h:116
dqm::legacy::DQMStore
Definition: DQMStore.h:728
SiStripCommissioningSource::parameters_
edm::ParameterSet parameters_
Definition: SiStripCommissioningSource.h:164
SiStripCommissioningSource::cablingTasks_
TaskMap cablingTasks_
Definition: SiStripCommissioningSource.h:146
SiStripCommissioningSource::SiStripCommissioningSource
SiStripCommissioningSource()=delete
SiStripDigi.h
SiStripCommissioningSource::remove
void remove()
Definition: SiStripCommissioningSource.cc:1083
SiStripCommissioningSource::directory
void directory(std::stringstream &, uint32_t run_number=0)
Definition: SiStripCommissioningSource.cc:1089
SiStripPedestalsRcd.h
SiStripCommissioningSource::fecCabling_
SiStripFecCabling * fecCabling_
Definition: SiStripCommissioningSource.h:103
SiStripCommissioningSource::createCablingTasks
void createCablingTasks()
Definition: SiStripCommissioningSource.cc:776
SiStripCommissioningSource::inputClusterLabel_
std::string inputClusterLabel_
Definition: SiStripCommissioningSource.h:117
EDGetToken.h
SiStripCommissioningSource::inputModuleLabel_
std::string inputModuleLabel_
Definition: SiStripCommissioningSource.h:114
SiStripCommissioningSource::run_
uint32_t run_
Definition: SiStripCommissioningSource.h:123
SiStripCommissioningSource::tasksExist_
bool tasksExist_
Definition: SiStripCommissioningSource.h:149
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:132
SiStripCommissioningSource::createTasks
void createTasks(sistrip::RunType, const edm::EventSetup &)
Definition: SiStripCommissioningSource.cc:904
SiStripCommissioningSource::fedCablingToken_
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > fedCablingToken_
Definition: SiStripCommissioningSource.h:99
SiStripCommissioningSource::partitionName_
std::string partitionName_
Definition: SiStripCommissioningSource.h:126
edm::EventSetup
Definition: EventSetup.h:58
SiStripCommissioningSource
Definition: SiStripCommissioningSource.h:34
DetSetVector.h
SiStripCommissioningSource::view_
std::string view_
Definition: SiStripCommissioningSource.h:161
SiStripCommissioningSource::task_
sistrip::RunType task_
Definition: SiStripCommissioningSource.h:140
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd >
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
SiStripCommissioningSource::base_
std::string base_
Definition: SiStripCommissioningSource.h:158
SiStripCommissioningSource::inputModuleLabelAlt_
std::string inputModuleLabelAlt_
Definition: SiStripCommissioningSource.h:115
SiStripCommissioningSource::beginRun
void beginRun(edm::Run const &, const edm::EventSetup &) override
Definition: SiStripCommissioningSource.cc:136
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:569
edmNew::DetSetVector
Definition: DetSetNew.h:13
SiStripCommissioningSource::digiVirginRawToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiVirginRawToken_
Definition: SiStripCommissioningSource.h:107
SiStripFecCabling.h
SiStripCommissioningSource::clearTasks
void clearTasks()
Definition: SiStripCommissioningSource.cc:1063
SiStripHistoTitle.h
SiStripCommissioningSource::clustersToken_
edm::EDGetTokenT< edmNew::DetSetVector< SiStripCluster > > clustersToken_
Definition: SiStripCommissioningSource.h:111
SiStripCommissioningSource::digiReorderedToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiReorderedToken_
Definition: SiStripCommissioningSource.h:108
SiStripPedestals.h
SiStripFedCablingRcd.h
SiStripNoisesRcd.h
SiStripCommissioningSource::~SiStripCommissioningSource
~SiStripCommissioningSource() override
Definition: SiStripCommissioningSource.cc:109
SiStripCommissioningSource::clearCablingTasks
void clearCablingTasks()
Definition: SiStripCommissioningSource.cc:1049
ParameterSet.h
SiStripEventSummary
Definition: SiStripEventSummary.h:22
SiStripCommissioningSource::digiScopeModeToken_
edm::EDGetTokenT< edm::DetSetVector< SiStripRawDigi > > digiScopeModeToken_
Definition: SiStripCommissioningSource.h:109
SiStripCommissioningSource::createTask
void createTask(const SiStripEventSummary *const, const edm::EventSetup &)
Definition: SiStripCommissioningSource.cc:696
edm::Event
Definition: Event.h:73
SiStripCommissioningSource::VecOfVecOfTasks
std::vector< VecOfTasks > VecOfVecOfTasks
Definition: SiStripCommissioningSource.h:39
DetSetVectorNew.h
SiStripCommissioningSource::time_
int32_t time_
Definition: SiStripCommissioningSource.h:129
SiStripCommissioningSource::VecOfTasks
std::vector< CommissioningTask * > VecOfTasks
Definition: SiStripCommissioningSource.h:38
SiStripCommissioningSource::pedestalToken_
edm::ESGetToken< SiStripPedestals, SiStripPedestalsRcd > pedestalToken_
Definition: SiStripCommissioningSource.h:166
SiStripCommissioningSource::createRunNumber
void createRunNumber()
Definition: SiStripCommissioningSource.cc:679
SiStripCommissioningSource::dqm_
DQMStore * dqm_
Definition: SiStripCommissioningSource.h:96
SiStripCommissioningSource::cablingTask_
bool cablingTask_
Definition: SiStripCommissioningSource.h:152