Classes | |
struct | ArmPlots |
plots related to one arm More... | |
struct | GlobalPlots |
plots related to the whole system More... | |
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 | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
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... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Private Attributes | |
std::map< unsigned int, ArmPlots > | armPlots |
const edm::EDGetTokenT < CTPPSRecord > | ctppsRecordToken |
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 | |
static constexpr int | MAX_LUMIS = 6000 |
static constexpr int | MAX_VBINS = 18 |
Definition at line 29 of file CTPPSCommonDQMSource.cc.
CTPPSCommonDQMSource::CTPPSCommonDQMSource | ( | const edm::ParameterSet & | ps | ) |
Definition at line 297 of file CTPPSCommonDQMSource.cc.
References currentLS, endLS, and rpstate.
|
override |
Definition at line 311 of file CTPPSCommonDQMSource.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >.
Definition at line 327 of file CTPPSCommonDQMSource.cc.
References analyzeCTPPSRecord(), analyzeProtons(), analyzeTracks(), and makeProtonRecoPlots_.
|
protected |
Definition at line 337 of file CTPPSCommonDQMSource.cc.
References ctppsRecordToken, edm::Event::getLuminosityBlock(), mps_fire::i, edm::LuminosityBlock::index(), edm::HandleBase::isValid(), rpstate, and verbosity.
Referenced by analyze().
|
protected |
Definition at line 517 of file CTPPSCommonDQMSource.cc.
References armPlots, edm::HandleBase::isValid(), AlCaHLTBitMon_ParallelJobs::p, L1TEGammaDiff_cfi::plots, reco::ForwardProton::sector45, reco::ForwardProton::sector56, tokenRecoProtons, and verbosity.
Referenced by analyze().
|
protected |
Definition at line 358 of file CTPPSCommonDQMSource.cc.
References CTPPSDetId::arm(), armPlots, edm::EventBase::bunchCrossing(), 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, edm::HandleBase::isValid(), AlCaHLTBitMon_ParallelJobs::p, L1TEGammaDiff_cfi::plots, CTPPSDetId::rp(), tokenLocalTrackLite, and verbosity.
Referenced by analyze().
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< std::vector< int > > >.
Definition at line 315 of file CTPPSCommonDQMSource.cc.
References armPlots, globalPlots, CTPPSCommonDQMSource::GlobalPlots::Init(), and makeProtonRecoPlots_.
|
overrideprotected |
Definition at line 555 of file CTPPSCommonDQMSource.cc.
|
overrideprotected |
Definition at line 562 of file CTPPSCommonDQMSource.cc.
References currentLS, globalPlots, mps_fire::i, edm::LuminosityBlockBase::id(), edm::LuminosityBlock::index(), edm::LuminosityBlockID::luminosityBlock(), perLSsaving_, rpstate, CTPPSCommonDQMSource::GlobalPlots::RPState, and dqm::impl::MonitorElement::setBinContent().
|
private |
Definition at line 100 of file CTPPSCommonDQMSource.cc.
Referenced by analyzeProtons(), analyzeTracks(), and bookHistograms().
|
private |
Definition at line 50 of file CTPPSCommonDQMSource.cc.
Referenced by analyzeCTPPSRecord().
|
private |
Definition at line 57 of file CTPPSCommonDQMSource.cc.
Referenced by CTPPSCommonDQMSource(), and globalEndLuminosityBlock().
|
private |
Definition at line 58 of file CTPPSCommonDQMSource.cc.
Referenced by CTPPSCommonDQMSource().
|
private |
Definition at line 71 of file CTPPSCommonDQMSource.cc.
Referenced by analyzeTracks(), bookHistograms(), and globalEndLuminosityBlock().
|
private |
Definition at line 54 of file CTPPSCommonDQMSource.cc.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 47 of file CTPPSCommonDQMSource.cc.
|
staticprivate |
Definition at line 48 of file CTPPSCommonDQMSource.cc.
|
private |
Definition at line 55 of file CTPPSCommonDQMSource.cc.
Referenced by globalEndLuminosityBlock().
|
private |
Definition at line 60 of file CTPPSCommonDQMSource.cc.
Referenced by analyzeCTPPSRecord(), CTPPSCommonDQMSource(), and globalEndLuminosityBlock().
|
private |
Definition at line 51 of file CTPPSCommonDQMSource.cc.
Referenced by analyzeTracks().
|
private |
Definition at line 52 of file CTPPSCommonDQMSource.cc.
Referenced by analyzeProtons().
|
private |
Definition at line 46 of file CTPPSCommonDQMSource.cc.
Referenced by analyzeCTPPSRecord(), analyzeProtons(), and analyzeTracks().