CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes
CTPPSCommonDQMSource Class Reference
Inheritance diagram for CTPPSCommonDQMSource:
DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > > edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... > edm::one::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Classes

struct  ArmPlots
 plots related to one arm More...
 
struct  GlobalPlots
 plots related to the whole system More...
 

Public Member Functions

 CTPPSCommonDQMSource (const edm::ParameterSet &ps)
 
 ~CTPPSCommonDQMSource () override
 
- Public Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >
void accumulate (edm::Event const &event, edm::EventSetup const &setup) override
 
void beginRun (edm::Run const &run, edm::EventSetup const &setup) final
 
 DQMOneEDAnalyzer ()
 
void endRun (edm::Run const &, edm::EventSetup const &) final
 
void endRunProduce (edm::Run &run, edm::EventSetup const &setup) final
 
virtual bool getCanSaveByLumi ()
 
- Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::one::WatchRuns, edm::Accumulator, Args... >
 EDProducer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
- Public Member Functions inherited from edm::one::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Protected Member Functions

void analyze (edm::Event const &e, edm::EventSetup const &eSetup) override
 
void analyzeCTPPSRecord (edm::Event const &event, edm::EventSetup const &eventSetup)
 
void analyzeProtons (edm::Event const &event, edm::EventSetup const &eventSetup)
 
void analyzeTracks (edm::Event const &event, edm::EventSetup const &eventSetup)
 
void bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
 
std::shared_ptr< std::vector< int > > globalBeginLuminosityBlock (const edm::LuminosityBlock &iLumi, const edm::EventSetup &c) const override
 
void globalEndLuminosityBlock (const edm::LuminosityBlock &iLumi, const edm::EventSetup &c) override
 
- Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >
virtual void dqmBeginRun (edm::Run const &, edm::EventSetup const &)
 
virtual void dqmEndRun (edm::Run const &, edm::EventSetup const &)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Private Attributes

std::map< unsigned int, ArmPlotsarmPlots
 
const edm::EDGetTokenT< CTPPSRecordctppsRecordToken
 
int currentLS
 
int endLS
 
GlobalPlots globalPlots
 
bool makeProtonRecoPlots_
 
std::vector< int > rpstate
 
const edm::EDGetTokenT< std::vector< CTPPSLocalTrackLite > > tokenLocalTrackLite
 
const edm::EDGetTokenT< std::vector< reco::ForwardProton > > tokenRecoProtons
 
const unsigned int verbosity
 

Static Private Attributes

constexpr static int MAX_LUMIS = 6000
 
constexpr static int MAX_VBINS = 18
 

Additional Inherited Members

- Public Types inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >
typedef dqm::reco::DQMStore DQMStore
 
typedef dqm::reco::MonitorElement MonitorElement
 
- Public Types inherited from edm::one::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Attributes inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >
edm::EDPutTokenT< DQMTokenrunToken_
 

Detailed Description

Definition at line 28 of file CTPPSCommonDQMSource.cc.

Constructor & Destructor Documentation

◆ CTPPSCommonDQMSource()

CTPPSCommonDQMSource::CTPPSCommonDQMSource ( const edm::ParameterSet ps)

Definition at line 284 of file CTPPSCommonDQMSource.cc.

