#include <SiStripCommissioningSource.h>
Public Types | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
typedef std::map< unsigned int, CommissioningTask * > | TaskMap |
typedef std::vector< CommissioningTask * > | VecOfTasks |
typedef std::vector< VecOfTasks > | VecOfVecOfTasks |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | clearCablingTasks () |
void | clearTasks () |
void | createCablingTasks () |
void | createRunNumber () |
void | createTask (const SiStripEventSummary *const, const edm::EventSetup &) |
void | createTasks (sistrip::RunType, const edm::EventSetup &) |
void | directory (std::stringstream &, uint32_t run_number=0) |
DQMStore *const | dqm (std::string method="") const |
void | fillCablingHistos (const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &) |
void | fillHistos (const SiStripEventSummary *const, const edm::DetSetVector< SiStripRawDigi > &, const edm::DetSetVector< SiStripRawDigi > &=edm::DetSetVector< SiStripRawDigi >(), const edmNew::DetSetVector< SiStripCluster > &=edmNew::DetSetVector< SiStripCluster >()) |
void | remove () |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 34 of file SiStripCommissioningSource.h.
Definition at line 40 of file SiStripCommissioningSource.h.
Definition at line 41 of file SiStripCommissioningSource.h.
typedef std::map<unsigned int, CommissioningTask*> SiStripCommissioningSource::TaskMap |
Map of task objects, identified through FedChanelId
Definition at line 37 of file SiStripCommissioningSource.h.
typedef std::vector<CommissioningTask*> SiStripCommissioningSource::VecOfTasks |
Definition at line 38 of file SiStripCommissioningSource.h.
typedef std::vector<VecOfTasks> SiStripCommissioningSource::VecOfVecOfTasks |
Definition at line 39 of file SiStripCommissioningSource.h.
SiStripCommissioningSource::SiStripCommissioningSource | ( | const edm::ParameterSet & | pset | ) |
Definition at line 52 of file SiStripCommissioningSource.cc.
References sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, clustersToken_, digiFineDelaySelectionToken_, digiReorderedToken_, digiScopeModeToken_, digiVirginRawToken_, edm::EDConsumerBase::esConsumes(), inputClusterLabel_, inputModuleLabel_, inputModuleLabelAlt_, inputModuleLabelSummary_, inputModuleSummaryToken_, HLT_2022v14_cff::InputTag, isSpy_, LogTrace, sistrip::mlDqmSource_, sistrip::NOISE, noiseToken_, pedestalToken_, task_, and tasks_.
|
delete |
Private default constructor.
|
override |
Definition at line 109 of file SiStripCommissioningSource.cc.
References LogTrace, and sistrip::mlDqmSource_.
|
overridevirtual |
Implements edm::EDAnalyzer.
Definition at line 288 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, cablingTask_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, clustersToken_, createRunNumber(), createTask(), sistrip::DAQ_SCOPE_MODE, digiFineDelaySelectionToken_, digiReorderedToken_, digiScopeModeToken_, digiVirginRawToken_, sistrip::FAST_CABLING, sistrip::FED_CABLING, sistrip::FED_SCOPE_MODE, sistrip::FED_TIMING, sistrip::FED_VIRGIN_RAW, SiStripEnumsAndStrings::fedReadoutMode(), fillCablingHistos(), fillHistos(), sistrip::FINE_DELAY, inputClusterLabel_, inputModuleLabelAlt_, inputModuleSummaryToken_, isSpy_, edm::HandleBase::isValid(), sistrip::mlDqmSource_, sistrip::NOISE, sistrip::OPTO_SCAN, sistrip::PEDESTALS, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, run_, SiStripEnumsAndStrings::runType(), singleTopDQM_cfi::setup, contentValuesCheck::ss, edmLumisInFiles::summary, submitPVValidationJobs::t, task_, tasks_, tasksExist_, protons_cff::time, time_, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, updateFreq_, findQualityFiles::v, and sistrip::VPSP_SCAN.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 136 of file SiStripCommissioningSource.cc.
References base_, cablingTask_, clearCablingTasks(), clearTasks(), SiStripFecCabling::crates(), DeadROC_duringRun::dir, dqm(), dqm_, fecCabling_, fedCabling_, fedCablingToken_, SiStripFedCabling::fedIds(), LogDebug, LogTrace, sistrip::mlDqmSource_, Utilities::operator, singleTopDQM_cfi::setup, contentValuesCheck::ss, task_, tasksExist_, and sistrip::UNDEFINED_RUN_TYPE.
|
private |
Definition at line 1049 of file SiStripCommissioningSource.cc.
References cablingTasks_.
Referenced by beginRun().
|
private |
Definition at line 1063 of file SiStripCommissioningSource.cc.
References tasks_.
Referenced by beginRun().
|
private |
Definition at line 776 of file SiStripCommissioningSource.cc.
References base_, cablingTasks_, getInfo::conn, SiStripFecCabling::crates(), TauDecayModes::dec, DeadROC_duringRun::dir, dqm(), fecCabling_, sistrip::FED_CABLING, crabWrapper::key, LogTrace, sistrip::mlDqmSource_, castor_dqm_sourceclient_file_cfg::path, SiStripEnumsAndStrings::runType(), dqm::implementation::DQMStore::setCurrentFolder(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, task_, sistrip::UNDEFINED_RUN_TYPE, and sistrip::UNKNOWN_RUN_TYPE.
Referenced by createTask().
|
private |
Definition at line 679 of file SiStripCommissioningSource.cc.
References base_, dqm::implementation::IBooker::bookString(), dqm(), sistrip::mlDqmSource_, sistrip::root_, writedatasetfile::run, run_, sistrip::runNumber_, sistrip::sep_, dqm::implementation::DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 696 of file SiStripCommissioningSource.cc.
References base_, dqm::implementation::IBooker::bookString(), cablingTask_, createCablingTasks(), createTasks(), dqm(), sistrip::FED_CABLING, LogTrace, sistrip::mlDqmSource_, sistrip::root_, SiStripEnumsAndStrings::runType(), sistrip::sep_, dqm::implementation::DQMStore::setCurrentFolder(), singleTopDQM_cfi::setup, contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, edmLumisInFiles::summary, task_, taskConfigurable_, sistrip::taskId_, tasksExist_, sistrip::UNDEFINED_RUN_TYPE, and sistrip::UNKNOWN_RUN_TYPE.
Referenced by analyze().
|
private |
Definition at line 904 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, base_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, sistrip::DAQ_SCOPE_MODE, TauDecayModes::dec, sistrip::detectorView_, DeadROC_duringRun::dir, sistrip::dir_, dqm(), sistrip::FAST_CABLING, SiStripFedKey::feChan(), sistrip::FED_TIMING, fedCabling_, SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), SiStripFedKey::feUnit(), filename_, sistrip::FINE_DELAY, sistrip::invalid_, sistrip::mlDqmSource_, sistrip::NOISE, noiseToken_, sistrip::OPTO_SCAN, or, parameters_, l1ctLayer1_patternWriters_cff::partition, sistrip::PEDESTALS, pedestalToken_, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, sistrip::root_, run_, dqm::implementation::DQMStore::setCurrentFolder(), singleTopDQM_cfi::setup, contentValuesCheck::ss, task_, tasks_, sistrip::UNDEFINED_RUN_TYPE, updateFreq_, view_, and sistrip::VPSP_SCAN.
Referenced by createTask().
|
private |
Definition at line 1089 of file SiStripCommissioningSource.cc.
References DeadROC_duringRun::dir, hcalSimParameters_cfi::he, contentValuesCheck::run_number, AlCaHLTBitMon_QueryRunRegistry::string, and createJobs::tmp.
Referenced by endJob().
|
private |
Definition at line 116 of file SiStripCommissioningSource.cc.
References dqm_, AlcaSiPixelAliHarvester0T_cff::method, sistrip::mlDqmSource_, and contentValuesCheck::ss.
Referenced by beginRun(), createCablingTasks(), createRunNumber(), createTask(), createTasks(), and endJob().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 181 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, cablingTasks_, sistrip::DAQ_SCOPE_MODE, DeadROC_duringRun::dir, directory(), dqm(), fecCabling_, fedCabling_, SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), filename_, sistrip::FINE_DELAY, LogTrace, sistrip::mlDqmSource_, Skims_PA_cff::name, l1ctLayer1_patternWriters_cff::partition, partitionName_, run_, dqm::implementation::DQMStore::save(), contentValuesCheck::ss, AlCaHLTBitMon_QueryRunRegistry::string, task_, and tasks_.
|
private |
Definition at line 417 of file SiStripCommissioningSource.cc.
References PDRates::average, cablingTasks_, sistrip::CCU_CHAN, ewkTauDQM_cfi::channels, TauDecayModes::dec, edm::DetSetVector< T >::end(), fecCabling_, fedCabling_, SiStripFedCabling::fedIds(), edm::DetSetVector< T >::find(), cuy::ii, sistrip::invalid_, findQualityFiles::jj, SiStripKey::key(), LogTrace, sistrip::mlDqmSource_, sistrip::mlTest_, SiStripFecCabling::module(), callgraph::module, submitPVValidationJobs::params, castor_dqm_sourceclient_file_cfg::path, contentValuesCheck::ss, edmLumisInFiles::summary, and createJobs::tmp.
Referenced by analyze().
|
private |
Definition at line 569 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, bsc_activity_cfg::clusters, TauDecayModes::dec, edm::DetSetVector< T >::empty(), edm::DetSetVector< T >::end(), fedCabling_, SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), edm::DetSetVector< T >::find(), sistrip::FINE_DELAY, sistrip::invalid_, sistrip::mlDqmSource_, or, contentValuesCheck::ss, edmLumisInFiles::summary, task_, tasks_, and sistrip::valid_.
Referenced by analyze().
|
private |
Definition at line 1083 of file SiStripCommissioningSource.cc.
|
private |
Definition at line 159 of file SiStripCommissioningSource.h.
Referenced by beginRun(), createCablingTasks(), createRunNumber(), createTask(), and createTasks().
|
private |
Flag to indicate whether task is FED cabling or not.
Definition at line 153 of file SiStripCommissioningSource.h.
Referenced by analyze(), beginRun(), and createTask().
|
private |
Map of cabling task objects (indexed using FEC key).
Definition at line 147 of file SiStripCommissioningSource.h.
Referenced by clearCablingTasks(), createCablingTasks(), endJob(), and fillCablingHistos().
|
private |
Definition at line 112 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Definition at line 111 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Definition at line 109 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Definition at line 110 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Definition at line 108 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Interface to Data Quality Monitoring framework.
Definition at line 97 of file SiStripCommissioningSource.h.
Referenced by beginRun(), and dqm().
|
private |
Definition at line 104 of file SiStripCommissioningSource.h.
Referenced by beginRun(), createCablingTasks(), endJob(), and fillCablingHistos().
|
private |
Definition at line 101 of file SiStripCommissioningSource.h.
Referenced by beginRun(), createTasks(), endJob(), fillCablingHistos(), and fillHistos().
|
private |
Definition at line 100 of file SiStripCommissioningSource.h.
Referenced by beginRun().
|
private |
Filename of output root file containing source histos.
Definition at line 121 of file SiStripCommissioningSource.h.
Referenced by createTasks(), and endJob().
|
private |
Definition at line 118 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Name of digi input module.
Definition at line 115 of file SiStripCommissioningSource.h.
Referenced by SiStripCommissioningSource().
|
private |
Definition at line 116 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Definition at line 117 of file SiStripCommissioningSource.h.
Referenced by SiStripCommissioningSource().
|
private |
Definition at line 107 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Is this a spy run ?
Definition at line 133 of file SiStripCommissioningSource.h.
Referenced by analyze(), and SiStripCommissioningSource().
|
private |
Definition at line 168 of file SiStripCommissioningSource.h.
Referenced by createTasks(), and SiStripCommissioningSource().
|
private |
parameters to pass to the tasks
Definition at line 165 of file SiStripCommissioningSource.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Types.EDAlias::clone(), Mixins._TypedParameterizable::copy(), and createTasks().
|
private |
Partition name used for root files in spy
Definition at line 127 of file SiStripCommissioningSource.h.
Referenced by endJob().
|
private |
Definition at line 167 of file SiStripCommissioningSource.h.
Referenced by createTasks(), and SiStripCommissioningSource().
|
private |
Run number used for naming of root file.
Definition at line 124 of file SiStripCommissioningSource.h.
Referenced by analyze(), createRunNumber(), createTasks(), and endJob().
|
private |
Identifies commissioning task.
Definition at line 141 of file SiStripCommissioningSource.h.
Referenced by analyze(), beginRun(), createCablingTasks(), createTask(), createTasks(), endJob(), fillHistos(), and SiStripCommissioningSource().
|
private |
Identifies commissioning task read from cfg file.
Definition at line 138 of file SiStripCommissioningSource.h.
Referenced by createTask().
|
private |
Vector of vector of task objects (indexed using FED id.ch.
Definition at line 144 of file SiStripCommissioningSource.h.
Referenced by analyze(), clearTasks(), createTasks(), endJob(), fillHistos(), and SiStripCommissioningSource().
|
private |
Flag to indicate whether histo objects exist or not.
Definition at line 150 of file SiStripCommissioningSource.h.
Referenced by analyze(), beginRun(), and createTask().
|
private |
Record of time used to calculate event rate.
Definition at line 130 of file SiStripCommissioningSource.h.
Referenced by analyze().
|
private |
Update frequency for histograms (ignored for cabling).
Definition at line 156 of file SiStripCommissioningSource.h.
Referenced by analyze(), and createTasks().
|
private |
flag for choosing the organizational 'view' the DQM histogram tree
Definition at line 162 of file SiStripCommissioningSource.h.
Referenced by createTasks().