#include <TrigPrimTask.h>
Public Types | |
enum | Constants { nBXBins = 15 } |
enum | MESets { kEtReal, kEtMaxEmul, kEtRealMap, kEtSummary, kMatchedIndex, kEmulMaxIndex, kTimingError, kEtVsBx, kOccVsBx, kLowIntMap, kMedIntMap, kHighIntMap, kTTFlags, kTTFMismatch, kEtEmulError, kFGEmulError, nMESets } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | analyze (const void *, Collections) |
void | beginEvent (const edm::Event &, const edm::EventSetup &) |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | bookMEs () |
void | runOnDigis (const EcalDigiCollection &) |
void | runOnEmulTPs (const EcalTrigPrimDigiCollection &) |
void | runOnRealTPs (const EcalTrigPrimDigiCollection &) |
TrigPrimTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
~TrigPrimTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endEvent (const edm::Event &, const edm::EventSetup &) |
virtual bool | filterRunType (const std::vector< short > &) |
virtual bool | filterTrigger (const edm::TriggerResultsByName &) |
virtual const std::vector < std::pair< Collections, Collections > > & | getDependencies () |
virtual bool | runsOn (unsigned) |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
DQWorker (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
const std::vector< MESet * > & | getMEs () |
virtual std::string const & | getName () |
virtual bool | isInitialized () |
virtual void | reset () |
virtual void | setInitialized (bool _init) |
virtual void | setVerbosity (int _verbosity) |
virtual | ~DQWorker () |
Static Public Member Functions | |
static void | setMEData (std::vector< MEData > &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | setMEData (std::vector< MEData > &) |
Private Attributes | |
float | bxBin_ |
int | bxBinEdges_ [nBXBins+1] |
int | expectedTiming_ |
bool | HLTCaloBit_ |
std::string | HLTCaloPath_ |
bool | HLTMuonBit_ |
std::string | HLTMuonPath_ |
const EcalTrigPrimDigiCollection * | realTps_ |
bool | runOnEmul_ |
std::map< uint32_t, unsigned > | towerReadouts_ |
const EcalTrigTowerConstituentsMap * | ttMap_ |
Additional Inherited Members | |
Static Public Attributes inherited from ecaldqm::DQWorker | |
static std::map< std::string, std::vector< MEData > > | meData |
Protected Member Functions inherited from ecaldqm::DQWorker | |
MESet * | createMESet_ (std::string const &, MEData const &, bool _readOnly=false) const |
void | meSet_ (unsigned, edm::ParameterSet const &) |
Protected Attributes inherited from ecaldqm::DQWorkerTask | |
uint32_t | collectionMask_ |
std::vector< std::pair < Collections, Collections > > | dependencies_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | initialized_ |
std::vector< MESet * > | MEs_ |
std::string | name_ |
int | verbosity_ |
Definition at line 12 of file TrigPrimTask.h.
Enumerator | |
---|---|
nBXBins |
Definition at line 54 of file TrigPrimTask.h.
Enumerator | |
---|---|
kEtReal | |
kEtMaxEmul | |
kEtRealMap | |
kEtSummary | |
kMatchedIndex | |
kEmulMaxIndex | |
kTimingError | |
kEtVsBx | |
kOccVsBx | |
kLowIntMap | |
kMedIntMap | |
kHighIntMap | |
kTTFlags | |
kTTFMismatch | |
kEtEmulError | |
kFGEmulError | |
nMESets |
Definition at line 28 of file TrigPrimTask.h.
ecaldqm::TrigPrimTask::TrigPrimTask | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 12 of file TrigPrimTask.cc.
References bxBinEdges_, ecaldqm::DQWorkerTask::collectionMask_, ecaldqm::DQWorkerTask::dependencies_, expectedTiming_, edm::ParameterSet::getUntrackedParameterSet(), HLTCaloPath_, HLTMuonPath_, i, ecaldqm::kEBDigi, ecaldqm::kEEDigi, ecaldqm::kRun, ecaldqm::kTrigPrimDigi, ecaldqm::kTrigPrimEmulDigi, ecaldqm::DQWorker::name_, nBXBins, and runOnEmul_.
ecaldqm::TrigPrimTask::~TrigPrimTask | ( | ) |
Definition at line 50 of file TrigPrimTask.cc.
|
inlinevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 76 of file TrigPrimTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEEDigi, ecaldqm::kTrigPrimDigi, ecaldqm::kTrigPrimEmulDigi, runOnDigis(), runOnEmulTPs(), and runOnRealTPs().
|
virtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 95 of file TrigPrimTask.cc.
References edm::EventBase::bunchCrossing(), bxBin_, bxBinEdges_, HLTCaloBit_, HLTMuonBit_, nBXBins, realTps_, and towerReadouts_.
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 87 of file TrigPrimTask.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), and ttMap_.
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 55 of file TrigPrimTask.cc.
References ecaldqm::DQWorker::bookMEs(), bxBinEdges_, i, kEmulMaxIndex, kEtReal, kEtRealMap, kEtSummary, kEtVsBx, kHighIntMap, kLowIntMap, kMedIntMap, kOccVsBx, kTTFlags, kTTFMismatch, ecaldqm::DQWorker::MEs_, nBXBins, and runOnEmul_.
void ecaldqm::TrigPrimTask::runOnDigis | ( | const EcalDigiCollection & | _digis | ) |
Definition at line 168 of file TrigPrimTask.cc.
References edm::DataFrameContainer::begin(), edm::DataFrameContainer::end(), DetId::rawId(), EcalTrigTowerConstituentsMap::towerOf(), towerReadouts_, and ttMap_.
Referenced by analyze().
void ecaldqm::TrigPrimTask::runOnEmulTPs | ( | const EcalTrigPrimDigiCollection & | _tps | ) |
Definition at line 222 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), EcalTrigTowerConstituentsMap::constituentsOf(), edm::SortedCollection< T, SORT >::end(), expectedTiming_, edm::SortedCollection< T, SORT >::find(), kEmulMaxIndex, kEtEmulError, kEtMaxEmul, kFGEmulError, kMatchedIndex, kTimingError, match(), ecaldqm::DQWorker::MEs_, realTps_, towerReadouts_, and ttMap_.
Referenced by analyze().
void ecaldqm::TrigPrimTask::runOnRealTPs | ( | const EcalTrigPrimDigiCollection & | _tps | ) |
Definition at line 177 of file TrigPrimTask.cc.
References edm::SortedCollection< T, SORT >::begin(), bxBin_, EcalTrigTowerConstituentsMap::constituentsOf(), edm::SortedCollection< T, SORT >::end(), lumiContext::fill, kEtReal, kEtRealMap, kEtSummary, kEtVsBx, kHighIntMap, kLowIntMap, kMedIntMap, kOccVsBx, kTTFlags, kTTFMismatch, ecaldqm::DQWorker::MEs_, realTps_, towerReadouts_, and ttMap_.
Referenced by analyze().
|
static |
Definition at line 293 of file TrigPrimTask.cc.
References MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, EcalDQMBinningService::AxisSpecs::high, EcalDQMBinningService::kChannel, EcalDQMBinningService::kDCC, EcalDQMBinningService::kEcal, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcal3P, kEmulMaxIndex, kEtEmulError, kEtMaxEmul, kEtReal, kEtRealMap, kEtSummary, kEtVsBx, kFGEmulError, kHighIntMap, kLowIntMap, kMatchedIndex, kMedIntMap, kOccVsBx, EcalDQMBinningService::kSM, kTimingError, EcalDQMBinningService::kTriggerTower, kTTFlags, kTTFMismatch, EcalDQMBinningService::kUser, EcalDQMBinningService::AxisSpecs::low, EcalDQMBinningService::AxisSpecs::nbins, and EcalDQMBinningService::AxisSpecs::title.
|
private |
Definition at line 71 of file TrigPrimTask.h.
Referenced by beginEvent(), and runOnRealTPs().
|
private |
Definition at line 70 of file TrigPrimTask.h.
Referenced by beginEvent(), bookMEs(), and TrigPrimTask().
|
private |
Definition at line 64 of file TrigPrimTask.h.
Referenced by runOnEmulTPs(), and TrigPrimTask().
|
private |
Definition at line 67 of file TrigPrimTask.h.
Referenced by beginEvent().
|
private |
Definition at line 65 of file TrigPrimTask.h.
Referenced by TrigPrimTask().
|
private |
Definition at line 68 of file TrigPrimTask.h.
Referenced by beginEvent().
|
private |
Definition at line 66 of file TrigPrimTask.h.
Referenced by TrigPrimTask().
|
private |
Definition at line 60 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnEmulTPs(), and runOnRealTPs().
|
private |
Definition at line 62 of file TrigPrimTask.h.
Referenced by bookMEs(), and TrigPrimTask().
|
private |
Definition at line 73 of file TrigPrimTask.h.
Referenced by beginEvent(), runOnDigis(), runOnEmulTPs(), and runOnRealTPs().
|
private |
Definition at line 59 of file TrigPrimTask.h.
Referenced by beginRun(), runOnDigis(), runOnEmulTPs(), and runOnRealTPs().