#include <EBRawDataTask.h>
Public Member Functions | |
EBRawDataTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EBRawDataTask () |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
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::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
Private Types | |
enum | activeEVM { TCS, FDLEVM } |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
typedef WorkerT< EDAnalyzer > | WorkerType |
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 20 of file EBRawDataTask.h.
|
private |
Enumerator | |
---|---|
TCS | |
FDLEVM |
Definition at line 108 of file EBRawDataTask.h.
EBRawDataTask::EBRawDataTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 33 of file EBRawDataTask.cc.
References calibrationBX_, dqmStore_, EcalRawDataCollection_, enableCleanup_, FEDRawDataCollection_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), init_, meEBBunchCrossingDCCErrors_, meEBBunchCrossingFEErrors_, meEBBunchCrossingSRPErrors_, meEBBunchCrossingTCCErrors_, meEBCalibrationEventErrors_, meEBCRCErrors_, meEBEventTypeCalibrationBX_, meEBEventTypePostCalibrationBX_, meEBEventTypePreCalibrationBX_, meEBL1ADCCErrors_, meEBL1AFEErrors_, meEBL1ASRPErrors_, meEBL1ATCCErrors_, meEBOrbitNumberErrors_, meEBRunNumberErrors_, meEBSynchronizationErrorsByLumi_, meEBSynchronizationErrorsTrend_, meEBTriggerTypeErrors_, mergeRuns_, cppFunctionSkipper::operator, prefixME_, and subfolder_.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 418 of file EBRawDataTask.cc.
References edm::EventBase::bunchCrossing(), calibrationBX_, EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, FEDRawData::data(), EcalBarrel, EcalRawDataCollection_, edm::EventBase::experimentType(), fatalErrors_, FEDRawDataCollection_, MonitorElement::Fill(), edm::Event::getByLabel(), H_BX_MASK, H_L1_MASK, H_ORBITCOUNTER_MASK, H_TTYPE_MASK, errorMatrix2Lands::header, i, edm::EventBase::id(), ievt_, ecalpyutils::ism(), Numbers::iSM(), edm::EventBase::isRealData(), ls_, MAX_TCC_SIZE, meEBBunchCrossingDCCErrors_, meEBBunchCrossingFEErrors_, meEBBunchCrossingSRPErrors_, meEBBunchCrossingTCCErrors_, meEBCalibrationEventErrors_, meEBCRCErrors_, meEBEventTypeCalibrationBX_, meEBEventTypePostCalibrationBX_, meEBEventTypePreCalibrationBX_, meEBL1ADCCErrors_, meEBL1AFEErrors_, meEBL1ASRPErrors_, meEBL1ATCCErrors_, meEBOrbitNumberErrors_, meEBRunNumberErrors_, meEBSynchronizationErrorsByLumi_, meEBSynchronizationErrorsTrend_, meEBTriggerTypeErrors_, EcalDCCHeaderBlock::MTCC, edm::EventBase::orbitNumber(), EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, edm::EventID::run(), FEDRawData::size(), ntuplemaker::status, and Numbers::subDet().
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 78 of file EBRawDataTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), DQMStore::setCurrentFolder(), and subfolder_.
|
protectedvirtual |
BeginLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 91 of file EBRawDataTask.cc.
References newFWLiteAna::bin, fatalErrors_, MonitorElement::getTH1(), init_, ls_, edm::LuminosityBlockBase::luminosityBlock(), meEBSynchronizationErrorsByLumi_, meEBSynchronizationErrorsTrend_, MonitorElement::Reset(), MonitorElement::setBinContent(), and setup().
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 107 of file EBRawDataTask.cc.
References fatalErrors_, MonitorElement::getTH1(), Numbers::initGeometry(), meEBSynchronizationErrorsTrend_, mergeRuns_, and reset().
|
protected |
Cleanup.
Definition at line 330 of file EBRawDataTask.cc.
References dqmStore_, MonitorElement::getName(), init_, meEBBunchCrossingDCCErrors_, meEBBunchCrossingFEErrors_, meEBBunchCrossingSRPErrors_, meEBBunchCrossingTCCErrors_, meEBCalibrationEventErrors_, meEBCRCErrors_, meEBEventTypeCalibrationBX_, meEBEventTypePostCalibrationBX_, meEBEventTypePreCalibrationBX_, meEBL1ADCCErrors_, meEBL1AFEErrors_, meEBL1ASRPErrors_, meEBL1ATCCErrors_, meEBOrbitNumberErrors_, meEBRunNumberErrors_, meEBSynchronizationErrorsByLumi_, meEBSynchronizationErrorsTrend_, meEBTriggerTypeErrors_, prefixME_, DQMStore::removeElement(), DQMStore::setCurrentFolder(), and subfolder_.
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 410 of file EBRawDataTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
EndLuminosityBlock.
Reimplemented from edm::EDAnalyzer.
Definition at line 398 of file EBRawDataTask.cc.
References MonitorElement::getBinContent(), MonitorElement::getTH1(), ls_, meEBSynchronizationErrorsTrend_, and MonitorElement::setBinContent().
|
protectedvirtual |
|
protected |
Reset.
Definition at line 123 of file EBRawDataTask.cc.
References meEBBunchCrossingDCCErrors_, meEBBunchCrossingFEErrors_, meEBBunchCrossingSRPErrors_, meEBBunchCrossingTCCErrors_, meEBCalibrationEventErrors_, meEBCRCErrors_, meEBEventTypeCalibrationBX_, meEBEventTypePostCalibrationBX_, meEBEventTypePreCalibrationBX_, meEBL1ADCCErrors_, meEBL1AFEErrors_, meEBL1ASRPErrors_, meEBL1ATCCErrors_, meEBOrbitNumberErrors_, meEBRunNumberErrors_, meEBSynchronizationErrorsByLumi_, meEBSynchronizationErrorsTrend_, meEBTriggerTypeErrors_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 145 of file EBRawDataTask.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, meEBBunchCrossingDCCErrors_, meEBBunchCrossingFEErrors_, meEBBunchCrossingSRPErrors_, meEBBunchCrossingTCCErrors_, meEBCalibrationEventErrors_, meEBCRCErrors_, meEBEventTypeCalibrationBX_, meEBEventTypePostCalibrationBX_, meEBEventTypePreCalibrationBX_, meEBL1ADCCErrors_, meEBL1AFEErrors_, meEBL1ASRPErrors_, meEBL1ATCCErrors_, meEBOrbitNumberErrors_, meEBRunNumberErrors_, meEBSynchronizationErrorsByLumi_, meEBSynchronizationErrorsTrend_, meEBTriggerTypeErrors_, 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::sEB(), MonitorElement::setAxisTitle(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), MonitorElement::setLumiFlag(), subfolder_, EcalDCCHeaderBlock::TESTPULSE_GAP, EcalDCCHeaderBlock::TESTPULSE_MGPA, and EcalDCCHeaderBlock::TESTPULSE_SCAN_MEM.
Referenced by beginLuminosityBlock().
|
private |
Definition at line 106 of file EBRawDataTask.h.
Referenced by analyze(), and EBRawDataTask().
|
private |
Definition at line 66 of file EBRawDataTask.h.
Referenced by beginJob(), cleanup(), EBRawDataTask(), and setup().
|
private |
Definition at line 77 of file EBRawDataTask.h.
Referenced by analyze(), and EBRawDataTask().
|
private |
Definition at line 72 of file EBRawDataTask.h.
Referenced by EBRawDataTask(), and endJob().
|
private |
Definition at line 102 of file EBRawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 76 of file EBRawDataTask.h.
Referenced by analyze(), and EBRawDataTask().
|
private |
Definition at line 64 of file EBRawDataTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 104 of file EBRawDataTask.h.
Referenced by beginLuminosityBlock(), cleanup(), EBRawDataTask(), and setup().
|
private |
Definition at line 100 of file EBRawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 88 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 90 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 94 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 92 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 86 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 79 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 81 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 82 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 80 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 87 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 89 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 93 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 91 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 84 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 83 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 96 of file EBRawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 98 of file EBRawDataTask.h.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), cleanup(), EBRawDataTask(), endLuminosityBlock(), reset(), and setup().
|
private |
Definition at line 85 of file EBRawDataTask.h.
Referenced by analyze(), cleanup(), EBRawDataTask(), reset(), and setup().
|
private |
Definition at line 74 of file EBRawDataTask.h.
Referenced by beginRun(), and EBRawDataTask().
|
private |
Definition at line 68 of file EBRawDataTask.h.
Referenced by beginJob(), cleanup(), EBRawDataTask(), and setup().
|
private |
Definition at line 70 of file EBRawDataTask.h.
Referenced by beginJob(), cleanup(), EBRawDataTask(), and setup().