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
 
 EDProducer (const EDProducer &)=delete
 
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
 
const EDProduceroperator= (const EDProducer &)=delete
 
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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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_
 
bool perLSsaving_
 
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 285 of file CTPPSCommonDQMSource.cc.

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

References currentLS, endLS, and rpstate.

◆ ~CTPPSCommonDQMSource()

CTPPSCommonDQMSource::~CTPPSCommonDQMSource ( )
override

Definition at line 299 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 315 of file CTPPSCommonDQMSource.cc.

316  {
317  analyzeCTPPSRecord(event, eventSetup);
318  analyzeTracks(event, eventSetup);
319 
321  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 325 of file CTPPSCommonDQMSource.cc.

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

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 501 of file CTPPSCommonDQMSource.cc.

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

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 346 of file CTPPSCommonDQMSource.cc.

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

References protons_cff::arm, 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, profile_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 303 of file CTPPSCommonDQMSource.cc.

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

References protons_cff::arm, 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 539 of file CTPPSCommonDQMSource.cc.

541  {
542  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 104 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 61 of file CTPPSCommonDQMSource.cc.

Referenced by CTPPSCommonDQMSource(), and globalEndLuminosityBlock().

◆ endLS

int CTPPSCommonDQMSource::endLS
private

Definition at line 62 of file CTPPSCommonDQMSource.cc.

Referenced by CTPPSCommonDQMSource().

◆ globalPlots

GlobalPlots CTPPSCommonDQMSource::globalPlots
private

Definition at line 75 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.

◆ perLSsaving_

bool CTPPSCommonDQMSource::perLSsaving_
private

Definition at line 59 of file CTPPSCommonDQMSource.cc.

Referenced by globalEndLuminosityBlock().

◆ 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:346
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:113
edm::LuminosityBlock::index
LuminosityBlockIndex index() const
Definition: LuminosityBlock.cc:28
CTPPSCommonDQMSource::rpstate
std::vector< int > rpstate
Definition: CTPPSCommonDQMSource.cc:64
CTPPSCommonDQMSource::GlobalPlots::h_trackCorr_hor
MonitorElement * h_trackCorr_hor
Definition: CTPPSCommonDQMSource.cc:70
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
CTPPSCommonDQMSource::GlobalPlots::events_per_bx_short
MonitorElement * events_per_bx_short
Definition: CTPPSCommonDQMSource.cc:69
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:325
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:70
CTPPSCommonDQMSource::analyzeProtons
void analyzeProtons(edm::Event const &event, edm::EventSetup const &eventSetup)
Definition: CTPPSCommonDQMSource.cc:501
CTPPSCommonDQMSource::currentLS
int currentLS
Definition: CTPPSCommonDQMSource.cc:61
HLTObjectsMonitor_cfi.plots
plots
Definition: HLTObjectsMonitor_cfi.py:17
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
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:75
protons_cff.arm
arm
Definition: protons_cff.py:39
profile_2016_postTS2_cff.rpId
rpId
Definition: profile_2016_postTS2_cff.py:21
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:62
CTPPSCommonDQMSource::GlobalPlots::RPState
MonitorElement * RPState
Definition: CTPPSCommonDQMSource.cc:68
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:159
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:69
edm::InputTag
Definition: InputTag.h:15
CTPPSCommonDQMSource::verbosity
const unsigned int verbosity
Definition: CTPPSCommonDQMSource.cc:50
CTPPSCommonDQMSource::perLSsaving_
bool perLSsaving_
Definition: CTPPSCommonDQMSource.cc:59
CTPPSCommonDQMSource::armPlots
std::map< unsigned int, ArmPlots > armPlots
Definition: CTPPSCommonDQMSource.cc:104