#include <BxTiming.h>
Public Member Functions | |
BxTiming (const edm::ParameterSet &) | |
~BxTiming () | |
Public Member Functions inherited from edm::EDAnalyzer | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Protected Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob (void) |
virtual void | endJob () |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () 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 | |
DQMStore * | dbe |
std::pair< int, int > | fedRange_ [NSYS] |
int | fedRef_ |
edm::InputTag | fedSource_ |
edm::InputTag | gtSource_ |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
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 25 of file BxTiming.h.
|
private |
|
private |
Enumerator | |
---|---|
PS | |
ETP | |
HTP | |
GCT | |
CTP | |
CTF | |
DTP | |
DTF | |
RPC | |
GLT |
Definition at line 81 of file BxTiming.h.
|
explicit |
Definition at line 10 of file BxTiming.cc.
References gather_cfg::cout, dbe, fedRef_, fedSource_, edm::ParameterSet::getUntrackedParameter(), gtSource_, histFile_, histFolder_, i, listGtBits_, FEDNumbering::MAXFEDID, nEvt_, nfed_, NULL, cppFunctionSkipper::operator, runInFF_, DQMStore::setCurrentFolder(), DQMStore::setVerbose(), verbose(), and verbose_.
BxTiming::~BxTiming | ( | ) |
Definition at line 65 of file BxTiming.cc.
|
protectedvirtual |
get the raw data - if not found, return
Implements edm::EDAnalyzer.
Definition at line 262 of file BxTiming.cc.
References calcBxDiff(), gather_cfg::cout, FEDRawData::data(), data, fedRange_, fedRef_, fedSource_, MonitorElement::Fill(), first, edm::Event::getByLabel(), GLT, gtSource_, hBxDiffAllFed, hBxDiffAllFedSpread, hBxDiffSysFed, hBxOccyAllFed, hBxOccyAllFedSpread, hBxOccyGtTrigType, hBxOccyOneFed, hBxOccyTrigBit, errorMatrix2Lands::header, i, 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 |
initialize counters
book the histograms
labeling (cosmetics added here)
Reimplemented from edm::EDAnalyzer.
Definition at line 68 of file BxTiming.cc.
References DQMStore::book1D(), DQMStore::bookProfile(), gather_cfg::cout, dbe, fedRange_, fedRef_, first, hBxDiffAllFed, hBxDiffAllFedSpread, hBxDiffSysFed, hBxOccyAllFed, hBxOccyAllFedSpread, hBxOccyGtTrigType, hBxOccyOneFed, hBxOccyTrigBit, histFolder_, i, 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_, cppFunctionSkipper::operator, runInFF_, edm::second(), MonitorElement::setAxisTitle(), DQMStore::setCurrentFolder(), and verbose().
|
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 413 of file BxTiming.cc.
References diffTreeTool::diff, half_norb_, and norb_.
Referenced by analyze().
|
protectedvirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 247 of file BxTiming.cc.
References gather_cfg::cout, dbe, histFile_, nEvt_, DQMStore::save(), and verbose().
|
inlineprivate |
Definition at line 46 of file BxTiming.h.
References verbose_.
Referenced by analyze(), beginJob(), BxTiming(), and endJob().
|
private |
Definition at line 66 of file BxTiming.h.
Referenced by beginJob(), BxTiming(), and endJob().
|
private |
Definition at line 82 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 84 of file BxTiming.h.
Referenced by analyze(), beginJob(), and BxTiming().
|
private |
Definition at line 41 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
private |
Definition at line 42 of file BxTiming.h.
Referenced by analyze(), and BxTiming().
|
staticprivate |
Definition at line 73 of file BxTiming.h.
Referenced by calcBxDiff().
|
private |
|
private |
Definition at line 97 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 93 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 94 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 98 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 100 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 95 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 101 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 60 of file BxTiming.h.
Referenced by BxTiming(), and endJob().
|
private |
Definition at line 63 of file BxTiming.h.
Referenced by beginJob(), and BxTiming().
|
private |
Definition at line 78 of file BxTiming.h.
Referenced by analyze(), beginJob(), and BxTiming().
|
staticprivate |
Definition at line 75 of file BxTiming.h.
Referenced by beginJob().
|
private |
Definition at line 88 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 89 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 57 of file BxTiming.h.
Referenced by analyze(), BxTiming(), and endJob().
|
private |
Definition at line 83 of file BxTiming.h.
Referenced by analyze(), beginJob(), and BxTiming().
|
staticprivate |
Definition at line 72 of file BxTiming.h.
Referenced by beginJob(), and calcBxDiff().
|
staticprivate |
Definition at line 87 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
staticprivate |
Definition at line 76 of file BxTiming.h.
Referenced by analyze(), and beginJob().
|
private |
Definition at line 69 of file BxTiming.h.
Referenced by analyze(), beginJob(), and BxTiming().
|
private |
Definition at line 45 of file BxTiming.h.
Referenced by BxTiming(), and verbose().