#include <SiStripCommissioningSource.h>
Public Types | |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginRun (edm::Run const &, const edm::EventSetup &) |
void | endJob () |
SiStripCommissioningSource (const edm::ParameterSet &) | |
~SiStripCommissioningSource () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 > &) |
void | remove () |
SiStripCommissioningSource () | |
Private Attributes | |
std::string | base_ |
bool | cablingTask_ |
TaskMap | cablingTasks_ |
DQMStore * | dqm_ |
SiStripFecCabling * | fecCabling_ |
SiStripFedCabling * | fedCabling_ |
std::string | filename_ |
std::string | inputModuleLabel_ |
std::string | inputModuleLabelSummary_ |
edm::ParameterSet | parameters_ |
uint32_t | run_ |
sistrip::RunType | task_ |
std::string | taskConfigurable_ |
VecOfVecOfTasks | tasks_ |
bool | tasksExist_ |
int32_t | time_ |
int | updateFreq_ |
std::string | view_ |
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 &) |
Protected Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 26 of file SiStripCommissioningSource.h.
typedef std::map<unsigned int, CommissioningTask*> SiStripCommissioningSource::TaskMap |
Map of task objects, identified through FedChanelId
Definition at line 31 of file SiStripCommissioningSource.h.
typedef std::vector<CommissioningTask*> SiStripCommissioningSource::VecOfTasks |
Definition at line 32 of file SiStripCommissioningSource.h.
typedef std::vector<VecOfTasks> SiStripCommissioningSource::VecOfVecOfTasks |
Definition at line 33 of file SiStripCommissioningSource.h.
SiStripCommissioningSource::SiStripCommissioningSource | ( | const edm::ParameterSet & | pset | ) |
Definition at line 55 of file SiStripCommissioningSource.cc.
References LogTrace, sistrip::mlDqmSource_, and tasks_.
SiStripCommissioningSource::~SiStripCommissioningSource | ( | ) |
Definition at line 84 of file SiStripCommissioningSource.cc.
References LogTrace, and sistrip::mlDqmSource_.
|
private |
Private default constructor.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 258 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, cablingTask_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, createRunNumber(), createTask(), sistrip::DAQ_SCOPE_MODE, edm::EventID::event(), sistrip::FAST_CABLING, sistrip::FED_CABLING, sistrip::FED_SCOPE_MODE, sistrip::FED_TIMING, sistrip::FED_VIRGIN_RAW, SiStripEnumsAndStrings::fedReadoutMode(), fillCablingHistos(), fillHistos(), sistrip::FINE_DELAY, edm::EventBase::id(), inputModuleLabel_, inputModuleLabelSummary_, sistrip::mlDqmSource_, sistrip::NOISE, NULL, sistrip::OPTO_SCAN, sistrip::PEDESTALS, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, edm::Handle< T >::product(), edm::EventID::run(), run_, SiStripEnumsAndStrings::runType(), HcalObjRepresent::setup(), edmLumisInFiles::summary, task_, tasksExist_, cond::rpcobgas::time, time_, sistrip::UNDEFINED_RUN_TYPE, sistrip::UNKNOWN_RUN_TYPE, updateFreq_, and sistrip::VPSP_SCAN.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 107 of file SiStripCommissioningSource.cc.
References base_, cablingTask_, clearCablingTasks(), clearTasks(), SiStripFecCabling::crates(), dir, dqm(), dqm_, fecCabling_, fedCabling_, SiStripFedCabling::feds(), edm::EventSetup::get(), LogDebug, LogTrace, sistrip::mlDqmSource_, cppFunctionSkipper::operator, edm::ESHandle< class >::product(), DQMStore::setVerbose(), task_, tasksExist_, and sistrip::UNDEFINED_RUN_TYPE.
|
private |
Definition at line 1100 of file SiStripCommissioningSource.cc.
References cablingTasks_.
Referenced by beginRun().
|
private |
Definition at line 1110 of file SiStripCommissioningSource.cc.
References tasks_.
Referenced by beginRun().
|
private |
Definition at line 789 of file SiStripCommissioningSource.cc.
References base_, cablingTasks_, results_mgr::conn, SiStripFecCabling::crates(), dir, dqm(), fecCabling_, sistrip::FED_CABLING, combine::key, sistrip::mlDqmSource_, getHLTPrescaleColumns::path, SiStripEnumsAndStrings::runType(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, task_, sistrip::UNDEFINED_RUN_TYPE, and sistrip::UNKNOWN_RUN_TYPE.
Referenced by createTask().
|
private |
Definition at line 680 of file SiStripCommissioningSource.cc.
References base_, DQMStore::bookString(), dqm(), sistrip::mlDqmSource_, sistrip::root_, DTTTrigCorrFirst::run, run_, sistrip::runNumber_, sistrip::sep_, DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 700 of file SiStripCommissioningSource.cc.
References base_, DQMStore::bookString(), cablingTask_, createCablingTasks(), createTasks(), dqm(), sistrip::FED_CABLING, LogTrace, sistrip::mlDqmSource_, sistrip::root_, SiStripEnumsAndStrings::runType(), SiStripEventSummary::runType(), sistrip::sep_, DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, task_, taskConfigurable_, sistrip::taskId_, tasksExist_, sistrip::UNDEFINED_RUN_TYPE, and sistrip::UNKNOWN_RUN_TYPE.
Referenced by analyze().
|
private |
Definition at line 927 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, sistrip::APV_TIMING, base_, sistrip::CALIBRATION, sistrip::CALIBRATION_DECO, sistrip::CALIBRATION_SCAN, sistrip::CALIBRATION_SCAN_DECO, SiStripFedCabling::connections(), sistrip::DAQ_SCOPE_MODE, sistrip::detectorView_, dir, sistrip::dir_, dqm(), sistrip::FAST_CABLING, SiStripFedKey::feChan(), sistrip::FED_TIMING, fedCabling_, SiStripFedCabling::feds(), SiStripFedKey::feUnit(), filename_, sistrip::FINE_DELAY, sistrip::invalid_, sistrip::mlDqmSource_, sistrip::NOISE, sistrip::OPTO_SCAN, parameters_, sistrip::PEDESTALS, sistrip::PEDS_FULL_NOISE, sistrip::PEDS_ONLY, sistrip::root_, run_, DQMStore::setCurrentFolder(), HcalObjRepresent::setup(), task_, tasks_, sistrip::UNDEFINED_RUN_TYPE, updateFreq_, view_, and sistrip::VPSP_SCAN.
Referenced by createTask().
|
private |
Definition at line 1136 of file SiStripCommissioningSource.cc.
References evf::utils::pid, pos, AlCaHLTBitMon_QueryRunRegistry::string, and tmp.
Referenced by endJob().
|
private |
Definition at line 92 of file SiStripCommissioningSource.cc.
References dqm_, and sistrip::mlDqmSource_.
Referenced by beginRun(), createCablingTasks(), createRunNumber(), createTask(), createTasks(), endJob(), and remove().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 159 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, cablingTasks_, SiStripFedCabling::connections(), dir, directory(), dqm(), fecCabling_, fedCabling_, SiStripFedCabling::feds(), filename_, sistrip::FINE_DELAY, LogTrace, sistrip::mlDqmSource_, mergeVDriftHistosByStation::name, NULL, run_, DQMStore::save(), AlCaHLTBitMon_QueryRunRegistry::string, task_, and tasks_.
|
private |
Definition at line 360 of file SiStripCommissioningSource.cc.
References Averages::add(), PDRates::average, cablingTasks_, Averages::calc(), sistrip::CCU_CHAN, SiStripFecKey::ccuAddr(), SiStripFecKey::ccuChan(), SiStripKey::channel(), SiStripEventSummary::dcuId(), SiStripEventSummary::deviceId(), edm::DetSetVector< T >::end(), fecCabling_, SiStripFecKey::fecCrate(), SiStripFecKey::fecRing(), SiStripFecKey::fecSlot(), fedCabling_, SiStripFedCabling::feds(), edm::DetSetVector< T >::find(), cuy::ii, sistrip::invalid_, findQualityFiles::jj, SiStripKey::key(), SiStripModule::key(), LogTrace, Averages::Params::median_, sistrip::mlDqmSource_, sistrip::mlTest_, SiStripFecCabling::module(), getHLTPrescaleColumns::path, Averages::Params::rms_, and tmp.
Referenced by analyze().
|
private |
Definition at line 594 of file SiStripCommissioningSource.cc.
References sistrip::APV_LATENCY, SiStripFedCabling::connections(), edm::DetSetVector< T >::end(), fedCabling_, SiStripFedCabling::feds(), edm::DetSetVector< T >::find(), sistrip::FINE_DELAY, sistrip::invalid_, sistrip::mlDqmSource_, task_, tasks_, and sistrip::valid_.
Referenced by analyze().
|
private |
Definition at line 1125 of file SiStripCommissioningSource.cc.
References DQMStore::cd(), CommonMethods::dirExists(), dqm(), DQMStore::removeContents(), DQMStore::rmdir(), and sistrip::root_.
|
private |
Definition at line 137 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 131 of file SiStripCommissioningSource.h.
Referenced by analyze(), beginRun(), and createTask().
|
private |
Map of cabling task objects (indexed using FEC key).
Definition at line 125 of file SiStripCommissioningSource.h.
Referenced by clearCablingTasks(), createCablingTasks(), endJob(), and fillCablingHistos().
|
private |
Interface to Data Quality Monitoring framework.
Definition at line 90 of file SiStripCommissioningSource.h.
Referenced by beginRun(), and dqm().
|
private |
Definition at line 96 of file SiStripCommissioningSource.h.
Referenced by beginRun(), createCablingTasks(), endJob(), and fillCablingHistos().
|
private |
Definition at line 93 of file SiStripCommissioningSource.h.
Referenced by beginRun(), createTasks(), endJob(), fillCablingHistos(), and fillHistos().
|
private |
Filename of output root file containing source histos.
Definition at line 105 of file SiStripCommissioningSource.h.
Referenced by createTasks(), and endJob().
|
private |
Name of digi input module.
Definition at line 101 of file SiStripCommissioningSource.h.
Referenced by analyze().
|
private |
Definition at line 102 of file SiStripCommissioningSource.h.
Referenced by analyze().
|
private |
parameters to pass to the tasks
Definition at line 143 of file SiStripCommissioningSource.h.
Referenced by Mixins._TypedParameterizable::clone(), Types.PSet::clone(), Mixins._TypedParameterizable::copy(), and createTasks().
|
private |
Run number used for naming of root file.
Definition at line 108 of file SiStripCommissioningSource.h.
Referenced by analyze(), createRunNumber(), createTasks(), and endJob().
|
private |
Identifies commissioning task.
Definition at line 119 of file SiStripCommissioningSource.h.
Referenced by analyze(), beginRun(), createCablingTasks(), createTask(), createTasks(), endJob(), and fillHistos().
|
private |
Identifies commissioning task read from cfg file.
Definition at line 116 of file SiStripCommissioningSource.h.
Referenced by createTask().
|
private |
Vector of vector of task objects (indexed using FED id.ch.
Definition at line 122 of file SiStripCommissioningSource.h.
Referenced by clearTasks(), createTasks(), endJob(), fillHistos(), and SiStripCommissioningSource().
|
private |
Flag to indicate whether histo objects exist or not.
Definition at line 128 of file SiStripCommissioningSource.h.
Referenced by analyze(), beginRun(), and createTask().
|
private |
Record of time used to calculate event rate.
Definition at line 111 of file SiStripCommissioningSource.h.
Referenced by analyze().
|
private |
Update frequency for histograms (ignored for cabling).
Definition at line 134 of file SiStripCommissioningSource.h.
Referenced by analyze(), and createTasks().
|
private |
flag for choosing the organizational 'view' the DQM histogram tree
Definition at line 140 of file SiStripCommissioningSource.h.
Referenced by createTasks().