#include <EECosmicTask.h>
Public Member Functions | |
EECosmicTask (const edm::ParameterSet &ps) | |
Constructor. More... | |
virtual | ~EECosmicTask () |
Destructor. More... | |
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 () |
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::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) |
Private Attributes | |
DQMStore * | dqmStore_ |
edm::InputTag | EcalRawDataCollection_ |
edm::InputTag | EcalRecHitCollection_ |
edm::InputTag | EcalUncalibratedRecHitCollection_ |
bool | enableCleanup_ |
int | ievt_ |
bool | init_ |
double | maxJitter_ |
bool | mergeRuns_ |
MonitorElement * | meSelMap_ [18] |
MonitorElement * | meSpectrum_ [2][18] |
double | minJitter_ |
std::string | prefixME_ |
double | threshold_ |
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 EECosmicTask.h.
EECosmicTask::EECosmicTask | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 29 of file EECosmicTask.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 164 of file EECosmicTask.cc.
References EcalDCCHeaderBlock::COSMIC, EcalDCCHeaderBlock::COSMICS_GLOBAL, EcalDCCHeaderBlock::COSMICS_LOCAL, EcalEndcap, EcalRawDataCollection_, EcalRecHitCollection_, EcalUncalibratedRecHitCollection_, MonitorElement::Fill(), edm::Event::getByLabel(), i, ievt_, init_, ecalpyutils::ism(), Numbers::iSM(), edm::HandleBase::isValid(), EEDetId::ix(), LogDebug, maxJitter_, meSelMap_, meSpectrum_, minJitter_, EcalDCCHeaderBlock::MTCC, EcalDCCHeaderBlock::PHYSICS_GLOBAL, EcalDCCHeaderBlock::PHYSICS_LOCAL, environment_file_cff::runType, setup(), Numbers::subDet(), threshold_, EEDetId::validDetId(), and EEDetId::XYMODE.
|
protectedvirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 62 of file EECosmicTask.cc.
References dqmStore_, ievt_, prefixME_, DQMStore::rmdir(), and DQMStore::setCurrentFolder().
|
protectedvirtual |
BeginRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 73 of file EECosmicTask.cc.
References Numbers::initGeometry(), mergeRuns_, and reset().
|
protected |
Cleanup.
Definition at line 129 of file EECosmicTask.cc.
References dqmStore_, i, init_, meSelMap_, meSpectrum_, prefixME_, DQMStore::removeElement(), and DQMStore::setCurrentFolder().
Referenced by endJob().
|
protectedvirtual |
EndJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 156 of file EECosmicTask.cc.
References cleanup(), enableCleanup_, and ievt_.
|
protectedvirtual |
|
protected |
Reset.
Definition at line 85 of file EECosmicTask.cc.
References i, meSelMap_, meSpectrum_, and MonitorElement::Reset().
Referenced by beginRun().
|
protected |
Setup.
Definition at line 95 of file EECosmicTask.cc.
References DQMStore::book1D(), DQMStore::bookProfile2D(), dqmStore_, i, init_, Numbers::ix0EE(), Numbers::iy0EE(), meSelMap_, meSpectrum_, mergeVDriftHistosByStation::name, prefixME_, Numbers::sEE(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by analyze().
|
private |
Definition at line 60 of file EECosmicTask.h.
Referenced by beginJob(), cleanup(), EECosmicTask(), and setup().
|
private |
Definition at line 68 of file EECosmicTask.h.
Referenced by analyze(), and EECosmicTask().
|
private |
Definition at line 70 of file EECosmicTask.h.
Referenced by analyze(), and EECosmicTask().
|
private |
Definition at line 69 of file EECosmicTask.h.
Referenced by analyze(), and EECosmicTask().
|
private |
Definition at line 64 of file EECosmicTask.h.
Referenced by EECosmicTask(), and endJob().
|
private |
Definition at line 58 of file EECosmicTask.h.
Referenced by analyze(), beginJob(), and endJob().
|
private |
Definition at line 80 of file EECosmicTask.h.
Referenced by analyze(), cleanup(), EECosmicTask(), and setup().
|
private |
Definition at line 78 of file EECosmicTask.h.
Referenced by analyze(), and EECosmicTask().
|
private |
Definition at line 66 of file EECosmicTask.h.
Referenced by beginRun(), and EECosmicTask().
|
private |
Definition at line 72 of file EECosmicTask.h.
Referenced by analyze(), cleanup(), EECosmicTask(), reset(), and setup().
|
private |
Definition at line 74 of file EECosmicTask.h.
Referenced by analyze(), cleanup(), EECosmicTask(), reset(), and setup().
|
private |
Definition at line 77 of file EECosmicTask.h.
Referenced by analyze(), and EECosmicTask().
|
private |
Definition at line 62 of file EECosmicTask.h.
Referenced by beginJob(), cleanup(), EECosmicTask(), and setup().
|
private |
Definition at line 76 of file EECosmicTask.h.
Referenced by analyze(), and EECosmicTask().