#include <BxTiming.h>
Protected Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob (void) |
virtual void | beginRun (edm::Run const &iRun, edm::EventSetup const &iSetup) |
virtual void | endJob () |
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 | |
DQMStore * | dbe |
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 [1500][nspr_] |
int | nBxOccy [1500][nspr_] |
int | nEvt_ |
int | nfed_ |
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 |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 31 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, dbe, fedRef_, fedSource_, fedSource_token_, edm::ParameterSet::getUntrackedParameter(), gtSource_, gtSource_token_, histFile_, histFolder_, i, listGtBits_, FEDNumbering::MAXFEDID, nEvt_, nfed_, NULL, cppFunctionSkipper::operator, runInFF_, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, verbose(), and verbose_.
BxTiming::~BxTiming | ( | ) |
Definition at line 63 of file BxTiming.cc.
|
protectedvirtual |
get the raw data - if not found, return
Implements edm::EDAnalyzer.
Definition at line 263 of file BxTiming.cc.
References FEDHeader::bxID(), calcBxDiff(), gather_cfg::cout, FEDRawData::data(), data, fedRange_, fedRef_, fedSource_, fedSource_token_, MonitorElement::Fill(), first, edm::Event::getByToken(), GLT, gtSource_token_, hBxDiffAllFed, hBxDiffAllFedSpread, hBxDiffSysFed, hBxOccyAllFed, hBxOccyAllFedSpread, hBxOccyGtTrigType, hBxOccyOneFed, hBxOccyTrigBit, i, cuy::ii, edm::HandleBase::isValid(), j, gen::k, listGtBits_, FEDNumbering::MAXFEDID, nBxDiff, nBxOccy, nEvt_, nfed_, nspr_, NSYS, nttype_, lumiPlot::rawdata, runInFF_, edm::second(), MonitorElement::setBinContent(), FEDRawData::size(), findQualityFiles::size, and verbose().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 66 of file BxTiming.cc.
References gather_cfg::cout, and verbose().
|
protectedvirtual |
initialize counters
book the histograms
labeling (cosmetics added here)
Reimplemented from edm::EDAnalyzer.
Definition at line 78 of file BxTiming.cc.
References DQMStore::book1D(), DQMStore::bookProfile(), dbe, fedRange_, fedRef_, 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::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 414 of file BxTiming.cc.
References diffTreeTool::diff, half_norb_, and norb_.
Referenced by analyze().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 248 of file BxTiming.cc.
References gather_cfg::cout, dbe, histFile_, nEvt_, DQMStore::save(), and verbose().
|
inlineprivate |
Definition at line 55 of file BxTiming.h.
References verbose_.
Referenced by analyze(), beginJob(), BxTiming(), and endJob().
|
private |
Definition at line 75 of file BxTiming.h.
Referenced by beginRun(), BxTiming(), and endJob().
|
private |
Definition at line 91 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 93 of file BxTiming.h.
Referenced by analyze(), beginRun(), and BxTiming().
|
private |
Definition at line 48 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 49 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 50 of file BxTiming.h.
Referenced by BxTiming().
|
private |
Definition at line 51 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 82 of file BxTiming.h.
Referenced by calcBxDiff().
|
private |
|
private |
Definition at line 106 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 102 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 103 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 107 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 109 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 104 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 110 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 69 of file BxTiming.h.
Referenced by BxTiming(), and endJob().
|
private |
Definition at line 72 of file BxTiming.h.
Referenced by beginRun(), and BxTiming().
|
private |
Definition at line 87 of file BxTiming.h.
Referenced by analyze(), beginRun(), and BxTiming().
|
staticprivate |
Definition at line 84 of file BxTiming.h.
Referenced by beginRun().
|
private |
Definition at line 97 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 98 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 66 of file BxTiming.h.
Referenced by analyze(), BxTiming(), and endJob().
|
private |
Definition at line 92 of file BxTiming.h.
Referenced by analyze(), beginRun(), and BxTiming().
|
staticprivate |
Definition at line 81 of file BxTiming.h.
Referenced by beginRun(), and calcBxDiff().
|
staticprivate |
Definition at line 96 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
staticprivate |
Definition at line 85 of file BxTiming.h.
Referenced by analyze(), and beginRun().
|
private |
Definition at line 78 of file BxTiming.h.
Referenced by analyze(), beginRun(), and BxTiming().
|
private |
Definition at line 54 of file BxTiming.h.
Referenced by BxTiming(), and verbose().