#include <PedestalTask.h>
Public Types | |
enum | Constants { nGain = 3, nPNGain = 2 } |
enum | MESets { kOccupancy, kPedestal = kOccupancy + nGain, kPNOccupancy = kPedestal + nGain, kPNPedestal = kPNOccupancy + nPNGain, nMESets = kPNPedestal + nPNGain } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | analyze (const void *, Collections) |
void | bookMEs () |
bool | filterRunType (const std::vector< short > &) |
PedestalTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
void | runOnDigis (const EcalDigiCollection &) |
void | runOnPnDigis (const EcalPnDiodeDigiCollection &) |
~PedestalTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
virtual void | beginEvent (const edm::Event &, const edm::EventSetup &) |
DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endEvent (const edm::Event &, const edm::EventSetup &) |
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 &) |
virtual void | beginRun (const edm::Run &, 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 > &) |
Protected Attributes | |
bool | enable_ [BinService::nDCC] |
std::vector< int > | MGPAGains_ |
std::vector< int > | MGPAGainsPN_ |
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_ |
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 &) |
Definition at line 10 of file PedestalTask.h.
Enumerator | |
---|---|
nGain | |
nPNGain |
Definition at line 24 of file PedestalTask.h.
Enumerator | |
---|---|
kOccupancy | |
kPedestal | |
kPNOccupancy | |
kPNPedestal | |
nMESets |
Definition at line 29 of file PedestalTask.h.
ecaldqm::PedestalTask::PedestalTask | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 13 of file PedestalTask.cc.
References ecaldqm::DQWorkerTask::collectionMask_, edm::hlt::Exception, edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::kEBDigi, ecaldqm::kEEDigi, kOccupancy, kPedestal, ecaldqm::kPnDiodeDigi, kPNOccupancy, kPNPedestal, ecaldqm::DQWorker::MEs_, MGPAGains_, MGPAGainsPN_, and evf::evtn::offset().
ecaldqm::PedestalTask::~PedestalTask | ( | ) |
Definition at line 72 of file PedestalTask.cc.
|
inlinevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 46 of file PedestalTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEEDigi, ecaldqm::kPnDiodeDigi, runOnDigis(), and runOnPnDigis().
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 77 of file PedestalTask.cc.
References kOccupancy, kPedestal, kPNOccupancy, kPNPedestal, ecaldqm::DQWorker::MEs_, MGPAGains_, MGPAGainsPN_, and evf::evtn::offset().
|
virtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 105 of file PedestalTask.cc.
References enable_, EcalDCCHeaderBlock::PEDESTAL_GAP, and EcalDCCHeaderBlock::PEDESTAL_STD.
void ecaldqm::PedestalTask::runOnDigis | ( | const EcalDigiCollection & | _digis | ) |
Definition at line 121 of file PedestalTask.cc.
References EcalMGPASample::adc(), edm::DataFrameContainer::begin(), ecaldqm::dccId(), enable_, edm::DataFrameContainer::end(), spr::find(), EcalMGPASample::gainId(), errorMatrix2Lands_multiChannel::id, kOccupancy, kPedestal, timingPdfMaker::mean, ecaldqm::DQWorker::MEs_, MGPAGains_, evf::evtn::offset(), and EcalDataFrame::sample().
Referenced by analyze().
void ecaldqm::PedestalTask::runOnPnDigis | ( | const EcalPnDiodeDigiCollection & | _digis | ) |
Definition at line 156 of file PedestalTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::dccId(), enable_, edm::SortedCollection< T, SORT >::end(), spr::find(), errorMatrix2Lands_multiChannel::id, kPNOccupancy, kPNPedestal, timingPdfMaker::mean, ecaldqm::DQWorker::MEs_, MGPAGainsPN_, and evf::evtn::offset().
Referenced by analyze().
|
static |
Definition at line 188 of file PedestalTask.cc.
References MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE, MonitorElement::DQM_KIND_TPROFILE2D, EcalDQMBinningService::kCrystal, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcalMEM2P, kOccupancy, kPedestal, kPNOccupancy, kPNPedestal, EcalDQMBinningService::kSM, EcalDQMBinningService::kSMMEM, EcalDQMBinningService::kSuperCrystal, nGain, and nPNGain.
|
protected |
Definition at line 43 of file PedestalTask.h.
Referenced by filterRunType(), runOnDigis(), and runOnPnDigis().
|
protected |
Definition at line 40 of file PedestalTask.h.
Referenced by bookMEs(), PedestalTask(), and runOnDigis().
|
protected |
Definition at line 41 of file PedestalTask.h.
Referenced by bookMEs(), PedestalTask(), and runOnPnDigis().