286  : verbosity(ps.getUntrackedParameter<unsigned int>("verbosity", 0)),
287  ctppsRecordToken(consumes<CTPPSRecord>(ps.getUntrackedParameter<edm::InputTag>("ctppsmetadata"))),
288  tokenLocalTrackLite(consumes<vector<CTPPSLocalTrackLite>>(ps.getParameter<edm::InputTag>("tagLocalTrackLite"))),
289  tokenRecoProtons(consumes<std::vector<reco::ForwardProton>>(ps.getParameter<InputTag>("tagRecoProtons"))),
290  makeProtonRecoPlots_(ps.getParameter<bool>("makeProtonRecoPlots")) {
291  currentLS = 0;
292  endLS = 0;
293  rpstate.clear();

References currentLS, endLS, and rpstate.

◆ ~CTPPSCommonDQMSource()

CTPPSCommonDQMSource::~CTPPSCommonDQMSource ( )
override

Definition at line 297 of file CTPPSCommonDQMSource.cc.

Member Function Documentation

◆ analyze()

void CTPPSCommonDQMSource::analyze ( edm::Event const &  e,
edm::EventSetup const &  eSetup 
)
overrideprotectedvirtual

Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >.

Definition at line 313 of file CTPPSCommonDQMSource.cc.

314  {
315  analyzeCTPPSRecord(event, eventSetup);
316  analyzeTracks(event, eventSetup);
317 
319  analyzeProtons(event, eventSetup);

References analyzeCTPPSRecord(), analyzeProtons(), analyzeTracks(), and makeProtonRecoPlots_.

◆ analyzeCTPPSRecord()

void CTPPSCommonDQMSource::analyzeCTPPSRecord ( edm::Event const &  event,
edm::EventSetup const &  eventSetup 
)
protected

Definition at line 323 of file CTPPSCommonDQMSource.cc.

324  {
325  Handle<CTPPSRecord> hCTPPSRecord;
326  event.getByToken(ctppsRecordToken, hCTPPSRecord);
327 
328  if (!hCTPPSRecord.isValid()) {
329  if (verbosity)
330  LogProblem("CTPPSCommonDQMSource") << "ERROR in CTPPSCommonDQMSource::analyzeCTPPSRecord > input not available.";
331 
332  return;
333  }
334 
335  auto &rpstate = *luminosityBlockCache(event.getLuminosityBlock().index());
336  if (rpstate.empty()) {
337  rpstate.reserve(CTPPSRecord::RomanPot::Last);
338  for (uint8_t i = 0; i < CTPPSRecord::RomanPot::Last; ++i)
339  rpstate.push_back(hCTPPSRecord->status(i));
340  }

References ctppsRecordToken, mps_fire::i, edm::HandleBase::isValid(), rpstate, CTPPSRecord::status(), and verbosity.

Referenced by analyze().

◆ analyzeProtons()

void CTPPSCommonDQMSource::analyzeProtons ( edm::Event const &  event,
edm::EventSetup const &  eventSetup 
)
protected

Definition at line 499 of file CTPPSCommonDQMSource.cc.

500  {
501  // get event data
503  event.getByToken(tokenRecoProtons, hRecoProtons);
504 
505  // check validity
506  if (!hRecoProtons.isValid()) {
507  if (verbosity)
508  LogProblem("CTPPSCommonDQMSource") << "ERROR in CTPPSCommonDQMSource::analyzeProtons > input not available.";
509 
510  return;
511  }
512 
513  // loop over protons
514  for (auto &p : *hRecoProtons) {
515  if (!p.validFit())
516  continue;
517 
518  signed int armIndex = -1;
519  if (p.lhcSector() == reco::ForwardProton::LHCSector::sector45)
520  armIndex = 0;
521  if (p.lhcSector() == reco::ForwardProton::LHCSector::sector56)
522  armIndex = 1;
523  if (armIndex < 0)
524  continue;
525 
526  auto &plots = armPlots[armIndex];
527 
528  plots.h_proton_xi->Fill(p.xi());
529  plots.h_proton_th_x->Fill(p.thetaX());
530  plots.h_proton_th_y->Fill(p.thetaY());
531  plots.h_proton_t->Fill(fabs(p.t()));
532  plots.h_proton_time->Fill(p.time());
533  }

References armPlots, edm::HandleBase::isValid(), AlCaHLTBitMon_ParallelJobs::p, HLTObjectsMonitor_cfi::plots, reco::ForwardProton::sector45, reco::ForwardProton::sector56, tokenRecoProtons, and verbosity.

Referenced by analyze().

◆ analyzeTracks()

void CTPPSCommonDQMSource::analyzeTracks ( edm::Event const &  event,
edm::EventSetup const &  eventSetup 
)
protected

Definition at line 344 of file CTPPSCommonDQMSource.cc.

345  {
346  // get event data
348  event.getByToken(tokenLocalTrackLite, hTracks);
349 
350  // check validity
351  if (!hTracks.isValid()) {
352  if (verbosity)
353  LogProblem("CTPPSCommonDQMSource") << "ERROR in CTPPSCommonDQMSource::analyzeTracks > input not available.";
354 
355  return;
356  }
357 
358  //------------------------------
359  // collect indeces of RP with tracks, for each correlation plot
360  set<signed int> s_rp_idx_global_hor, s_rp_idx_global_vert;
361  map<unsigned int, set<signed int>> ms_rp_idx_arm;
362 
363  for (auto &tr : *hTracks) {
364  const CTPPSDetId rpId(tr.rpId());
365  const unsigned int arm = rpId.arm();
366  const unsigned int stNum = rpId.station();
367  const unsigned int rpNum = rpId.rp();
368  const unsigned int stRPNum = stNum * 10 + rpNum;
369 
370  {
371  signed int idx = -1;
372  if (stRPNum == 3)
373  idx = 0;
374  if (stRPNum == 23)
375  idx = 1;
376  if (stRPNum == 16)
377  idx = 2;
378 
379  if (idx >= 0)
380  s_rp_idx_global_hor.insert(3 * arm + idx);
381  }
382 
383  {
384  signed int idx = -1;
385  if (stRPNum == 4)
386  idx = 0;
387  if (stRPNum == 5)
388  idx = 1;
389  if (stRPNum == 24)
390  idx = 2;
391  if (stRPNum == 25)
392  idx = 3;
393 
394  if (idx >= 0)
395  s_rp_idx_global_vert.insert(4 * arm + idx);
396  }
397 
398  {
399  signed int idx = -1;
400  if (stRPNum == 3)
401  idx = 0;
402  if (stRPNum == 4)
403  idx = 1;
404  if (stRPNum == 5)
405  idx = 2;
406  if (stRPNum == 16)
407  idx = 3;
408  if (stRPNum == 23)
409  idx = 4;
410  if (stRPNum == 24)
411  idx = 5;
412  if (stRPNum == 25)
413  idx = 6;
414 
415  const signed int hor = ((rpNum == 2) || (rpNum == 3) || (rpNum == 6)) ? 1 : 0;
416 
417  if (idx >= 0)
418  ms_rp_idx_arm[arm].insert(idx * 10 + hor);
419  }
420  }
421 
422  //------------------------------
423  // Global Plots
424 
425  globalPlots.events_per_bx->Fill(event.bunchCrossing());
426  globalPlots.events_per_bx_short->Fill(event.bunchCrossing());
427 
428  for (const auto &idx1 : s_rp_idx_global_hor)
429  for (const auto &idx2 : s_rp_idx_global_hor)
430  globalPlots.h_trackCorr_hor->Fill(idx1, idx2);
431 
432  for (const auto &idx1 : s_rp_idx_global_vert)
433  for (const auto &idx2 : s_rp_idx_global_vert)
434  globalPlots.h_trackCorr_vert->Fill(idx1, idx2);
435 
436  //------------------------------
437  // Arm Plots
438 
439  map<unsigned int, set<unsigned int>> mTop, mHor, mBot;
440 
441  for (auto &tr : *hTracks) {
442  CTPPSDetId rpId(tr.rpId());
443  const unsigned int rpNum = rpId.rp();
444  const unsigned int armIdx = rpId.arm();
445 
446  if (rpNum == 0 || rpNum == 4)
447  mTop[armIdx].insert(rpId);
448  if (rpNum == 2 || rpNum == 3 || rpNum == 6)
449  mHor[armIdx].insert(rpId);
450  if (rpNum == 1 || rpNum == 5)
451  mBot[armIdx].insert(rpId);
452 
453  auto &ap = armPlots[rpId.arm()];
454  unsigned int rpDecId = rpId.arm() * 100 + rpId.station() * 10 + rpId.rp();
455 
456  // fill in reference tracking-RP plots
457  {
458  auto it = ap.trackingRPPlots.find(rpDecId);
459  if (it != ap.trackingRPPlots.end()) {
460  it->second.h_x->Fill(tr.x());
461  it->second.h_y->Fill(tr.y());
462  }
463  }
464 
465  // fill in reference timing-RP plots
466  {
467  auto it = ap.timingRPPlots.find(rpDecId);
468  if (it != ap.timingRPPlots.end()) {
469  it->second.h_x->Fill(tr.x());
470  it->second.h_time->Fill(tr.time());
471  }
472  }
473  }
474 
475  for (auto &p : armPlots) {
476  p.second.h_numRPWithTrack_top->Fill(mTop[p.first].size());
477  p.second.h_numRPWithTrack_hor->Fill(mHor[p.first].size());
478  p.second.h_numRPWithTrack_bot->Fill(mBot[p.first].size());
479  }
480 
481  //------------------------------
482  // Correlation plots
483 
484  for (const auto &ap : ms_rp_idx_arm) {
485  auto &plots = armPlots[ap.first];
486 
487  for (const auto &idx1 : ap.second) {
488  for (const auto &idx2 : ap.second) {
489  plots.h_trackCorr->Fill(idx1 / 10, idx2 / 10);
490 
491  if ((idx1 % 10) != (idx2 % 10))
492  plots.h_trackCorr_overlap->Fill(idx1 / 10, idx2 / 10);
493  }
494  }
495  }

References armPlots, CTPPSCommonDQMSource::GlobalPlots::events_per_bx, CTPPSCommonDQMSource::GlobalPlots::events_per_bx_short, dqm::impl::MonitorElement::Fill(), globalPlots, CTPPSCommonDQMSource::GlobalPlots::h_trackCorr_hor, CTPPSCommonDQMSource::GlobalPlots::h_trackCorr_vert, heavyIonCSV_trainingSettings::idx, edm::HandleBase::isValid(), TtSemiLepHitFitProducer_Electrons_cfi::mTop, AlCaHLTBitMon_ParallelJobs::p, HLTObjectsMonitor_cfi::plots, year_2016_postTS2_cff::rpId, tokenLocalTrackLite, and verbosity.

Referenced by analyze().

◆ bookHistograms()

void CTPPSCommonDQMSource::bookHistograms ( DQMStore::IBooker ibooker,
edm::Run const &  ,
edm::EventSetup const &   
)
overrideprotectedvirtual

Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >.

Definition at line 301 of file CTPPSCommonDQMSource.cc.

302  {
303  // global plots
304  globalPlots.Init(ibooker);
305 
306  // loop over arms
307  for (unsigned int arm = 0; arm < 2; arm++) {
308  armPlots[arm] = ArmPlots(ibooker, arm, makeProtonRecoPlots_);
309  }

References armPlots, globalPlots, CTPPSCommonDQMSource::GlobalPlots::Init(), and makeProtonRecoPlots_.

◆ globalBeginLuminosityBlock()

std::shared_ptr< std::vector< int > > CTPPSCommonDQMSource::globalBeginLuminosityBlock ( const edm::LuminosityBlock iLumi,
const edm::EventSetup c 
) const
overrideprotected

Definition at line 537 of file CTPPSCommonDQMSource.cc.

539  {
540  return std::make_shared<std::vector<int>>();

◆ globalEndLuminosityBlock()

void CTPPSCommonDQMSource::globalEndLuminosityBlock ( const edm::LuminosityBlock iLumi,
const edm::EventSetup c 
)
overrideprotected

Member Data Documentation

◆ armPlots

std::map<unsigned int, ArmPlots> CTPPSCommonDQMSource::armPlots
private

Definition at line 103 of file CTPPSCommonDQMSource.cc.

Referenced by analyzeProtons(), analyzeTracks(), and bookHistograms().

◆ ctppsRecordToken

const edm::EDGetTokenT<CTPPSRecord> CTPPSCommonDQMSource::ctppsRecordToken
private

Definition at line 54 of file CTPPSCommonDQMSource.cc.

Referenced by analyzeCTPPSRecord().

◆ currentLS

int CTPPSCommonDQMSource::currentLS
private

Definition at line 60 of file CTPPSCommonDQMSource.cc.

Referenced by CTPPSCommonDQMSource(), and globalEndLuminosityBlock().

◆ endLS

int CTPPSCommonDQMSource::endLS
private

Definition at line 61 of file CTPPSCommonDQMSource.cc.

Referenced by CTPPSCommonDQMSource().

◆ globalPlots

GlobalPlots CTPPSCommonDQMSource::globalPlots
private

Definition at line 74 of file CTPPSCommonDQMSource.cc.

Referenced by analyzeTracks(), bookHistograms(), and globalEndLuminosityBlock().

◆ makeProtonRecoPlots_

bool CTPPSCommonDQMSource::makeProtonRecoPlots_
private

Definition at line 58 of file CTPPSCommonDQMSource.cc.

Referenced by analyze(), and bookHistograms().

◆ MAX_LUMIS

const int CTPPSCommonDQMSource::MAX_LUMIS = 6000
staticconstexprprivate

Definition at line 51 of file CTPPSCommonDQMSource.cc.

◆ MAX_VBINS

const int CTPPSCommonDQMSource::MAX_VBINS = 18
staticconstexprprivate

Definition at line 52 of file CTPPSCommonDQMSource.cc.

◆ rpstate

std::vector<int> CTPPSCommonDQMSource::rpstate
private

◆ tokenLocalTrackLite

const edm::EDGetTokenT<std::vector<CTPPSLocalTrackLite> > CTPPSCommonDQMSource::tokenLocalTrackLite
private

Definition at line 55 of file CTPPSCommonDQMSource.cc.

Referenced by analyzeTracks().

◆ tokenRecoProtons

const edm::EDGetTokenT<std::vector<reco::ForwardProton> > CTPPSCommonDQMSource::tokenRecoProtons
private

Definition at line 56 of file CTPPSCommonDQMSource.cc.

Referenced by analyzeProtons().

◆ verbosity

const unsigned int CTPPSCommonDQMSource::verbosity
private

Definition at line 50 of file CTPPSCommonDQMSource.cc.

Referenced by analyzeCTPPSRecord(), analyzeProtons(), and analyzeTracks().

CTPPSCommonDQMSource::analyzeTracks
void analyzeTracks(edm::Event const &event, edm::EventSetup const &eventSetup)
Definition: CTPPSCommonDQMSource.cc:344
CTPPSCommonDQMSource::tokenRecoProtons
const edm::EDGetTokenT< std::vector< reco::ForwardProton > > tokenRecoProtons
Definition: CTPPSCommonDQMSource.cc:56
CTPPSRecord::status
Status status(const uint8_t rp) const
Return the status of the given roman pot.
Definition: CTPPSRecord.h:61
mps_fire.i
i
Definition: mps_fire.py:428
CTPPSCommonDQMSource::GlobalPlots::Init
void Init(DQMStore::IBooker &ibooker)
Definition: CTPPSCommonDQMSource.cc:112
edm::LuminosityBlock::index
LuminosityBlockIndex index() const
Definition: LuminosityBlock.cc:27
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CTPPSCommonDQMSource::rpstate
std::vector< int > rpstate
Definition: CTPPSCommonDQMSource.cc:63
CTPPSCommonDQMSource::GlobalPlots::h_trackCorr_hor
MonitorElement * h_trackCorr_hor
Definition: CTPPSCommonDQMSource.cc:69
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
year_2016_postTS2_cff.rpId
rpId
Definition: year_2016_postTS2_cff.py:23
CTPPSCommonDQMSource::GlobalPlots::events_per_bx_short
MonitorElement * events_per_bx_short
Definition: CTPPSCommonDQMSource.cc:68
edm::Handle
Definition: AssociativeIterator.h:50
heavyIonCSV_trainingSettings.idx
idx
Definition: heavyIonCSV_trainingSettings.py:5
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
CTPPSCommonDQMSource::analyzeCTPPSRecord
void analyzeCTPPSRecord(edm::Event const &event, edm::EventSetup const &eventSetup)
Definition: CTPPSCommonDQMSource.cc:323
CTPPSCommonDQMSource::tokenLocalTrackLite
const edm::EDGetTokenT< std::vector< CTPPSLocalTrackLite > > tokenLocalTrackLite
Definition: CTPPSCommonDQMSource.cc:55
TtSemiLepHitFitProducer_Electrons_cfi.mTop
mTop
Definition: TtSemiLepHitFitProducer_Electrons_cfi.py:36
edm::LogProblem
Log< level::Error, true > LogProblem
Definition: MessageLogger.h:131
dqm::impl::MonitorElement::Fill
void Fill(long long x)
Definition: MonitorElement.h:290
CTPPSCommonDQMSource::ctppsRecordToken
const edm::EDGetTokenT< CTPPSRecord > ctppsRecordToken
Definition: CTPPSCommonDQMSource.cc:54
CTPPSCommonDQMSource::GlobalPlots::h_trackCorr_vert
MonitorElement * h_trackCorr_vert
Definition: CTPPSCommonDQMSource.cc:69
CTPPSCommonDQMSource::analyzeProtons
void analyzeProtons(edm::Event const &event, edm::EventSetup const &eventSetup)
Definition: CTPPSCommonDQMSource.cc:499
CTPPSCommonDQMSource::currentLS
int currentLS
Definition: CTPPSCommonDQMSource.cc:60
HLTObjectsMonitor_cfi.plots
plots
Definition: HLTObjectsMonitor_cfi.py:17
reco::ForwardProton::LHCSector::sector56
CTPPSDetId
Base class for CTPPS detector IDs.
Definition: CTPPSDetId.h:31
edm::LuminosityBlockID::luminosityBlock
LuminosityBlockNumber_t luminosityBlock() const
Definition: LuminosityBlockID.h:42
edm::LuminosityBlockBase::id
LuminosityBlockID id() const
Definition: LuminosityBlockBase.h:44
CTPPSCommonDQMSource::globalPlots
GlobalPlots globalPlots
Definition: CTPPSCommonDQMSource.cc:74
dqm::impl::MonitorElement::setBinContent
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Definition: MonitorElement.cc:691
reco::ForwardProton::LHCSector::sector45
CTPPSCommonDQMSource::endLS
int endLS
Definition: CTPPSCommonDQMSource.cc:61
CTPPSCommonDQMSource::GlobalPlots::RPState
MonitorElement * RPState
Definition: CTPPSCommonDQMSource.cc:67
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
CTPPSCommonDQMSource::makeProtonRecoPlots_
bool makeProtonRecoPlots_
Definition: CTPPSCommonDQMSource.cc:58
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:153
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
event
Definition: event.py:1
CTPPSCommonDQMSource::GlobalPlots::events_per_bx
MonitorElement * events_per_bx
Definition: CTPPSCommonDQMSource.cc:68
edm::InputTag
Definition: InputTag.h:15
CTPPSCommonDQMSource::verbosity
const unsigned int verbosity
Definition: CTPPSCommonDQMSource.cc:50
CTPPSCommonDQMSource::armPlots
std::map< unsigned int, ArmPlots > armPlots
Definition: CTPPSCommonDQMSource.cc:103