#include <HcalDataIntegrityTask.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
void | cleanup () |
HcalDataIntegrityTask (const edm::ParameterSet &ps) | |
void | processEvent (const FEDRawDataCollection &rawraw, const HcalUnpackerReport &report, const HcalElectronicsMap &emap) |
void | reset () |
void | setup () |
void | unpack (const FEDRawData &raw, const HcalElectronicsMap &emap) |
~HcalDataIntegrityTask () | |
Public Member Functions inherited from HcalBaseDQMonitor | |
HcalBaseDQMonitor (const edm::ParameterSet &ps) | |
HcalBaseDQMonitor () | |
~HcalBaseDQMonitor () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Attributes | |
std::map< uint32_t, std::vector< HcalDetId > > | DCCtoCell |
std::map< uint32_t, std::vector< HcalDetId > >::iterator | thisDCC |
Private Member Functions | |
void | fillzoos (int bin, int dccid) |
void | mapDCCproblem (int dcc) |
void | mapHTRproblem (int dcc, int spigot) |
void | UpdateMap () |
Private Attributes | |
std::map< int, short > | CDFEventType_list |
std::map< int, short >::iterator | CDFEvT_it |
std::map< int, short >::iterator | CDFReservedBits_it |
std::map< int, short > | CDFReservedBits_list |
std::map< int, short >::iterator | CDFvers_it |
std::map< int, short > | CDFversionNumber_list |
std::vector< int > | dccCrate_ |
std::map< int, short >::iterator | DCCEvtFormat_it |
std::map< int, short > | DCCEvtFormat_list |
std::map< int, short >::iterator | DCCRsvdBits_it |
std::map< int, short > | DCCRsvdBits_list |
std::vector< HcalSubdetector > | dccSubdet_ |
MonitorElement * | fedEntries_ |
MonitorElement * | fedFatal_ |
MonitorElement * | fedNonFatal_ |
std::vector< int > | fedUnpackList_ |
int | firstFED_ |
std::vector< std::vector < uint64_t > > | HBmap |
std::vector< std::vector < uint64_t > > | HEmap |
std::vector< std::vector < uint64_t > > | HFmap |
std::vector< std::vector < uint64_t > > | HOmap |
edm::InputTag | inputLabelRawData_ |
edm::InputTag | inputLabelReport_ |
int | lastBCN_ |
int | lastEvtN_ |
std::vector< std::vector < uint64_t > > | phatmap |
std::vector< std::vector< bool > > | problemHB |
std::vector< std::vector< bool > > | problemHE |
std::vector< std::vector< bool > > | problemhere |
std::vector< std::vector< bool > > | problemHF |
std::vector< std::vector< bool > > | problemHO |
int | prtlvl_ |
const HcalElectronicsMap * | readoutMap_ |
Static Private Attributes | |
static float | DIMbin [32] |
static size_t | ietarange |
static size_t | iphirange |
HcalDataIntegrityTask::HcalDataIntegrityTask | ( | const edm::ParameterSet & | ps | ) |
Definition at line 8 of file HcalDataIntegrityTask.cc.
References HcalBaseDQMonitor::AllowedCalibTypes_, HcalBaseDQMonitor::debug_, HcalBaseDQMonitor::enableCleanup_, edm::ParameterSet::getUntrackedParameter(), inputLabelRawData_, inputLabelReport_, HcalBaseDQMonitor::makeDiagnostics_, HcalBaseDQMonitor::mergeRuns_, HcalBaseDQMonitor::NLumiBlocks_, HcalBaseDQMonitor::Online_, HcalBaseDQMonitor::prefixME_, HcalBaseDQMonitor::skipOutOfOrderLS_, and HcalBaseDQMonitor::subdir_.
HcalDataIntegrityTask::~HcalDataIntegrityTask | ( | ) |
Definition at line 33 of file HcalDataIntegrityTask.cc.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 148 of file HcalDataIntegrityTask.cc.
References HcalBaseDQMonitor::analyze(), HcalBaseDQMonitor::debug_, edm::Event::getByLabel(), inputLabelRawData_, inputLabelReport_, HcalBaseDQMonitor::IsAllowedCalibType(), HcalBaseDQMonitor::LumiInOrder(), edm::EventBase::luminosityBlock(), processEvent(), readoutMap_, and zeeHLT_cff::report.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 56 of file HcalDataIntegrityTask.cc.
References HcalBaseDQMonitor::beginRun(), gather_cfg::cout, HcalBaseDQMonitor::debug_, edm::EventSetup::get(), HcalBaseDQMonitor::mergeRuns_, readoutMap_, reset(), setup(), HcalBaseDQMonitor::subdir_, and HcalBaseDQMonitor::tevt_.
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 45 of file HcalDataIntegrityTask.cc.
References HcalBaseDQMonitor::dbe_, DQMStore::removeContents(), DQMStore::setCurrentFolder(), and HcalBaseDQMonitor::subdir_.
|
private |
|
private |
|
private |
void HcalDataIntegrityTask::processEvent | ( | const FEDRawDataCollection & | rawraw, |
const HcalUnpackerReport & | report, | ||
const HcalElectronicsMap & | emap | ||
) |
Definition at line 179 of file HcalDataIntegrityTask.cc.
References gather_cfg::cout, HcalBaseDQMonitor::dbe_, FEDRawDataCollection::FEDData(), fedUnpackList_, i, FEDRawData::size(), and unpack().
Referenced by analyze().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 35 of file HcalDataIntegrityTask.cc.
References gather_cfg::cout, HcalBaseDQMonitor::debug_, fedEntries_, fedFatal_, fedNonFatal_, HcalBaseDQMonitor::reset(), and MonitorElement::Reset().
Referenced by beginRun(), and setup().
|
virtual |
Reimplemented from HcalBaseDQMonitor.
Definition at line 78 of file HcalDataIntegrityTask.cc.
References DQMStore::book1D(), gather_cfg::cout, HcalBaseDQMonitor::dbe_, HcalBaseDQMonitor::debug_, fedEntries_, fedFatal_, fedNonFatal_, fedUnpackList_, firstFED_, HBmap, HEmap, HFmap, HOmap, i, IETAMAX, IETAMIN, ietarange, IPHIMAX, IPHIMIN, iphirange, FEDNumbering::MAXHCALFEDID, FEDNumbering::MINHCALFEDID, phatmap, problemHB, problemHE, problemhere, problemHF, problemHO, reset(), DQMStore::setCurrentFolder(), HcalBaseDQMonitor::setup(), and HcalBaseDQMonitor::subdir_.
Referenced by beginRun().
void HcalDataIntegrityTask::unpack | ( | const FEDRawData & | raw, |
const HcalElectronicsMap & | emap | ||
) |
Definition at line 202 of file HcalDataIntegrityTask.cc.
References HcalDCCHeader::BOEshouldBe5Always(), HcalDCCHeader::BOEshouldBeZeroAlways(), CDFEventType_list, CDFEvT_it, CDFReservedBits_it, CDFReservedBits_list, CDFvers_it, CDFversionNumber_list, FEDTrailer::check(), FEDRawData::data(), fedEntries_, fedFatal_, MonitorElement::Fill(), HcalDCCHeader::getCDFEventType(), HcalDCCHeader::getCDFversionNumber(), HcalDCCHeader::getSlink64ReservedBits(), HcalDCCHeader::getSourceId(), FEDTrailer::lenght(), FEDTrailer::moreTrailers(), FEDRawData::size(), HcalDCCHeader::thereIsASecondCDFHeaderWord(), and HcalDCCHeader::thereIsAThirdCDFHeaderWord().
Referenced by processEvent().
|
private |
|
private |
Definition at line 91 of file HcalDataIntegrityTask.h.
Referenced by unpack().
|
private |
Definition at line 92 of file HcalDataIntegrityTask.h.
Referenced by unpack().
|
private |
Definition at line 94 of file HcalDataIntegrityTask.h.
Referenced by unpack().
|
private |
Definition at line 93 of file HcalDataIntegrityTask.h.
Referenced by unpack().
|
private |
Definition at line 90 of file HcalDataIntegrityTask.h.
Referenced by unpack().
|
private |
Definition at line 89 of file HcalDataIntegrityTask.h.
Referenced by unpack().
|
private |
Definition at line 72 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 96 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 95 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 98 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 97 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 73 of file HcalDataIntegrityTask.h.
std::map<uint32_t, std::vector<HcalDetId> > HcalDataIntegrityTask::DCCtoCell |
Definition at line 48 of file HcalDataIntegrityTask.h.
|
staticprivate |
Definition at line 101 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 84 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 85 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 86 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 71 of file HcalDataIntegrityTask.h.
Referenced by processEvent(), and setup().
|
private |
Definition at line 74 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 64 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 65 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 66 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 67 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
staticprivate |
Definition at line 54 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 104 of file HcalDataIntegrityTask.h.
Referenced by analyze(), and HcalDataIntegrityTask().
|
private |
Definition at line 105 of file HcalDataIntegrityTask.h.
Referenced by analyze(), and HcalDataIntegrityTask().
|
staticprivate |
Definition at line 53 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 76 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 75 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 63 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 56 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 57 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 55 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 58 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 59 of file HcalDataIntegrityTask.h.
Referenced by setup().
|
private |
Definition at line 80 of file HcalDataIntegrityTask.h.
|
private |
Definition at line 103 of file HcalDataIntegrityTask.h.
Referenced by analyze(), and beginRun().
std::map<uint32_t, std::vector<HcalDetId> >::iterator HcalDataIntegrityTask::thisDCC |
Definition at line 49 of file HcalDataIntegrityTask.h.