#include <PixelLumiDQM.h>
Classes | |
class | PixelClusterCount |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Static Public Attributes | |
static constexpr double | CM2_TO_NANOBARN = 1.0 / 1.e-33 |
static constexpr double | FREQ_ORBIT = 11245.5 |
static const unsigned int | lastBunchCrossing = 3564 |
static constexpr double | rXSEC_PIXEL_CLUSTER = 9.4e-24 |
static constexpr double | rXSEC_PIXEL_CLUSTER_UNC = 0.119e-24 |
static constexpr double | SECONDS_PER_LS = double(0x40000) / double(FREQ_ORBIT) |
static constexpr double | XSEC_PIXEL_CLUSTER = 10.08e-24 |
static constexpr double | XSEC_PIXEL_CLUSTER_UNC = 0.17e-24 |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
unsigned int | calculateBunchMask (MonitorElement *, std::vector< bool > &) |
unsigned int | calculateBunchMask (std::vector< float > &, unsigned int, std::vector< bool > &) |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
Static Private Attributes | |
static constexpr size_t | kNumDisks = 12 |
static constexpr size_t | kNumLayers = 5 |
static constexpr size_t | kOffsetDisks = 4 |
static constexpr size_t | kOffsetLayers = 0 |
Additional Inherited Members | |
Public Types inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
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 |
Protected Member Functions inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
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<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 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 () |
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) |
Protected Attributes inherited from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks > | |
edm::EDPutTokenT< DQMToken > | runToken_ |
PixelLumi/PixelLumiDQM/plugins/PixelLumiDQM.h
Description: DQM Module producing Pixel Cluster Count Luminosity
Implementation notes: 1) Filling scheme is put in by 'hand' for now. Can obtain it from the cluster count but need higher rate in trigger; Best would be to have filling scheme in the DB. 2) Afterglow correction is put in by hand. 3) Currently barrel layer 0 is excluded, but a version using all pixel layers and disks is also in place. 4) A stable beam flag should be obtained from the DB to turn on actual checks. (Pixel Lumi does not make sense outside stable beams.) 5) Need a top module to correlate the info from the three trigger categories. NB: at present the module only uses the ZeroBias trigger providing about 85 Hz.
Definition at line 41 of file PixelLumiDQM.h.
|
explicit |
Definition at line 47 of file PixelLumiDQM.cc.
References fDeadModules, fIncludePixelClusterInfo, fIncludePixelQualCheckHistos, fMinClusterCharge, fMinPixelsPerCluster, edm::ParameterSet::getUntrackedParameter(), and HLT_2022v12_cff::InputTag.
|
override |
Definition at line 81 of file PixelLumiDQM.cc.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 89 of file PixelLumiDQM.cc.
References cms::cuda::assert(), edmNew::DetSetVector< T >::begin(), ALCARECOTkAlJpsiMuMu_cff::charge, TrackerGeometry::dets(), edmNew::DetSetVector< T >::end(), fBXNo, fDeadModules, fEvtNo, fHistBunchCrossings, fHistBunchCrossingsLastLumi, fHistContainerThisRun, dqm::impl::MonitorElement::Fill(), fIncludePixelClusterInfo, fIncludePixelQualCheckHistos, spr::find(), fLSNo, fMinClusterCharge, fMinPixelsPerCluster, fNumPixelClusters, fPixelClusterLabel, fRunNo, fTimestamp, edm::EventSetup::getData(), mps_fire::i, TrackerGeometry::idToDet(), iEvent, GeomDetEnumerators::isTrackerPixel(), kNumDisks, kNumLayers, kOffsetDisks, kOffsetLayers, phase1PixelTopology::layer, PixelBarrelNameUpgrade::layerName(), Topology::localPosition(), PixelEndcapNameUpgrade::mI, PixelEndcapNameUpgrade::mO, PV3DBase< T, PVType, FrameType >::phi(), PixelEndcapNameUpgrade::pI, PixelSubdetector::PixelBarrel, LumiMonitor_cff::pixelClusters, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::pO, findQualityFiles::size, PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), tkGeomToken_, cond::impl::to_string(), Surface::toGlobal(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overrideprivate |
Definition at line 374 of file PixelLumiDQM.cc.
References fHistBunchCrossingsLastLumi, fHistClusterCountByBxLastLumi, fHistRecordedByBxLastLumi, fResetIntervalInLumiSections, eostools::ls(), edm::LuminosityBlockAuxiliary::luminosityBlock(), edm::LuminosityBlock::luminosityBlockAuxiliary(), and dqm::impl::MonitorElement::Reset().
|
overrideprivatevirtual |
Implements DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 249 of file PixelLumiDQM.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), fHistBunchCrossings, fHistBunchCrossingsLastLumi, fHistClusByLS, fHistClusterCountByBxCumulative, fHistClusterCountByBxLastLumi, fHistContainerThisRun, fHistnBClusVsLS, fHistnFMClusVsLS, fHistnFPClusVsLS, fHistRecordedByBxCumulative, fHistRecordedByBxLastLumi, fHistTotalRecordedLumiByLS, fIncludePixelQualCheckHistos, printsummarytable::folder, mps_fire::i, crabWrapper::key, kNumDisks, kNumLayers, lastBunchCrossing, Skims_PA_cff::name, Geom::pi(), writedatasetfile::run, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
|
private |
Definition at line 551 of file PixelLumiDQM.cc.
References MillePedeFileConverter_cfg::e, mps_fire::i, and LaserClient_cfi::nbins.
Referenced by endLuminosityBlock().
|
private |
Definition at line 559 of file PixelLumiDQM.cc.
References funct::abs(), newFWLiteAna::bin, MillePedeFileConverter_cfg::e, L1TowerCalibrationProducer_cfi::fit, mps_fire::i, SiStripPI::mean, and LaserClient_cfi::nbins.
|
overrideprivate |
Definition at line 392 of file PixelLumiDQM.cc.
References bunchTriggerMask, calculateBunchMask(), CM2_TO_NANOBARN, submitPVResolutionJobs::err, fHistBunchCrossingsLastLumi, fHistClusByLS, fHistClusterCountByBxCumulative, fHistClusterCountByBxLastLumi, fHistnBClusVsLS, fHistnFMClusVsLS, fHistnFPClusVsLS, fHistRecordedByBxCumulative, fHistRecordedByBxLastLumi, fHistTotalRecordedLumiByLS, filledAndUnmaskedBunches, fLogFileName_, fNumPixelClusters, FREQ_ORBIT, fResetIntervalInLumiSections, fRunNo, dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getBinError(), mps_fire::i, lastBunchCrossing, logFile_, eostools::ls(), edm::LuminosityBlockAuxiliary::luminosityBlock(), edm::LuminosityBlock::luminosityBlockAuxiliary(), rXSEC_PIXEL_CLUSTER, rXSEC_PIXEL_CLUSTER_UNC, SECONDS_PER_LS, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), mathSSE::sqrt(), dqmMemoryStats::total, pileupReCalc_HLTpaths::trunc, useInnerBarrelLayer, XSEC_PIXEL_CLUSTER, and XSEC_PIXEL_CLUSTER_UNC.
|
static |
Definition at line 83 of file PixelLumiDQM.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
private |
Definition at line 167 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 55 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 121 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 129 of file PixelLumiDQM.h.
|
private |
Definition at line 142 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 119 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 170 of file PixelLumiDQM.h.
|
private |
Definition at line 158 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 159 of file PixelLumiDQM.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 162 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 161 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 160 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 138 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 155 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 157 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 156 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 165 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 164 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 163 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 168 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 134 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 135 of file PixelLumiDQM.h.
Referenced by analyze(), bookHistograms(), and PixelLumiDQM().
|
private |
Definition at line 133 of file PixelLumiDQM.h.
|
private |
Definition at line 154 of file PixelLumiDQM.h.
|
private |
Definition at line 171 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 120 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 150 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 147 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 130 of file PixelLumiDQM.h.
|
private |
Definition at line 131 of file PixelLumiDQM.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 125 of file PixelLumiDQM.h.
|
private |
Definition at line 123 of file PixelLumiDQM.h.
|
private |
Definition at line 124 of file PixelLumiDQM.h.
|
private |
Definition at line 115 of file PixelLumiDQM.h.
Referenced by analyze().
|
static |
Definition at line 45 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 136 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 118 of file PixelLumiDQM.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 122 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 126 of file PixelLumiDQM.h.
|
private |
Definition at line 127 of file PixelLumiDQM.h.
|
private |
Definition at line 128 of file PixelLumiDQM.h.
|
staticprivate |
Definition at line 76 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 75 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 78 of file PixelLumiDQM.h.
Referenced by analyze().
|
staticprivate |
Definition at line 77 of file PixelLumiDQM.h.
Referenced by analyze().
|
static |
Definition at line 56 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 173 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 53 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 54 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 46 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 116 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 169 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 49 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 50 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().