|
|
Go to the documentation of this file.
56 if (!
hltConfig.init(iRun, iEventSetup,
"HLT", changed)) {
57 edm::LogInfo(
"DQMProvInfo") <<
"errorHltConfigExtraction" << std::endl;
61 hltKey_ =
"error key of length 0";
143 "DCS HV Status and Beam Status per Lumisection",
202 hostName_ = iBooker.bookString(
"hostName", gSystem->HostName());
213 workingDir_ = iBooker.bookString(
"workingDir", gSystem->pwd());
232 unsigned int currentLSNumber =
event.id().luminosityBlock();
274 unsigned int currentLSNumber =
event.id().luminosityBlock();
287 if (dcsStatusCollection.
isValid() && !dcsStatusCollection->empty()) {
288 edm::LogInfo(
"DQMProvInfo") <<
"Using FED#735 for reading DCS bits" << std::endl;
291 edm::LogInfo(
"DQMProvInfo") <<
"Using softFED#1022 for reading DCS bits" << std::endl;
294 edm::LogError(
"DQMProvInfo") <<
"No DCS information found!" << std::endl;
301 edm::LogInfo(
"DQMProvInfo") <<
"Physics declared bit: " << physicsDeclared << std::endl;
305 if (physicsDeclared) {
371 for (
auto const& dcsStatusItr : *dcsStatusCollection) {
376 dcsBits[vbin] =
true;
407 edm::LogInfo(
"DQMProvInfo") <<
"DCS status: 0x" << std::hex << dcsStatusItr.ready() <<
std::dec << std::endl;
431 for (
int vBin = 1; vBin <=
MAX_VBINS; vBin++) {
445 }
else if (
value < current) {
456 for (
int ls = 1;
ls < currentLSNumber;
ls++) {
const static int VBIN_HBHE_B
void blankAllLumiSections()
MonitorElement * versGlobaltag_
const static int VBIN_TEC_P
const uint32_t getIntensityBeam1() const
const static int VBIN_DT_0
MonitorElement * processId_
const static int VBIN_CSC_M
MonitorElement * hostName_
MonitorElement * reportSummaryMap_
std::string provinfofolder_
void fillSummaryMapBin(int ls, int bin, double value)
const static int VBIN_ES_M
Class to contain DCS information from soft FED 1022.
T getUntrackedParameter(std::string const &, T const &) const
const static int VBIN_MOMENTUM
const uint32_t getIntensityBeam2() const
MonitorElement * hIntensity2_
MonitorElement * workingDir_
const static int MAX_MOMENTUM
void analyzeEventInfo(const edm::Event &e)
const static int MAX_LUMIS
void bookHistogramsLhcInfo(DQMStore::IBooker &)
const uint16_t getBeamMode() const
MonitorElement * hMomentum_
void bookHistogramsProvInfo(DQMStore::IBooker &)
const static int VBIN_EE_P
const static int VBIN_FPIX
const static int MAX_VBINS
MonitorElement * hLhcFill_
void fillDcsBitsFromDcsStatusCollection(const edm::Handle< DcsStatusCollection > &, bool *dcsBits)
void analyze(const edm::Event &e, const edm::EventSetup &c) override
const static int MAX_DCS_VBINS
const uint32_t getLhcFill() const
void analyzeProvInfo(const edm::Event &e)
const static int VBIN_TIBTID
MonitorElement * hHltKey_
const static int MOMENTUM_OFFSET
const static int VBIN_ES_P
const static int VBIN_CSC_P
edm::EDGetTokenT< DCSRecord > dcsRecordToken_
const static int VBIN_HBHE_C
const static int VBIN_BPIX
MonitorElement * hIsCollisionsRun_
const int32_t getBeamMomentum() const
const static int VBIN_EE_M
void bookHistogramsEventInfo(DQMStore::IBooker &)
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
const static int VBIN_VALID
bool isPhysicsDeclared(bool *dcsBits)
DQMProvInfo(const edm::ParameterSet &ps)
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
const static int VBIN_STABLE_BEAM
const static int VBIN_HBHE_A
MonitorElement * versRuntype_
void setupLumiSection(int ls)
const static int VBIN_PHYSICS_DECLARED
const static int VBIN_ZDC
T getParameter(std::string const &) const
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
const static int VBIN_CASTOR
std::string getReleaseVersion()
MonitorElement * hBeamMode_
std::string subsystemname_
void fillDcsBitsFromDCSRecord(const DCSRecord &, bool *dcsBits)
const static int VBIN_EB_P
void dqmBeginRun(const edm::Run &r, const edm::EventSetup &c) override
const static int VBIN_DT_P
const BSTRecord & getBST() const
const static int VBIN_TOB
const static int VBIN_TE_M
const static int VBIN_DT_M
MonitorElement * hIntensity1_
void analyzeLhcInfo(const edm::Event &e)
MonitorElement * reportSummary_
const static int VBIN_RPC
const static int VBIN_EB_M
virtual void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
virtual double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * versCMSSW_
edm::EDGetTokenT< DcsStatusCollection > dcsStatusCollection_
ParameterSet const & getParameterSet(std::string const &) const
edm::EDGetTokenT< TCDSRecord > tcdsrecord_