Classes | |
struct | ChannelPlots |
plots related to one Diamond channel More... | |
struct | GlobalPlots |
plots related to the whole system More... | |
struct | PlanePlots |
plots related to one Diamond plane More... | |
struct | PotPlots |
plots related to one Diamond detector package More... | |
struct | SectorPlots |
Protected Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, const edm::Run &, const edm::EventSetup &) override |
void | dqmBeginRun (const edm::Run &, const edm::EventSetup &) override |
std::shared_ptr< totemds::Cache > | globalBeginLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) const override |
void | globalEndLuminosityBlock (const edm::LuminosityBlock &, const edm::EventSetup &) override |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::LuminosityBlockCache< totemds::Cache > > | |
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
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 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 () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
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) |
Static Private Member Functions | |
static std::string | changePathToSampic (std::string path) |
Private Attributes | |
std::unordered_map< unsigned int, ChannelPlots > | channelPlots_ |
edm::ESGetToken< CTPPSGeometry, VeryForwardRealGeometryRecord > | ctppsGeometryRunToken_ |
GlobalPlots | globalPlot_ |
std::unordered_map< unsigned int, double > | horizontalShiftOfDiamond_ |
bool | perLSsaving_ |
std::unordered_map< unsigned int, PlanePlots > | planePlots_ |
bool | plotOnline_ |
std::unordered_map< unsigned int, PotPlots > | potPlots_ |
unsigned int | samplesForNoise_ |
std::unordered_map< unsigned int, SectorPlots > | sectorPlots_ |
edm::TimeValue_t | timeOfPreviousEvent_ |
edm::EDGetTokenT< edm::DetSetVector< TotemTimingDigi > > | tokenDigi_ |
edm::EDGetTokenT< std::vector< TotemFEDInfo > > | tokenFEDInfo_ |
edm::EDGetTokenT< edm::DetSetVector< TotemRPLocalTrack > > | tokenLocalTrack_ |
edm::EDGetTokenT< edm::DetSetVector< TotemTimingRecHit > > | tokenRecHit_ |
edm::EDGetTokenT< edm::DetSetVector< TotemTimingLocalTrack > > | tokenTrack_ |
unsigned int | trackCorrelationThreshold_ |
unsigned int | verbosity_ |
Static Private Attributes | |
static const double | DISPLAY_RESOLUTION_FOR_HITS_MM = 0.05 |
static const double | DQM_FRACTION_OF_EVENTS = 1. |
static const double | HIT_RATE_FACTOR = DQM_FRACTION_OF_EVENTS / SEC_PER_LUMI_SECTION |
static const double | INV_DISPLAY_RESOLUTION_FOR_HITS_MM = 1. / DISPLAY_RESOLUTION_FOR_HITS_MM |
static const double | LHC_CLOCK_PERIOD_NS = 24.95 |
static const double | SAMPIC_ADC_V = 1. / 256 |
static const double | SEC_PER_LUMI_SECTION = 23.31 |
Definition at line 49 of file DiamondSampicDQMSource.cc.
DiamondSampicDQMSource::DiamondSampicDQMSource | ( | const edm::ParameterSet & | ps | ) |
Definition at line 383 of file DiamondSampicDQMSource.cc.
|
override |
Definition at line 402 of file DiamondSampicDQMSource.cc.
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< totemds::Cache > >.
Definition at line 468 of file DiamondSampicDQMSource.cc.
References amcDumpToRaw_cfi::boardId, channelPlots_, hcalRecHitTable_cff::detId, horizontalShiftOfDiamond_, mps_fire::i, INV_DISPLAY_RESOLUTION_FOR_HITS_MM, edm::HandleBase::isValid(), TotemTimingRecHit::NO_T_AVAILABLE, perLSsaving_, planePlots_, plotOnline_, potPlots_, HI_PhotonSkim_cff::rechits, SAMPIC_ADC_V, samplesForNoise_, sectorPlots_, CTPPSDiamondDetId::setChannel(), CTPPSDiamondDetId::setPlane(), timeOfPreviousEvent_, tokenDigi_, tokenFEDInfo_, tokenRecHit_, tokenTrack_, HLT_2023v12_cff::track, trackCorrelationThreshold_, pwdgSkimBPark_cfi::tracks, validateGeometry_cfg::valid, verbosity_, and y.
|
overrideprotectedvirtual |
Implements DQMOneEDAnalyzer< edm::LuminosityBlockCache< totemds::Cache > >.
Definition at line 425 of file DiamondSampicDQMSource.cc.
References CTPPSDetId::arm(), CTPPSDetId::armId(), dqm::implementation::NavigatorBase::cd(), CTPPSDiamondDetId::channel(), channelPlots_, CTPPSDiamondDetId::check(), ctppsGeometryRunToken_, relativeConstraints::geom, edm::EventSetup::getData(), globalPlot_, CTPPSDiamondDetId::plane(), planePlots_, plotOnline_, potPlots_, CTPPSDetId::rp(), sectorPlots_, dqm::implementation::NavigatorBase::setCurrentFolder(), and CTPPSDetId::station().
|
staticprivate |
Definition at line 194 of file DiamondSampicDQMSource.cc.
References castor_dqm_sourceclient_file_cfg::path, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by DiamondSampicDQMSource::ChannelPlots::ChannelPlots(), DiamondSampicDQMSource::PlanePlots::PlanePlots(), DiamondSampicDQMSource::PotPlots::PotPlots(), and DiamondSampicDQMSource::SectorPlots::SectorPlots().
|
overrideprotectedvirtual |
Reimplemented from DQMOneEDAnalyzer< edm::LuminosityBlockCache< totemds::Cache > >.
Definition at line 406 of file DiamondSampicDQMSource.cc.
References CTPPSDiamondDetId::check(), ctppsGeometryRunToken_, relativeConstraints::geom, edm::EventSetup::getData(), DetGeomDesc::getDiamondDimensions(), horizontalShiftOfDiamond_, CTPPSDetId::rpId(), DetGeomDesc::translation(), and DiamondDimensions::xHalfWidth.
|
overrideprotected |
Definition at line 455 of file DiamondSampicDQMSource.cc.
References ztail::d, perLSsaving_, plotFactory::plot, plotOnline_, and potPlots_.
|
overrideprotected |
Definition at line 715 of file DiamondSampicDQMSource.cc.
References CTPPSDetId::arm(), CTPPSDetId::armId(), CTPPSDiamondDetId::channel(), channelPlots_, DiamondSampicDQMSource::GlobalPlots::digiSentPercentage, dqm::impl::MonitorElement::getTH2F(), globalPlot_, edm::LuminosityBlock::index(), perLSsaving_, CTPPSDiamondDetId::plane(), plotFactory::plot, plotOnline_, potPlots_, dqm::impl::MonitorElement::Reset(), CTPPSDetId::rp(), and sectorPlots_.
|
private |
Definition at line 190 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), bookHistograms(), and globalEndLuminosityBlock().
|
private |
Definition at line 83 of file DiamondSampicDQMSource.cc.
Referenced by bookHistograms(), and dqmBeginRun().
|
staticprivate |
Definition at line 71 of file DiamondSampicDQMSource.cc.
|
staticprivate |
Definition at line 68 of file DiamondSampicDQMSource.cc.
|
private |
Definition at line 102 of file DiamondSampicDQMSource.cc.
Referenced by bookHistograms(), and globalEndLuminosityBlock().
|
staticprivate |
Definition at line 70 of file DiamondSampicDQMSource.cc.
|
private |
Definition at line 92 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), and dqmBeginRun().
|
staticprivate |
Definition at line 74 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), DiamondSampicDQMSource::PlanePlots::PlanePlots(), DiamondSampicDQMSource::PotPlots::PotPlots(), and DiamondSampicDQMSource::SectorPlots::SectorPlots().
|
staticprivate |
Definition at line 67 of file DiamondSampicDQMSource.cc.
|
private |
Definition at line 88 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().
|
private |
Definition at line 167 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 87 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), bookHistograms(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().
|
private |
Definition at line 153 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), bookHistograms(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().
|
staticprivate |
Definition at line 75 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
private |
Definition at line 85 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
staticprivate |
Definition at line 64 of file DiamondSampicDQMSource.cc.
|
private |
Definition at line 112 of file DiamondSampicDQMSource.cc.
Referenced by analyze(), bookHistograms(), and globalEndLuminosityBlock().
|
private |
Definition at line 90 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
private |
Definition at line 78 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
private |
Definition at line 81 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
private |
Definition at line 77 of file DiamondSampicDQMSource.cc.
|
private |
Definition at line 79 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
private |
Definition at line 80 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
private |
Definition at line 89 of file DiamondSampicDQMSource.cc.
Referenced by analyze().
|
private |
Definition at line 86 of file DiamondSampicDQMSource.cc.
Referenced by analyze().