#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_ |
edm::ESGetToken < EcalSRSettings, EcalSRSettingsRcd > | hSr |
int | iFirstSample_ |
std::set< std::pair< int, int > > | suppressed_ |
bool | useCondDb_ |
std::vector< int > | ZSFIRWeights_ |
Definition at line 20 of file SelectiveReadoutTask.h.
ecaldqm::SelectiveReadoutTask::SelectiveReadoutTask | ( | ) |
Definition at line 17 of file SelectiveReadoutTask.cc.
|
inlineoverride |
Definition at line 23 of file SelectiveReadoutTask.h.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 39 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 60 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 61 of file SelectiveReadoutTask.cc.
References flags_, nRU, and suppressed_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 44 of file SelectiveReadoutTask.cc.
References SplitLinear::begin, edm::EventSetup::getData(), hSr, setFIRWeights_(), useCondDb_, and HLT_FULL_cff::weights.
void ecaldqm::SelectiveReadoutTask::runOnDigis | ( | DigiCollection const & | _digis, |
Collections | _collection | ||
) |
Definition at line 147 of file SelectiveReadoutTask.cc.
References EcalMGPASample::adc(), ecaldqm::MESetCollection::at(), bytesPerCrystal, ecaldqm::dccId(), EcalTrigTowerDetId::detIdFromDenseIndex(), EcalBarrel, EcalEndcap, flags_, EcalMGPASample::gainId(), ecaldqm::DQWorker::getEcalDQMSetupObjects(), ecaldqm::DQWorker::GetElectronicsMap(), EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), gpuClustering::id, iFirstSample_, ecaldqm::kEBDigi, EcalTrigTowerDetId::kEBTotalTowers, ecaldqm::kEEmHigh, EcalScDetId::kSizeForDenseIndexing, SiStripPI::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 91 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 66 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 102 of file SelectiveReadoutTask.cc.
References ecaldqm::MESetCollection::at(), EcalBarrel, EcalEndcap, EcalTriggerTower, ecaldqm::MESet::fill(), flags_, ecaldqm::DQWorker::getEcalDQMSetupObjects(), EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), gpuClustering::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, and ZSFIRWeights_.
Referenced by beginRun(), and setParams().
|
overrideprivatevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 25 of file SelectiveReadoutTask.cc.
References edm::ParameterSet::getUntrackedParameter(), iFirstSample_, setFIRWeights_(), and useCondDb_.
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 35 of file SelectiveReadoutTask.cc.
References edm::BeginRun, edm::ConsumesCollector::esConsumes(), and hSr.
|
private |
Definition at line 56 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnSrFlags().
|
private |
Definition at line 57 of file SelectiveReadoutTask.h.
Referenced by beginRun(), and setTokens().
|
private |
Definition at line 52 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and setParams().
|
private |
Definition at line 55 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnRawData().
|
private |
Definition at line 51 of file SelectiveReadoutTask.h.
Referenced by beginRun(), and setParams().
|
private |
Definition at line 53 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and setFIRWeights_().