#include <EBCosmicTask.h>
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
Analyze. More... | |
void | beginJob (void) |
BeginJob. More... | |
void | beginRun (const edm::Run &r, const edm::EventSetup &c) |
BeginRun. More... | |
void | cleanup (void) |
Cleanup. More... | |
void | endJob (void) |
EndJob. 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 Attributes | |
DQMStore * | dqmStore_ |
edm::EDGetTokenT < EcalRawDataCollection > | EcalRawDataCollection_ |
edm::EDGetTokenT < EcalRecHitCollection > | EcalRecHitCollection_ |
edm::EDGetTokenT < EcalUncalibratedRecHitCollection > | EcalUncalibratedRecHitCollection_ |
bool | enableCleanup_ |
int | ievt_ |
bool | init_ |
double | maxJitter_ |
MonitorElement * | meCutMap_ [36] |
bool | mergeRuns_ |
MonitorElement * | meSelMap_ [36] |
MonitorElement * | meSpectrum_ [2][36] |
double | minJitter_ |
std::string | prefixME_ |
double | threshold_ |
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 22 of file EBCosmicTask.h.
EBCosmicTask::EBCosmicTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 24 of file EBCosmicTask.cc.
References dqmStore_, EcalRawDataCollection_, EcalRecHitCollection_, EcalUncalibratedRecHitCollection_, enableCleanup_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), i, init_, maxJitter_, mergeRuns_, meSelMap_, meSpectrum_, minJitter_, cppFunctionSkipper::operator, prefixME_, AlCaHLTBitMon_QueryRunRegistry::string, and threshold_.
|
virtual |
|
protectedvirtual |
Analyze.
Implements edm::EDAnalyzer.
Definition at line 163 of file EBCosmicTask.cc.
References column, EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, EcalBarrel, EcalRawDataCollection_, EcalRecHitCollection_, EcalUncalibratedRecHitCollection_, EBDetId::ETAPHIMODE, MonitorElement::Fill(), edm::Event::getByToken(), i, EBDetId::ic(), ievt_, init_, ecalpyutils::ism(), Numbers::iSM(), edm::HandleBase::isValid(), LogDebug, maxJitter_, meSelMap_, meSpectrum_, minJitter_, EcalDCCHeaderBlock::MTCC, EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, environment_file_cff::runType, setup(), Numbers::subDet(), threshold_, and EBDetId::validDetId().
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 57 of file EBCosmicTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), and DQMStore::setCurrentFolder().
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 68 of file EBCosmicTask.cc.
References Numbers::initGeometry(), mergeRuns_, and reset().
|
protected |
Cleanup.
Definition at line 122 of file EBCosmicTask.cc.
References dqmStore_, i, init_, meCutMap_, meSelMap_, meSpectrum_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 155 of file EBCosmicTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
|
protected |
Reset.
Definition at line 80 of file EBCosmicTask.cc.
References i, meSelMap_, meSpectrum_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 90 of file EBCosmicTask.cc.
References DQMStore::book1D(), DQMStore::bookProfile2D(), dqmStore_, i, init_, meSelMap_, meSpectrum_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEB(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 62 of file EBCosmicTask.h.
Referenced by beginJob(), cleanup(), EBCosmicTask(), and setup().
|
private |
Definition at line 70 of file EBCosmicTask.h.
Referenced by analyze(), and EBCosmicTask().
|
private |
Definition at line 72 of file EBCosmicTask.h.
Referenced by analyze(), and EBCosmicTask().
|
private |
Definition at line 71 of file EBCosmicTask.h.
Referenced by analyze(), and EBCosmicTask().
|
private |
Definition at line 66 of file EBCosmicTask.h.
Referenced by EBCosmicTask(), and endJob().
|
private |
Definition at line 60 of file EBCosmicTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 84 of file EBCosmicTask.h.
Referenced by analyze(), cleanup(), EBCosmicTask(), and setup().
|
private |
Definition at line 82 of file EBCosmicTask.h.
Referenced by analyze(), and EBCosmicTask().
|
private |
Definition at line 74 of file EBCosmicTask.h.
Referenced by cleanup().
|
private |
Definition at line 68 of file EBCosmicTask.h.
Referenced by beginRun(), and EBCosmicTask().
|
private |
Definition at line 76 of file EBCosmicTask.h.
Referenced by analyze(), cleanup(), EBCosmicTask(), reset(), and setup().
|
private |
Definition at line 78 of file EBCosmicTask.h.
Referenced by analyze(), cleanup(), EBCosmicTask(), reset(), and setup().
|
private |
Definition at line 81 of file EBCosmicTask.h.
Referenced by analyze(), and EBCosmicTask().
|
private |
Definition at line 64 of file EBCosmicTask.h.
Referenced by beginJob(), cleanup(), EBCosmicTask(), and setup().
|
private |
Definition at line 80 of file EBCosmicTask.h.
Referenced by analyze(), and EBCosmicTask().