#include <BxTiming.h>
Protected Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override |
Protected Member Functions inherited from DQMEDAnalyzer | |
uint64_t | meId () const |
Private Types | |
enum | nsys { NSYS = 10 } |
enum | syslist { PS = 0, ETP, HTP, GCT, CTP, CTF, DTP, DTF, RPC, GLT } |
Private Member Functions | |
int | calcBxDiff (int bx1, int bx2) |
int | verbose () |
Private Attributes | |
std::pair< int, int > | fedRange_ [NSYS] |
int | fedRef_ |
edm::InputTag | fedSource_ |
edm::EDGetTokenT< FEDRawDataCollection > | fedSource_token_ |
edm::InputTag | gtSource_ |
edm::EDGetTokenT< L1GlobalTriggerReadoutRecord > | gtSource_token_ |
MonitorElement * | hBxDiffAllFed |
histograms More... | |
MonitorElement * | hBxDiffAllFedSpread [nspr_] |
MonitorElement * | hBxDiffSysFed [NSYS] |
MonitorElement * | hBxOccyAllFed |
MonitorElement * | hBxOccyAllFedSpread [nspr_] |
MonitorElement * | hBxOccyGtTrigType [nttype_] |
MonitorElement ** | hBxOccyOneFed |
MonitorElement ** | hBxOccyTrigBit [NSYS] |
std::string | histFile_ |
std::string | histFolder_ |
std::vector< int > | listGtBits_ |
int | nBxDiff [FEDNumbering::MAXFEDID+1][nspr_] |
int | nBxOccy [FEDNumbering::MAXFEDID+1][nspr_] |
int | nEvt_ |
bool | runInFF_ |
int | verbose_ |
Static Private Attributes | |
static const int | half_norb_ = norb_ / 2 |
static const int | nbig_ = 10000 |
static const int | norb_ = 3564 |
static const int | nspr_ = 3 |
static const int | nttype_ = 6 |
Definition at line 33 of file BxTiming.h.
|
private |
|
private |
|
explicit |
Definition at line 4 of file BxTiming.cc.
References gather_cfg::cout, fedRef_, fedSource_, fedSource_token_, edm::ParameterSet::getUntrackedParameter(), gtSource_, gtSource_token_, histFile_, histFolder_, mps_fire::i, HLT_2018_cff::InputTag, listGtBits_, nEvt_, runInFF_, AlCaHLTBitMon_QueryRunRegistry::string, verbose(), and verbose_.
|
override |
Definition at line 47 of file BxTiming.cc.
|
overrideprotectedvirtual |
get the raw data - if not found, return
Reimplemented from DQMEDAnalyzer.
Definition at line 263 of file BxTiming.cc.
References simKBmtfDigis_cfi::bx, calcBxDiff(), gather_cfg::cout, FEDRawData::data(), data, L1GlobalTriggerReadoutRecord::decisionWord(), FEDRawDataCollection::FEDData(), fedRange_, fedRef_, fedSource_, fedSource_token_, dqm::impl::MonitorElement::Fill(), dqmdumpme::first, GLT, gtSource_token_, hBxDiffAllFed, hBxDiffAllFedSpread, hBxDiffSysFed, hBxOccyAllFed, hBxOccyAllFedSpread, hBxOccyGtTrigType, hBxOccyOneFed, hBxOccyTrigBit, RecoTauValidation_cfi::header, mps_fire::i, iEvent, cuy::ii, createfilelist::int, edm::HandleBase::isValid(), dqmiolumiharvest::j, dqmdumpme::k, listGtBits_, FEDNumbering::MAXFEDID, nBxDiff, nBxOccy, nEvt_, nfed_, nspr_, NSYS, nttype_, runInFF_, edm::second(), dqm::impl::MonitorElement::setBinContent(), findQualityFiles::size, and verbose().
|
overrideprotectedvirtual |
initialize counters
book the histograms
labeling (cosmetics added here)
Implements DQMEDAnalyzer.
Definition at line 49 of file BxTiming.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::bookProfile(), fedRange_, fedRef_, dqmdumpme::first, hBxDiffAllFed, hBxDiffAllFedSpread, hBxDiffSysFed, hBxOccyAllFed, hBxOccyAllFedSpread, hBxOccyGtTrigType, hBxOccyOneFed, hBxOccyTrigBit, histFolder_, mps_fire::i, cuy::ii, dqmiolumiharvest::j, listGtBits_, FEDNumbering::MAXCSCFEDID, FEDNumbering::MAXCSCTFFEDID, FEDNumbering::MAXDTFEDID, FEDNumbering::MAXDTTFFEDID, FEDNumbering::MAXECALFEDID, FEDNumbering::MAXHCALFEDID, FEDNumbering::MAXPreShowerFEDID, FEDNumbering::MAXRPCFEDID, FEDNumbering::MAXTriggerEGTPFEDID, FEDNumbering::MAXTriggerGTPFEDID, FEDNumbering::MINCSCFEDID, FEDNumbering::MINCSCTFFEDID, FEDNumbering::MINDTFEDID, FEDNumbering::MINDTTFFEDID, FEDNumbering::MINECALFEDID, FEDNumbering::MINHCALFEDID, FEDNumbering::MINPreShowerFEDID, FEDNumbering::MINRPCFEDID, FEDNumbering::MINTriggerGCTFEDID, FEDNumbering::MINTriggerGTPFEDID, nbig_, nBxDiff, nBxOccy, nfed_, norb_, nspr_, NSYS, nttype_, runInFF_, edm::second(), dqm::impl::MonitorElement::setAxisTitle(), dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
calculates the difference (closest distance) between two bunch crossing numbers. This is similar to calculating delta phi between two vectors.
Calculates bx1 - bx2 but makes sure that the value is in the range -num_bx_per_orbit / 2 .. + num_bx_per_orbit / 2 .
Definition at line 403 of file BxTiming.cc.
References change_name::diff, half_norb_, and norb_.
Referenced by analyze().
|
inlineprivate |
Definition at line 51 of file BxTiming.h.
References verbose_.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 84 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 85 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
private |
Definition at line 44 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 45 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 46 of file BxTiming.h.
Referenced by BxTiming().
|
private |
Definition at line 47 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 75 of file BxTiming.h.
Referenced by calcBxDiff().
|
private |
|
private |
Definition at line 98 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 94 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 95 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 99 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 101 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 96 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 102 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 65 of file BxTiming.h.
Referenced by BxTiming().
|
private |
Definition at line 68 of file BxTiming.h.
Referenced by bookHistograms(), and BxTiming().
|
private |
Definition at line 80 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
staticprivate |
Definition at line 77 of file BxTiming.h.
Referenced by bookHistograms().
|
private |
Definition at line 89 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 90 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 62 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 74 of file BxTiming.h.
Referenced by bookHistograms(), and calcBxDiff().
|
staticprivate |
Definition at line 88 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 78 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 71 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
private |
Definition at line 50 of file BxTiming.h.
Referenced by BxTiming(), and verbose().