#include <BxTiming.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | bookHistograms (DQMStore::IBooker &ibooker, edm::Run const &, edm::EventSetup const &) override |
virtual void | dqmBeginRun (edm::Run const &iRun, edm::EventSetup const &iSetup) |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
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 34 of file BxTiming.h.
|
private |
|
private |
Enumerator | |
---|---|
PS | |
ETP | |
HTP | |
GCT | |
CTP | |
CTF | |
DTP | |
DTF | |
RPC | |
GLT |
Definition at line 90 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_, i, HLT_25ns10e33_v2_cff::InputTag, listGtBits_, nEvt_, runInFF_, AlCaHLTBitMon_QueryRunRegistry::string, verbose(), and verbose_.
BxTiming::~BxTiming | ( | ) |
Definition at line 52 of file BxTiming.cc.
|
protectedvirtual |
get the raw data - if not found, return
Implements edm::stream::EDAnalyzerBase.
Definition at line 226 of file BxTiming.cc.
References FEDHeader::bxID(), calcBxDiff(), gather_cfg::cout, FEDRawData::data(), AlCaHLTBitMon_QueryRunRegistry::data, edm::Event::eventAuxiliary(), edm::EventAuxiliary::experimentType(), fedRange_, fedRef_, fedSource_, fedSource_token_, MonitorElement::Fill(), plotBeamSpotDB::first, edm::Event::getByToken(), GLT, gtSource_token_, hBxDiffAllFed, hBxDiffAllFedSpread, hBxDiffSysFed, hBxOccyAllFed, hBxOccyAllFedSpread, hBxOccyGtTrigType, hBxOccyOneFed, hBxOccyTrigBit, i, cuy::ii, edm::HandleBase::isValid(), j, relval_2017::k, listGtBits_, FEDNumbering::MAXFEDID, nBxDiff, nBxOccy, nEvt_, nfed_, nspr_, NSYS, nttype_, lumiPlot::rawdata, runInFF_, edm::second(), MonitorElement::setBinContent(), FEDRawData::size(), findQualityFiles::size, and verbose().
|
overrideprotectedvirtual |
initialize counters
book the histograms
labeling (cosmetics added here)
Implements DQMEDAnalyzer.
Definition at line 55 of file BxTiming.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::bookProfile(), fedRange_, fedRef_, plotBeamSpotDB::first, hBxDiffAllFed, hBxDiffAllFedSpread, hBxDiffSysFed, hBxOccyAllFed, hBxOccyAllFedSpread, hBxOccyGtTrigType, hBxOccyOneFed, hBxOccyTrigBit, histFolder_, i, cuy::ii, 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(), MonitorElement::setAxisTitle(), DQMStore::IBooker::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 377 of file BxTiming.cc.
References mps_update::diff, half_norb_, and norb_.
Referenced by analyze().
|
protectedvirtual |
|
inlineprivate |
Definition at line 57 of file BxTiming.h.
References verbose_.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 91 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 92 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
private |
Definition at line 50 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 51 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 52 of file BxTiming.h.
Referenced by BxTiming().
|
private |
Definition at line 53 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 82 of file BxTiming.h.
Referenced by calcBxDiff().
|
private |
histograms
Definition at line 100 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 105 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 102 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 106 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 108 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 103 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 109 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 71 of file BxTiming.h.
Referenced by BxTiming().
|
private |
Definition at line 74 of file BxTiming.h.
Referenced by bookHistograms(), and BxTiming().
|
private |
Definition at line 87 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
staticprivate |
Definition at line 84 of file BxTiming.h.
Referenced by bookHistograms().
|
private |
Definition at line 96 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 97 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 81 of file BxTiming.h.
Referenced by bookHistograms(), and calcBxDiff().
|
staticprivate |
Definition at line 95 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 85 of file BxTiming.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 78 of file BxTiming.h.
Referenced by analyze(), bookHistograms(), and BxTiming().
|
private |
Definition at line 56 of file BxTiming.h.
Referenced by BxTiming(), and verbose().