#include <SelectiveReadoutTask.h>
Public Types | |
enum | Constants { nFIRTaps = 6, bytesPerCrystal = 24 } |
enum | MESets { kTowerSize, kDCCSize, kEventSize, kFlagCounterMap, kRUForcedMap, kFullReadout, kFullReadoutMap, kZS1Map, kZSMap, kZSFullReadout, kZSFullReadoutMap, kFRDropped, kFRDroppedMap, kHighIntPayload, kLowIntPayload, kHighIntOutput, kLowIntOutput, nMESets } |
Public Types inherited from ecaldqm::DQWorker | |
enum | MESets { nMESets } |
Public Member Functions | |
void | analyze (const void *, Collections) |
void | beginEvent (const edm::Event &, const edm::EventSetup &) |
void | beginRun (const edm::Run &, const edm::EventSetup &) |
void | runOnDigis (const EcalDigiCollection &, Collections) |
void | runOnEBSrFlags (const EBSrFlagCollection &) |
void | runOnEESrFlags (const EESrFlagCollection &) |
void | runOnRawData (const EcalRawDataCollection &) |
void | runOnSource (const FEDRawDataCollection &) |
SelectiveReadoutTask (const edm::ParameterSet &, const edm::ParameterSet &) | |
~SelectiveReadoutTask () | |
Public Member Functions inherited from ecaldqm::DQWorkerTask | |
DQWorkerTask (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endEvent (const edm::Event &, const edm::EventSetup &) |
virtual bool | filterRunType (const std::vector< short > &) |
virtual bool | filterTrigger (const edm::TriggerResultsByName &) |
virtual const std::vector < std::pair< Collections, Collections > > & | getDependencies () |
virtual bool | runsOn (unsigned) |
virtual | ~DQWorkerTask () |
Public Member Functions inherited from ecaldqm::DQWorker | |
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | bookMEs () |
DQWorker (const edm::ParameterSet &, const edm::ParameterSet &, std::string const &) | |
virtual void | endLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) |
const std::vector< MESet * > & | getMEs () |
virtual std::string const & | getName () |
virtual bool | isInitialized () |
virtual void | reset () |
virtual void | setInitialized (bool _init) |
virtual void | setVerbosity (int _verbosity) |
virtual | ~DQWorker () |
Static Public Member Functions | |
static void | setMEData (std::vector< MEData > &) |
Static Public Member Functions inherited from ecaldqm::DQWorker | |
static void | setMEData (std::vector< MEData > &) |
Private Member Functions | |
void | runOnSrFlag_ (const DetId &, int, float &) |
void | setFIRWeights_ (const std::vector< double > &) |
Private Attributes | |
const EcalChannelStatus * | channelStatus_ |
const EBSrFlagCollection * | ebSRFs_ |
const EESrFlagCollection * | eeSRFs_ |
std::vector< short > | feStatus_ [54] |
std::set< uint32_t > | frFlaggedTowers_ |
int | iFirstSample_ |
std::map< uint32_t, int > | ttCrystals_ |
const EcalTrigTowerConstituentsMap * | ttMap_ |
bool | useCondDb_ |
std::vector< int > | ZSFIRWeights_ |
std::set< uint32_t > | zsFlaggedTowers_ |
Additional Inherited Members | |
Static Public Attributes inherited from ecaldqm::DQWorker | |
static std::map< std::string, std::vector< MEData > > | meData |
Protected Member Functions inherited from ecaldqm::DQWorker | |
MESet * | createMESet_ (std::string const &, MEData const &, bool _readOnly=false) const |
void | meSet_ (unsigned, edm::ParameterSet const &) |
Protected Attributes inherited from ecaldqm::DQWorkerTask | |
uint32_t | collectionMask_ |
std::vector< std::pair < Collections, Collections > > | dependencies_ |
Protected Attributes inherited from ecaldqm::DQWorker | |
bool | initialized_ |
std::vector< MESet * > | MEs_ |
std::string | name_ |
int | verbosity_ |
Definition at line 16 of file SelectiveReadoutTask.h.
Definition at line 32 of file SelectiveReadoutTask.h.
ecaldqm::SelectiveReadoutTask::SelectiveReadoutTask | ( | const edm::ParameterSet & | _params, |
const edm::ParameterSet & | _paths | ||
) |
Definition at line 20 of file SelectiveReadoutTask.cc.
References ecaldqm::DQWorkerTask::collectionMask_, ecaldqm::DQWorkerTask::dependencies_, edm::ParameterSet::getUntrackedParameterSet(), iFirstSample_, ecaldqm::kEBDigi, ecaldqm::kEBSrFlag, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEESrFlag, ecaldqm::kRun, ecaldqm::kSource, ecaldqm::DQWorker::name_, setFIRWeights_(), and useCondDb_.
ecaldqm::SelectiveReadoutTask::~SelectiveReadoutTask | ( | ) |
Definition at line 51 of file SelectiveReadoutTask.cc.
|
inlinevirtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 80 of file SelectiveReadoutTask.h.
References ecaldqm::kEBDigi, ecaldqm::kEBSrFlag, ecaldqm::kEcalRawData, ecaldqm::kEEDigi, ecaldqm::kEESrFlag, ecaldqm::kSource, runOnDigis(), runOnEBSrFlags(), runOnEESrFlags(), runOnRawData(), and runOnSource().
|
virtual |
Reimplemented from ecaldqm::DQWorkerTask.
Definition at line 83 of file SelectiveReadoutTask.cc.
References hitfit::clear(), feStatus_, frFlaggedTowers_, and zsFlaggedTowers_.
|
virtual |
Reimplemented from ecaldqm::DQWorker.
Definition at line 56 of file SelectiveReadoutTask.cc.
References begin, channelStatus_, edm::hlt::Exception, edm::EventSetup::get(), setFIRWeights_(), useCondDb_, and create_public_pileup_plots::weights.
void ecaldqm::SelectiveReadoutTask::runOnDigis | ( | const EcalDigiCollection & | _digis, |
Collections | _collection | ||
) |
Definition at line 175 of file SelectiveReadoutTask.cc.
References EcalMGPASample::adc(), edm::DataFrameContainer::begin(), bytesPerCrystal, ecaldqm::dccId(), EcalTrigTowerDetId::detIdFromDenseIndex(), ebSRFs_, eeSRFs_, edm::SortedCollection< T, SORT >::end(), edm::DataFrameContainer::end(), edm::SortedCollection< T, SORT >::find(), frFlaggedTowers_, EcalMGPASample::gainId(), ecaldqm::getElectronicsMap(), iFirstSample_, EcalDQMBinningService::kEB, ecaldqm::kEBDigi, EcalTrigTowerDetId::kEBTotalTowers, EcalDQMBinningService::kEE, kFRDropped, kFRDroppedMap, kHighIntOutput, kHighIntPayload, kLowIntOutput, kLowIntPayload, EcalScDetId::kSizeForDenseIndexing, kTowerSize, kZSFullReadout, kZSFullReadoutMap, max(), ecaldqm::DQWorker::MEs_, nFIRTaps, DetId::rawId(), compare_using_db::sample, EcalDataFrame::size(), findQualityFiles::size, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, ecaldqm::towerId(), EcalScDetId::unhashIndex(), ZSFIRWeights_, and zsFlaggedTowers_.
Referenced by analyze().
void ecaldqm::SelectiveReadoutTask::runOnEBSrFlags | ( | const EBSrFlagCollection & | _srfs | ) |
Definition at line 117 of file SelectiveReadoutTask.cc.
References edm::SortedCollection< T, SORT >::begin(), ebSRFs_, edm::SortedCollection< T, SORT >::end(), EcalDQMBinningService::kEB, kFullReadout, ecaldqm::DQWorker::MEs_, and runOnSrFlag_().
Referenced by analyze().
void ecaldqm::SelectiveReadoutTask::runOnEESrFlags | ( | const EESrFlagCollection & | _srfs | ) |
Definition at line 130 of file SelectiveReadoutTask.cc.
References edm::SortedCollection< T, SORT >::begin(), eeSRFs_, edm::SortedCollection< T, SORT >::end(), EcalDQMBinningService::kEE, kFullReadout, ecaldqm::DQWorker::MEs_, and runOnSrFlag_().
Referenced by analyze().
void ecaldqm::SelectiveReadoutTask::runOnRawData | ( | const EcalRawDataCollection & | _dcchs | ) |
Definition at line 108 of file SelectiveReadoutTask.cc.
References edm::SortedCollection< T, SORT >::begin(), edm::SortedCollection< T, SORT >::end(), and feStatus_.
Referenced by analyze().
void ecaldqm::SelectiveReadoutTask::runOnSource | ( | const FEDRawDataCollection & | _fedRaw | ) |
Definition at line 91 of file SelectiveReadoutTask.cc.
References FEDRawDataCollection::FEDData(), kDCCSize, EcalDQMBinningService::kEB, EcalDQMBinningService::kEE, ecaldqm::kEEmHigh, ecaldqm::kEEpLow, kEventSize, ecaldqm::DQWorker::MEs_, FEDRawData::size(), and findQualityFiles::size.
Referenced by analyze().
|
private |
Definition at line 143 of file SelectiveReadoutTask.cc.
References ecaldqm::dccId(), ecaldqm::Disabled, feStatus_, frFlaggedTowers_, kFlagCounterMap, kFullReadoutMap, kRUForcedMap, kZS1Map, kZSMap, ecaldqm::DQWorker::MEs_, DetId::rawId(), findQualityFiles::size, EcalSrFlag::SRF_FORCED_MASK, EcalSrFlag::SRF_FULL, EcalSrFlag::SRF_ZS1, EcalSrFlag::SRF_ZS2, ntuplemaker::status, ecaldqm::towerId(), and zsFlaggedTowers_.
Referenced by runOnEBSrFlags(), and runOnEESrFlags().
|
private |
Definition at line 324 of file SelectiveReadoutTask.cc.
References abs, edm::hlt::Exception, i, nFIRTaps, and ZSFIRWeights_.
Referenced by beginRun(), and SelectiveReadoutTask().
|
static |
Definition at line 360 of file SelectiveReadoutTask.cc.
References MonitorElement::DQM_KIND_TH1F, MonitorElement::DQM_KIND_TH2F, MonitorElement::DQM_KIND_TPROFILE2D, EcalDQMBinningService::AxisSpecs::edges, EcalDQMBinningService::AxisSpecs::high, i, EcalDQMBinningService::kDCC, kDCCSize, EcalDQMBinningService::kEcal2P, EcalDQMBinningService::kEcal3P, kEventSize, kFlagCounterMap, kFRDropped, kFRDroppedMap, kFullReadout, kFullReadoutMap, kHighIntOutput, kHighIntPayload, kLowIntOutput, kLowIntPayload, kRUForcedMap, EcalDQMBinningService::kSuperCrystal, kTowerSize, EcalDQMBinningService::kUser, kZS1Map, kZSFullReadout, kZSFullReadoutMap, kZSMap, EcalDQMBinningService::AxisSpecs::low, EcalDQMBinningService::AxisSpecs::nbins, and EcalDQMBinningService::AxisSpecs::title.
|
private |
Definition at line 68 of file SelectiveReadoutTask.h.
Referenced by beginRun().
|
private |
Definition at line 70 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and runOnEBSrFlags().
|
private |
Definition at line 71 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and runOnEESrFlags().
|
private |
Definition at line 73 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnRawData(), and runOnSrFlag_().
|
private |
Definition at line 74 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnSrFlag_().
|
private |
Definition at line 65 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and SelectiveReadoutTask().
|
private |
Definition at line 76 of file SelectiveReadoutTask.h.
|
private |
Definition at line 69 of file SelectiveReadoutTask.h.
|
private |
Definition at line 64 of file SelectiveReadoutTask.h.
Referenced by beginRun(), and SelectiveReadoutTask().
|
private |
Definition at line 66 of file SelectiveReadoutTask.h.
Referenced by runOnDigis(), and setFIRWeights_().
|
private |
Definition at line 75 of file SelectiveReadoutTask.h.
Referenced by beginEvent(), runOnDigis(), and runOnSrFlag_().