#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 |
Public Member Functions | |
void | addDependencies (DependencySet &) override |
bool | analyze (void const *, Collections) override |
void | beginEvent (edm::Event const &, edm::EventSetup const &, bool const &, bool &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
template<typename DigiCollection > | |
void | runOnDigis (DigiCollection const &, Collections) |
void | runOnRawData (EcalRawDataCollection const &) |
void | runOnSource (FEDRawDataCollection const &) |
template<typename SRFlagCollection > | |
void | runOnSrFlags (SRFlagCollection const &, Collections) |
SelectiveReadoutTask () | |
~SelectiveReadoutTask () override | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
DQWorkerTask () | |
virtual void | endEvent (edm::Event const &, edm::EventSetup const &) |
virtual bool | filterRunType (short const *) |
virtual bool | filterTrigger (edm::TriggerResultsByName const &) |
virtual void | setTokens (edm::ConsumesCollector &) |
~DQWorkerTask () override | |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | bookMEs (DQMStore::IBooker &) |
DQWorker () | |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
const std::string & | getName () const |
bool | onlineMode () const |
virtual void | releaseMEs () |
void | setEventNumber (edm::EventNumber_t _e) |
void | setLumiNumber (edm::LuminosityBlockNumber_t _l) |
void | setRunNumber (edm::RunNumber_t _r) |
void | setTime (time_t _t) |
virtual | ~DQWorker () noexcept(false) |
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::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::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_, 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 286 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_().