#include <EERawDataTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob (void) |
BeginJob. More... | |
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) |
BeginLuminosityBlock. More... | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
BeginRun. More... | |
void | cleanup (void) |
Cleanup. More... | |
void | endJob (void) |
EndJob. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup) |
EndLuminosityBlock. More... | |
void | endRun (const edm::Run &r, const edm::EventSetup &c) |
EndRun. More... | |
void | reset (void) |
Reset. More... | |
void | setup (void) |
Setup. More... | |
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) |
Private Types | |
enum | activeEVM { TCS, FDLEVM } |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 21 of file EERawDataTask.h.
|
private |
Enumerator | |
---|---|
TCS | |
FDLEVM |
Definition at line 109 of file EERawDataTask.h.
EERawDataTask::EERawDataTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 29 of file EERawDataTask.cc.
References calibrationBX_, dqmStore_, EcalRawDataCollection_, enableCleanup_, FEDRawDataCollection_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), init_, meEEBunchCrossingDCCErrors_, meEEBunchCrossingFEErrors_, meEEBunchCrossingSRPErrors_, meEEBunchCrossingTCCErrors_, meEECalibrationEventErrors_, meEECRCErrors_, meEEEventTypeCalibrationBX_, meEEEventTypePostCalibrationBX_, meEEEventTypePreCalibrationBX_, meEEL1ADCCErrors_, meEEL1AFEErrors_, meEEL1ASRPErrors_, meEEL1ATCCErrors_, meEEOrbitNumberErrors_, meEERunNumberErrors_, meEESynchronizationErrorsByLumi_, meEESynchronizationErrorsTrend_, meEETriggerTypeErrors_, mergeRuns_, cppFunctionSkipper::operator, prefixME_, AlCaHLTBitMon_QueryRunRegistry::string, and subfolder_.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 413 of file EERawDataTask.cc.
References edm::EventBase::bunchCrossing(), calibrationBX_, EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, FEDRawData::data(), EcalEndcap, EcalRawDataCollection_, edm::EventBase::experimentType(), fatalErrors_, FEDRawDataCollection_, MonitorElement::Fill(), edm::Event::getByToken(), H_BX_MASK, H_L1_MASK, H_ORBITCOUNTER_MASK, H_TTYPE_MASK, i, edm::EventBase::id(), ievt_, init_, ecalpyutils::ism(), Numbers::iSM(), edm::EventBase::isRealData(), ls_, FEDHeader::lvl1ID(), MAX_TCC_SIZE, meEEBunchCrossingDCCErrors_, meEEBunchCrossingFEErrors_, meEEBunchCrossingSRPErrors_, meEEBunchCrossingTCCErrors_, meEECalibrationEventErrors_, meEECRCErrors_, meEEEventTypeCalibrationBX_, meEEEventTypePostCalibrationBX_, meEEEventTypePreCalibrationBX_, meEEL1ADCCErrors_, meEEL1AFEErrors_, meEEL1ASRPErrors_, meEEL1ATCCErrors_, meEEOrbitNumberErrors_, meEERunNumberErrors_, meEESynchronizationErrorsByLumi_, meEESynchronizationErrorsTrend_, meEETriggerTypeErrors_, EcalDCCHeaderBlock::MTCC, edm::EventBase::orbitNumber(), EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, edm::EventID::run(), setup(), FEDRawData::size(), ntuplemaker::status, and Numbers::subDet().
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 74 of file EERawDataTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), DQMStore::setCurrentFolder(), and subfolder_.
|
protectedvirtual |
BeginLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 87 of file EERawDataTask.cc.
References newFWLiteAna::bin, fatalErrors_, MonitorElement::getTH1(), init_, ls_, edm::LuminosityBlockBase::luminosityBlock(), meEESynchronizationErrorsByLumi_, meEESynchronizationErrorsTrend_, MonitorElement::Reset(), MonitorElement::setBinContent(), and setup().
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 103 of file EERawDataTask.cc.
References fatalErrors_, MonitorElement::getTH1(), Numbers::initGeometry(), meEESynchronizationErrorsTrend_, mergeRuns_, and reset().
|
protected |
Cleanup.
Definition at line 326 of file EERawDataTask.cc.
References dqmStore_, MonitorElement::getName(), init_, meEEBunchCrossingDCCErrors_, meEEBunchCrossingFEErrors_, meEEBunchCrossingSRPErrors_, meEEBunchCrossingTCCErrors_, meEECalibrationEventErrors_, meEECRCErrors_, meEEEventTypeCalibrationBX_, meEEEventTypePostCalibrationBX_, meEEEventTypePreCalibrationBX_, meEEL1ADCCErrors_, meEEL1AFEErrors_, meEEL1ASRPErrors_, meEEL1ATCCErrors_, meEEOrbitNumberErrors_, meEERunNumberErrors_, meEESynchronizationErrorsByLumi_, meEESynchronizationErrorsTrend_, meEETriggerTypeErrors_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and subfolder_.
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 405 of file EERawDataTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
EndLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 394 of file EERawDataTask.cc.
References MonitorElement::getBinContent(), MonitorElement::getTH1(), ls_, meEESynchronizationErrorsTrend_, and MonitorElement::setBinContent().
|
protectedvirtual |
|
protected |
Reset.
Definition at line 119 of file EERawDataTask.cc.
References meEEBunchCrossingDCCErrors_, meEEBunchCrossingFEErrors_, meEEBunchCrossingSRPErrors_, meEEBunchCrossingTCCErrors_, meEECalibrationEventErrors_, meEECRCErrors_, meEEEventTypeCalibrationBX_, meEEEventTypePostCalibrationBX_, meEEEventTypePreCalibrationBX_, meEEL1ADCCErrors_, meEEL1AFEErrors_, meEEL1ASRPErrors_, meEEL1ATCCErrors_, meEEOrbitNumberErrors_, meEERunNumberErrors_, meEESynchronizationErrorsByLumi_, meEESynchronizationErrorsTrend_, meEETriggerTypeErrors_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 141 of file EERawDataTask.cc.
References EcalDCCHeaderBlock::BEAMH2, EcalDCCHeaderBlock::BEAMH4, DQMStore::book1D(), EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, dqmStore_, EcalDCCHeaderBlock::HALO_GLOBAL, EcalDCCHeaderBlock::HALO_LOCAL, i, init_, EcalDCCHeaderBlock::LASER_DELAY_SCAN, EcalDCCHeaderBlock::LASER_GAP, EcalDCCHeaderBlock::LASER_POWER_SCAN, EcalDCCHeaderBlock::LASER_STD, EcalDCCHeaderBlock::LED_GAP, EcalDCCHeaderBlock::LED_STD, meEEBunchCrossingDCCErrors_, meEEBunchCrossingFEErrors_, meEEBunchCrossingSRPErrors_, meEEBunchCrossingTCCErrors_, meEECalibrationEventErrors_, meEECRCErrors_, meEEEventTypeCalibrationBX_, meEEEventTypePostCalibrationBX_, meEEEventTypePreCalibrationBX_, meEEL1ADCCErrors_, meEEL1AFEErrors_, meEEL1ASRPErrors_, meEEL1ATCCErrors_, meEEOrbitNumberErrors_, meEERunNumberErrors_, meEESynchronizationErrorsByLumi_, meEESynchronizationErrorsTrend_, meEETriggerTypeErrors_, EcalDCCHeaderBlock::MTCC, mergeVDriftHistosByStation::name, EcalDCCHeaderBlock::PEDESTAL_25NS_SCAN, EcalDCCHeaderBlock::PEDESTAL_GAP, EcalDCCHeaderBlock::PEDESTAL_OFFSET_SCAN, EcalDCCHeaderBlock::PEDESTAL_STD, EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, prefixME_, Numbers::sEE(), MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), MonitorElement::setLumiFlag(), AlCaHLTBitMon_QueryRunRegistry::string, subfolder_, EcalDCCHeaderBlock::TESTPULSE_GAP, EcalDCCHeaderBlock::TESTPULSE_MGPA, and EcalDCCHeaderBlock::TESTPULSE_SCAN_MEM.
Referenced by analyze(), and beginLuminosityBlock().
|
private |
Definition at line 107 of file EERawDataTask.h.
Referenced by analyze(), and EERawDataTask().
|
private |
Definition at line 67 of file EERawDataTask.h.
Referenced by beginJob(), cleanup(), EERawDataTask(), and setup().
|
private |
Definition at line 78 of file EERawDataTask.h.
Referenced by analyze(), and EERawDataTask().
|
private |
Definition at line 73 of file EERawDataTask.h.
Referenced by EERawDataTask(), and endJob().
|
private |
Definition at line 103 of file EERawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 77 of file EERawDataTask.h.
Referenced by analyze(), and EERawDataTask().
|
private |
Definition at line 65 of file EERawDataTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 105 of file EERawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), cleanup(), EERawDataTask(), and setup().
|
private |
Definition at line 101 of file EERawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 89 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 91 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 95 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 93 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 87 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 80 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 82 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 83 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 81 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 88 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 90 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 94 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 92 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 85 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 84 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 97 of file EERawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 99 of file EERawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), cleanup(), EERawDataTask(), endLuminosityBlock(), reset(), and setup().
|
private |
Definition at line 86 of file EERawDataTask.h.
Referenced by analyze(), cleanup(), EERawDataTask(), reset(), and setup().
|
private |
Definition at line 75 of file EERawDataTask.h.
Referenced by beginRun(), and EERawDataTask().
|
private |
Definition at line 69 of file EERawDataTask.h.
Referenced by beginJob(), cleanup(), EERawDataTask(), and setup().
|
private |
Definition at line 71 of file EERawDataTask.h.
Referenced by beginJob(), cleanup(), EERawDataTask(), and setup().