#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 32 of file BxTiming.h.
|
private |
|
private |
Enumerator | |
---|---|
PS | |
ETP | |
HTP | |
GCT | |
CTP | |
CTF | |
DTP | |
DTF | |
RPC | |
GLT |
Definition at line 82 of file BxTiming.h.
|
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_2022v15_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 245 of file BxTiming.cc.
References l1GtPatternGenerator_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, 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(), AlCaHLTBitMon_QueryRunRegistry::string, and cond::impl::to_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 385 of file BxTiming.cc.
References change_name::diff, half_norb_, and norb_.
Referenced by analyze().
|
inlineprivate |
Definition at line 50 of file BxTiming.h.
References verbose_.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 83 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 84 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
private |
Definition at line 43 of file BxTiming.h.
Referenced by analyze(), 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 BxTiming().
|
private |
Definition at line 46 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 74 of file BxTiming.h.
Referenced by calcBxDiff().
|
private |
|
private |
Definition at line 97 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 93 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 98 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 100 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 101 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 64 of file BxTiming.h.
Referenced by BxTiming().
|
private |
Definition at line 67 of file BxTiming.h.
Referenced by bookHistograms(), and BxTiming().
|
private |
Definition at line 79 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
staticprivate |
Definition at line 76 of file BxTiming.h.
Referenced by bookHistograms().
|
private |
Definition at line 88 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 89 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 61 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 73 of file BxTiming.h.
Referenced by bookHistograms(), and calcBxDiff().
|
staticprivate |
Definition at line 87 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 77 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 70 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
private |
Definition at line 49 of file BxTiming.h.
Referenced by BxTiming(), and verbose().