#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 ()(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 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.
References addDependencies(), analyze(), beginEvent(), beginRun(), runOnDigis(), runOnRawData(), runOnSource(), and runOnSrFlags().
|
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().
Referenced by ~SelectiveReadoutTask().
|
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().
Referenced by ~SelectiveReadoutTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 71 of file SelectiveReadoutTask.cc.
References flags_, nRU, and suppressed_.
Referenced by ~SelectiveReadoutTask().
|
overridevirtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 50 of file SelectiveReadoutTask.cc.
References begin, EcalSRSettings::dccNormalizedWeights_, edm::EventSetup::get(), setFIRWeights_(), useCondDb_, and create_public_lumi_plots::weights.
Referenced by ~SelectiveReadoutTask().
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, RemoveAddSevLevel::flag, flags_, EcalMGPASample::gainId(), ecaldqm::getElectronicsMap(), EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), hcalTTPDigis_cfi::id, iFirstSample_, ecaldqm::kEBDigi, EcalTrigTowerDetId::kEBTotalTowers, ecaldqm::kEEmHigh, EcalScDetId::kSizeForDenseIndexing, hpstanc_transforms::max, ecaldqm::DQWorker::MEs_, ecaldqm::nEBDCC, ecaldqm::nEEDCC, nFIRTaps, simplePhotonAnalyzer_cfi::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(), and ~SelectiveReadoutTask().
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(), and ~SelectiveReadoutTask().
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(), and ~SelectiveReadoutTask().
void ecaldqm::SelectiveReadoutTask::runOnSrFlags | ( | SRFlagCollection const & | _srfs, |
Collections | _col | ||
) |
Definition at line 114 of file SelectiveReadoutTask.cc.
References EcalBarrel, EcalEndcap, EcalTriggerTower, RemoveAddSevLevel::flag, flags_, EcalTrigTowerDetId::hashedIndex(), EcalScDetId::hashedIndex(), hcalTTPDigis_cfi::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(), and ~SelectiveReadoutTask().
|
private |
Definition at line 298 of file SelectiveReadoutTask.cc.
References funct::abs(), DEFINE_ECALDQM_WORKER, Exception, mps_fire::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_().