|
void | analyze (const edm::Event &, const edm::EventSetup &) |
|
void | bookHistograms (DQMStore::IBooker &ib, const edm::Run &run, const edm::EventSetup &c) |
|
| HcalDataIntegrityTask (const edm::ParameterSet &ps) |
|
void | processEvent (const FEDRawDataCollection &rawraw, const HcalUnpackerReport &report, const HcalElectronicsMap &emap) |
|
void | reset () |
|
void | setup (DQMStore::IBooker &) |
|
void | unpack (const FEDRawData &raw, const HcalElectronicsMap &emap) |
|
| ~HcalDataIntegrityTask () |
|
| HcalBaseDQMonitor (const edm::ParameterSet &ps) |
|
| HcalBaseDQMonitor () |
|
virtual | ~HcalBaseDQMonitor () |
|
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) final |
|
virtual void | beginStream (edm::StreamID id) final |
|
| DQMEDAnalyzer (void) |
|
virtual void | endLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
|
virtual void | endRunSummary (edm::Run const &, edm::EventSetup const &, dqmDetails::NoCache *) const final |
|
uint32_t | streamId () const |
|
| EDAnalyzer ()=default |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
virtual | ~EDAnalyzerBase () |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
| EDConsumerBase () |
|
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
|
std::vector
< ProductHolderIndexAndSkipBit >
const & | itemsToGetFromEvent () const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
|
virtual | ~EDConsumerBase () |
|
|
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_ |
|
edm::EDGetTokenT
< FEDRawDataCollection > | tok_raw_ |
|
edm::EDGetTokenT
< HcalUnpackerReport > | tok_report_ |
|
|
typedef CacheContexts< T...> | CacheTypes |
|
typedef CacheTypes::GlobalCache | GlobalCache |
|
typedef AbilityChecker< T...> | HasAbility |
|
typedef
CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
|
typedef
LuminosityBlockContextT
< LuminosityBlockCache,
RunCache, GlobalCache > | LuminosityBlockContext |
|
typedef
CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
|
typedef CacheTypes::RunCache | RunCache |
|
typedef RunContextT< RunCache,
GlobalCache > | RunContext |
|
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
|
typedef EDAnalyzerAdaptorBase | ModuleType |
|
typedef ProductLabels | Labels |
|
static std::shared_ptr
< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
|
static std::shared_ptr
< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
|
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
|
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
virtual void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
|
virtual void | cleanup (void) |
|
virtual void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &c) |
|
virtual void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
|
virtual void | endRun (const edm::Run &run, const edm::EventSetup &c) |
|
void | getLogicalMap (const edm::EventSetup &c) |
|
bool | IsAllowedCalibType () |
|
bool | LumiInOrder (int lumisec) |
|
void | SetupEtaPhiHists (DQMStore::IBooker &ib, EtaPhiHists &hh, std::string Name, std::string Units) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
std::vector< int > | AllowedCalibTypes_ |
|
int | badChannelStatusMask_ |
|
int | currentLS |
|
int | currenttype_ |
|
int | debug_ |
|
bool | enableCleanup_ |
|
bool | eventAllowed_ |
|
bool | HBpresent_ |
|
bool | HEpresent_ |
|
bool | HFpresent_ |
|
bool | HOpresent_ |
|
int | ievt_ |
|
std::map< unsigned int, int > | KnownBadCells_ |
|
int | levt_ |
|
HcalLogicalMap * | logicalMap_ |
|
bool | makeDiagnostics_ |
|
MonitorElement * | meIevt_ |
|
MonitorElement * | meLevt_ |
|
bool | mergeRuns_ |
|
MonitorElement * | meTevt_ |
|
MonitorElement * | meTevtHist_ |
|
bool | needLogicalMap_ |
|
int | NLumiBlocks_ |
|
bool | Online_ |
|
std::string | prefixME_ |
|
MonitorElement * | ProblemsCurrentLB |
|
MonitorElement * | ProblemsVsLB |
|
MonitorElement * | ProblemsVsLB_HB |
|
MonitorElement * | ProblemsVsLB_HBHEHF |
|
MonitorElement * | ProblemsVsLB_HE |
|
MonitorElement * | ProblemsVsLB_HF |
|
MonitorElement * | ProblemsVsLB_HO |
|
bool | skipOutOfOrderLS_ |
|
std::string | subdir_ |
|
int | tevt_ |
|
- Author
- J. Temple – University of Maryland copied from W. Fisher/J. St. John's DataFormat code
Definition at line 29 of file HcalDataIntegrityTask.h.
Reimplemented from HcalBaseDQMonitor.
Definition at line 73 of file HcalDataIntegrityTask.cc.
References DQMStore::IBooker::book1D(), gather_cfg::cout, 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::IBooker::setCurrentFolder(), HcalBaseDQMonitor::setup(), and HcalBaseDQMonitor::subdir_.
Referenced by bookHistograms().
82 std::vector<uint64_t> phatv (iphirange + 1, 0);
84 if (
debug_>0)
std::cout <<
"<HcalDataIntegrityTask::setup> Clearing old vectors"<<std::endl;
98 phatmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
99 HBmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
100 HEmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
101 HFmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
102 HOmap = std::vector< std::vector < uint64_t> > ( ietarange + 1, phatv);
103 std::vector<bool> probvect (iphirange + 1, 0);
105 problemhere = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
106 problemHB = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
107 problemHE = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
108 problemHF = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
109 problemHO = std::vector< std::vector <bool> > ( ietarange + 1, probvect);
114 std::cout <<
"About to pushback fedUnpackList_" << std::endl;
122 if(
debug_>1)
std::cout <<
"[DFMon:]Pushback for fedUnpackList_: " <<
i <<std::endl;
127 std::cout <<
"\t<HcalDataIntegrityTask> Setting folder to "<<
subdir_<<std::endl;
132 fedFatal_ = ib.
book1D(
"FEDFatal",
"# fatal errors HCAL FED",32,700,732);
std::vector< std::vector< bool > > problemHE
std::vector< std::vector< uint64_t > > HFmap
std::vector< std::vector< uint64_t > > phatmap
MonitorElement * book1D(Args &&...args)
std::vector< std::vector< uint64_t > > HEmap
std::vector< int > fedUnpackList_
MonitorElement * fedEntries_
void setCurrentFolder(const std::string &fullpath)
std::vector< std::vector< bool > > problemHF
std::vector< std::vector< uint64_t > > HOmap
std::vector< std::vector< bool > > problemHB
std::vector< std::vector< uint64_t > > HBmap
MonitorElement * fedNonFatal_
std::vector< std::vector< bool > > problemHO
std::vector< std::vector< bool > > problemhere
virtual void setup(DQMStore::IBooker &)
MonitorElement * fedFatal_
Definition at line 186 of file HcalDataIntegrityTask.cc.
References HcalDCCHeader::BOEshouldBe5Always(), HcalDCCHeader::BOEshouldBeZeroAlways(), CDFEventType_list, CDFEvT_it, CDFReservedBits_it, CDFReservedBits_list, CDFvers_it, CDFversionNumber_list, FEDTrailer::check(), compareJSON::const, 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().
190 if(!dccHeader)
return;
193 unsigned char const* trailer_ptr =
reinterpret_cast<unsigned char const*
>(raw.
data()+raw.
size()-
sizeof(
uint64_t));
199 bool CDFProbThisDCC =
false;
203 CDFProbThisDCC =
true;
217 CDFProbThisDCC =
true;
238 CDFProbThisDCC =
true;
244 CDFProbThisDCC =
true;
265 CDFProbThisDCC =
true;
271 CDFProbThisDCC =
true;
278 CDFProbThisDCC =
true;
281 if (!trailer.
check())
283 CDFProbThisDCC =
true;
std::map< int, short > CDFversionNumber_list
size_t size() const
Lenght of the data buffer in bytes.
std::map< int, short >::iterator CDFvers_it
std::map< int, short >::iterator CDFReservedBits_it
MonitorElement * fedEntries_
unsigned long long uint64_t
std::map< int, short >::iterator CDFEvT_it
int lenght()
The length of the event fragment counted in 64-bit words including header and trailer.
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.
std::map< int, short > CDFReservedBits_list
std::map< int, short > CDFEventType_list
MonitorElement * fedFatal_