#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 &) 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 () | |
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 &) |
void | recoverStats () |
virtual void | setTokens (edm::ConsumesCollector &) |
void | softReset () |
virtual | ~DQWorkerTask () |
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 &) |
std::string const & | 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 () |
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 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::DQWorkerTask | |
std::set< std::string > | resettable_ |
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.
|
inline |
Definition at line 21 of file SelectiveReadoutTask.h.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 43 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 54 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 71 of file SelectiveReadoutTask.cc.
References flags_, nRU, and suppressed_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 50 of file SelectiveReadoutTask.cc.
References begin, edm::EventSetup::get(), setFIRWeights_(), useCondDb_, and create_public_pileup_plots::weights.
void ecaldqm::SelectiveReadoutTask::runOnDigis | ( | DigiCollection const & | _digis, |
Collections | _collection | ||
) |
Definition at line 161 of file SelectiveReadoutTask.cc.
References EcalMGPASample::adc(), bytesPerCrystal, ecaldqm::dccId(), EcalTrigTowerDetId::detIdFromDenseIndex(), EcalBarrel, EcalEndcap, archive::flag, flags_, EcalMGPASample::gainId(), ecaldqm::getElectronicsMap(), EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), iFirstSample_, ecaldqm::kEBDigi, EcalTrigTowerDetId::kEBTotalTowers, ecaldqm::kEEmHigh, EcalScDetId::kSizeForDenseIndexing, bookConverter::max, ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, ecaldqm::nEEDCC, nFIRTaps, compare_using_db::sample, EEDetId::sc(), EcalDataFrame::size(), 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 102 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 78 of file SelectiveReadoutTask.cc.
References 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 114 of file SelectiveReadoutTask.cc.
References EcalBarrel, EcalEndcap, EcalTriggerTower, archive::flag, flags_, EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), 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 298 of file SelectiveReadoutTask.cc.
References funct::abs(), edm::hlt::Exception, i, nFIRTaps, and ZSFIRWeights_.
Referenced by beginRun(), and setParams().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 31 of file SelectiveReadoutTask.cc.
References edm::ParameterSet::getUntrackedParameter(), iFirstSample_, setFIRWeights_(), and useCondDb_.
|
private |
Definition at line 51 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnSrFlags().
|
private |
Definition at line 47 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and setParams().
|
private |
Definition at line 50 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnRawData().
|
private |
Definition at line 46 of file SelectiveReadoutTask.h.
Referenced by beginRun(), and setParams().
|
private |
Definition at line 48 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and setFIRWeights_().