#include <SelectiveReadoutTask.h>
Public Types | |
enum | Constants { nFIRTaps = 6, bytesPerCrystal = 24, nRU = EcalTrigTowerDetId::kEBTotalTowers + EcalScDetId::kSizeForDenseIndexing } |
Public Types inherited from ecaldqm::DQWorkerTask | |
typedef EcalDCCHeaderBlock::EcalDCCEventSettings | EventSettings |
Private Member Functions | |
void | setFIRWeights_ (std::vector< double > const &) |
void | setParams (edm::ParameterSet const &) override |
Private Attributes | |
std::vector< short > | flags_ |
int | iFirstSample_ |
std::set< std::pair< int, int > > | suppressed_ |
bool | useCondDb_ |
std::vector< int > | ZSFIRWeights_ |
Additional Inherited Members | |
Static Public Member Functions inherited from ecaldqm::DQWorkerTask | |
static void | fillDescriptions (edm::ParameterSetDescription &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | fillDescriptions (edm::ParameterSetDescription &_desc) |
Protected Types inherited from ecaldqm::DQWorker | |
typedef dqm::legacy::DQMStore | DQMStore |
typedef dqm::legacy::MonitorElement | MonitorElement |
Protected Member Functions inherited from ecaldqm::DQWorkerTask | |
void | setME (edm::ParameterSet const &) final |
Protected Member Functions inherited from ecaldqm::DQWorker | |
void | initialize (std::string const &_name, edm::ParameterSet const &) |
void | print_ (std::string const &, int=0) const |
virtual void | setSource (edm::ParameterSet const &) |
void | setVerbosity (int _verbosity) |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | booked_ |
MESetCollection | MEs_ |
std::string | name_ |
bool | onlineMode_ |
Timestamp | timestamp_ |
int | verbosity_ |
bool | willConvertToEDM_ |
Definition at line 18 of file SelectiveReadoutTask.h.
ecaldqm::SelectiveReadoutTask::SelectiveReadoutTask | ( | ) |
Definition at line 20 of file SelectiveReadoutTask.cc.
|
inlineoverride |
Definition at line 21 of file SelectiveReadoutTask.h.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 38 of file SelectiveReadoutTask.cc.
References ecaldqm::kEBDigi, ecaldqm::kEBSrFlag, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEESrFlag, and ecaldqm::DependencySet::push_back().
|
inlineoverridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 56 of file SelectiveReadoutTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEBSrFlag, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEESrFlag, ecaldqm::kSource, runOnDigis(), runOnRawData(), runOnSource(), and runOnSrFlags().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 62 of file SelectiveReadoutTask.cc.
References flags_, nRU, and suppressed_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 43 of file SelectiveReadoutTask.cc.
References EcalSRSettings::dccNormalizedWeights_, edm::EventSetup::get(), get, setFIRWeights_(), useCondDb_, and HLT_FULL_cff::weights.
void ecaldqm::SelectiveReadoutTask::runOnDigis | ( | DigiCollection const & | _digis, |
Collections | _collection | ||
) |
Definition at line 148 of file SelectiveReadoutTask.cc.
References ecaldqm::MESetCollection::at(), bytesPerCrystal, ecaldqm::dccId(), EcalTrigTowerDetId::detIdFromDenseIndex(), EcalBarrel, EcalEndcap, RemoveAddSevLevel::flag, flags_, amptDefault_cfi::frame, ecaldqm::DQWorker::getEcalDQMSetupObjects(), ecaldqm::DQWorker::GetElectronicsMap(), EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), triggerObjects_cff::id, iFirstSample_, ecaldqm::kEBDigi, EcalTrigTowerDetId::kEBTotalTowers, ecaldqm::kEEmHigh, EcalScDetId::kSizeForDenseIndexing, SiStripPI::max, ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, ecaldqm::nEEDCC, nFIRTaps, simplePhotonAnalyzer_cfi::sample, EEDetId::sc(), findQualityFiles::size, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, EcalSrFlag::SRF_ZS2, suppressed_, EBDetId::tower(), ecaldqm::towerId(), EcalScDetId::unhashIndex(), and ZSFIRWeights_.
Referenced by analyze().
void ecaldqm::SelectiveReadoutTask::runOnRawData | ( | EcalRawDataCollection const & | _dcchs | ) |
Definition at line 92 of file SelectiveReadoutTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ecaldqm::Disabled, edm::SortedCollection< T, SORT >::end(), and suppressed_.
Referenced by analyze().
void ecaldqm::SelectiveReadoutTask::runOnSource | ( | FEDRawDataCollection const & | _fedRaw | ) |
Definition at line 67 of file SelectiveReadoutTask.cc.
References ecaldqm::MESetCollection::at(), EcalBarrel, EcalEndcap, FEDRawDataCollection::FEDData(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), ecaldqm::kEEmHigh, ecaldqm::kEEpLow, ecaldqm::DQWorker::MEs_, FEDRawData::size(), and findQualityFiles::size.
Referenced by analyze().
void ecaldqm::SelectiveReadoutTask::runOnSrFlags | ( | SRFlagCollection const & | _srfs, |
Collections | _col | ||
) |
Definition at line 103 of file SelectiveReadoutTask.cc.
References ecaldqm::MESetCollection::at(), EcalBarrel, EcalEndcap, EcalTriggerTower, ecaldqm::MESet::fill(), RemoveAddSevLevel::flag, flags_, ecaldqm::DQWorker::getEcalDQMSetupObjects(), EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), triggerObjects_cff::id, ecaldqm::kEBSrFlag, EcalTrigTowerDetId::kEBTotalTowers, ecaldqm::DQWorker::MEs_, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, and EcalSrFlag::SRF_ZS2.
Referenced by analyze().
|
private |
Definition at line 287 of file SelectiveReadoutTask.cc.
References funct::abs(), Exception, mps_fire::i, nFIRTaps, testProducerWithPsetDescEmpty_cfi::x1, and ZSFIRWeights_.
Referenced by beginRun(), and setParams().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 28 of file SelectiveReadoutTask.cc.
References l1extraParticles_cfi::_params, iFirstSample_, setFIRWeights_(), and useCondDb_.
|
private |
Definition at line 53 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnSrFlags().
|
private |
Definition at line 49 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and setParams().
|
private |
Definition at line 52 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnRawData().
|
private |
Definition at line 48 of file SelectiveReadoutTask.h.
Referenced by beginRun(), and setParams().
|
private |
Definition at line 50 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and setFIRWeights_().