#include <LaserClient.h>
Public Types | |
enum | Constants { nWL = LaserTask::nWL, nPNGain = LaserTask::nPNGain } |
enum | MESets { kQuality, kAmplitudeMean = kQuality + nWL, kAmplitudeRMS = kAmplitudeMean + nWL, kTimingMean = kAmplitudeRMS + nWL, kTimingRMS = kTimingMean + nWL, kPNAmplitudeMean = kTimingRMS + nWL, kPNAmplitudeRMS = kPNAmplitudeMean + nWL * nPNGain, kQualitySummary = kPNAmplitudeRMS + nWL * nPNGain, kPNQualitySummary = kQualitySummary + nWL, nMESets = kPNQualitySummary + nWL } |
enum | Sources { sAmplitude, sTiming = sAmplitude + nWL, sPNAmplitude = sTiming + nWL, nSources = sPNAmplitude + nWL * nPNGain } |
Public Types inherited from ecaldqm::DQWorkerClient | |
enum | Sources { nSources } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | bookMEs () override |
void | initialize () override |
LaserClient (const edm::ParameterSet &, const edm::ParameterSet &) | |
void | producePlots () override |
~LaserClient () | |
Public Member Functions inherited from ecaldqm::DQWorkerClient | |
DQWorkerClient (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
void | reset () |
virtual | ~DQWorkerClient () |
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 | endRun (const edm::Run &, const edm::EventSetup &) |
const std::vector< MESet * > & | getMEs () |
virtual std::string const & | getName () |
virtual bool | isInitialized () |
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 | |
std::map< std::pair< unsigned, int >, float > | ampCorrections_ |
std::vector< double > | amplitudeRMSThreshold_ |
std::vector< double > | amplitudeThreshold_ |
std::vector< double > | expectedAmplitude_ |
std::vector< double > | expectedPNAmplitude_ |
std::vector< double > | expectedTiming_ |
std::vector< int > | laserWavelengths_ |
std::vector< int > | MGPAGainsPN_ |
int | minChannelEntries_ |
std::vector< double > | pnAmplitudeRMSThreshold_ |
std::vector< double > | pnAmplitudeThreshold_ |
std::vector< double > | timingRMSThreshold_ |
std::vector< double > | timingThreshold_ |
float | towerThreshold_ |
Protected Attributes inherited from ecaldqm::DQWorkerClient | |
std::vector< MESet const * > | sources_ |
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::DQWorkerClient | |
static EcalDQMChannelStatus const * | channelStatus |
static EcalDQMTowerStatus const * | towerStatus |
Static Public Attributes inherited from ecaldqm::DQWorker | |
static std::map< std::string, std::vector< MEData > > | meData |
Protected Member Functions inherited from ecaldqm::DQWorkerClient | |
void | fillQuality_ (unsigned, DetId const &, uint32_t, float) |
void | source_ (unsigned, std::string const &, unsigned, edm::ParameterSet const &) |
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 LaserClient.h.
Enumerator | |
---|---|
nWL | |
nPNGain |
Definition at line 23 of file LaserClient.h.
Enumerator | |
---|---|
kQuality | |
kAmplitudeMean | |
kAmplitudeRMS | |
kTimingMean | |
kTimingRMS | |
kPNAmplitudeMean | |
kPNAmplitudeRMS | |
kQualitySummary | |
kPNQualitySummary | |
nMESets |
Definition at line 28 of file LaserClient.h.
Enumerator | |
---|---|
sAmplitude | |
sTiming | |
sPNAmplitude | |
nSources |
Definition at line 43 of file LaserClient.h.
ecaldqm::LaserClient::LaserClient | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 11 of file LaserClient.cc.
References amplitudeRMSThreshold_, amplitudeThreshold_, edm::hlt::Exception, expectedAmplitude_, expectedPNAmplitude_, expectedTiming_, edm::ParameterSet::getUntrackedParameterSet(), ecaldqm::LaserTask::kAmplitude, kAmplitudeMean, kAmplitudeRMS, ecaldqm::LaserTask::kPNAmplitude, kPNAmplitudeMean, kPNAmplitudeRMS, kPNQualitySummary, kQuality, kQualitySummary, ecaldqm::LaserTask::kTiming, kTimingMean, kTimingRMS, laserWavelengths_, ecaldqm::DQWorker::MEs_, MGPAGainsPN_, minChannelEntries_, ecaldqm::DQWorker::name_, nPNGain, nWL, evf::evtn::offset(), pnAmplitudeRMSThreshold_, pnAmplitudeThreshold_, sAmplitude, ecaldqm::DQWorkerClient::source_(), ecaldqm::DQWorkerClient::sources_, sPNAmplitude, sTiming, timingRMSThreshold_, timingThreshold_, and towerThreshold_.
|
inline |
Definition at line 13 of file LaserClient.h.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 164 of file LaserClient.cc.
References kPNQualitySummary, kQuality, kQualitySummary, laserWavelengths_, ecaldqm::DQWorker::MEs_, MGPAGainsPN_, nPNGain, and evf::evtn::offset().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 141 of file LaserClient.cc.
References kAmplitudeMean, kAmplitudeRMS, kPNAmplitudeMean, kPNAmplitudeRMS, kPNQualitySummary, kQuality, kQualitySummary, kTimingMean, kTimingRMS, laserWavelengths_, ecaldqm::DQWorker::MEs_, MGPAGainsPN_, nPNGain, and evf::evtn::offset().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerClient.
Definition at line 122 of file LaserClient.cc.
References ecaldqm::DQWorker::initialized_, laserWavelengths_, MGPAGainsPN_, nPNGain, evf::evtn::offset(), sAmplitude, ecaldqm::DQWorkerClient::sources_, sPNAmplitude, and sTiming.
|
overridevirtual |
Implements ecaldqm::DQWorkerClient.
Definition at line 179 of file LaserClient.cc.
References funct::abs(), amplitudeRMSThreshold_, amplitudeThreshold_, cond::ecalcond::bad(), EcalBarrel, EcalEndcap, expectedAmplitude_, expectedPNAmplitude_, expectedTiming_, ecaldqm::getElectronicsMap(), ecaldqm::getNSuperCrystals(), kAmplitudeMean, kAmplitudeRMS, kPNAmplitudeMean, kPNAmplitudeRMS, kPNQualitySummary, kQuality, kQualitySummary, kTimingMean, kTimingRMS, laserWavelengths_, ecaldqm::DQWorker::MEs_, MGPAGainsPN_, minChannelEntries_, nPNGain, evf::evtn::offset(), pnAmplitudeRMSThreshold_, pnAmplitudeThreshold_, sAmplitude, ecaldqm::DQWorkerClient::sources_, sPNAmplitude, mathSSE::sqrt(), sTiming, timingRMSThreshold_, timingThreshold_, and towerThreshold_.
|
static |
Definition at line 285 of file LaserClient.cc.
References MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, EcalDQMBinningService::AxisSpecs::high, kAmplitudeMean, kAmplitudeRMS, EcalDQMBinningService::kCrystal, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcalMEM2P, kPNAmplitudeMean, kPNAmplitudeRMS, kPNQualitySummary, kQuality, kQualitySummary, EcalDQMBinningService::kSM, EcalDQMBinningService::kSMMEM, EcalDQMBinningService::kSuperCrystal, kTimingMean, kTimingRMS, EcalDQMBinningService::kUser, EcalDQMBinningService::AxisSpecs::low, EcalDQMBinningService::AxisSpecs::nbins, nPNGain, nWL, and evf::evtn::offset().
|
protected |
Definition at line 67 of file LaserClient.h.
|
protected |
Definition at line 57 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 56 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 55 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 61 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 58 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 51 of file LaserClient.h.
Referenced by beginRun(), bookMEs(), initialize(), LaserClient(), and producePlots().
|
protected |
Definition at line 52 of file LaserClient.h.
Referenced by beginRun(), bookMEs(), initialize(), LaserClient(), and producePlots().
|
protected |
Definition at line 54 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 63 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 62 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 60 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 59 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().
|
protected |
Definition at line 65 of file LaserClient.h.
Referenced by LaserClient(), and producePlots().