#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 double | CM2_TO_NANOBARN = 1.0 / 1.e-33 |
static double | FREQ_ORBIT = 11245.5 |
static const unsigned int | lastBunchCrossing = 3564 |
static double | rXSEC_PIXEL_CLUSTER = 9.4e-24 |
static double | rXSEC_PIXEL_CLUSTER_UNC = 0.119e-24 |
static double | SECONDS_PER_LS = double(0x40000) / double(FREQ_ORBIT) |
static double | XSEC_PIXEL_CLUSTER = 10.08e-24 |
static 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 | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
void | dqmEndRun (edm::Run const &, edm::EventSetup const &) override |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
Static Private Attributes | |
static size_t | kNumDisks = 12 |
static size_t | kNumLayers = 5 |
static size_t | kOffsetDisks = 4 |
static 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 | analyze (edm::Event 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) |
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<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) |
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 40 of file PixelLumiDQM.h.
|
explicit |
Definition at line 47 of file PixelLumiDQM.cc.
References fDeadModules, fIncludePixelClusterInfo, fIncludePixelQualCheckHistos, fMinClusterCharge, fMinPixelsPerCluster, edm::ParameterSet::getUntrackedParameter(), and HLT_2018_cff::InputTag.
|
override |
Definition at line 80 of file PixelLumiDQM.cc.
|
overrideprivate |
Definition at line 88 of file PixelLumiDQM.cc.
References edmNew::DetSetVector< T >::begin(), edm::EventBase::bunchCrossing(), ALCARECOTkAlJpsiMuMu_cff::charge, TrackerGeometry::dets(), edmNew::DetSetVector< T >::end(), edm::EventID::event(), fBXNo, fDeadModules, fEvtNo, fHistBunchCrossings, fHistBunchCrossingsLastLumi, fHistContainerThisRun, dqm::impl::MonitorElement::Fill(), fIncludePixelClusterInfo, fIncludePixelQualCheckHistos, spr::find(), fLSNo, fMinClusterCharge, fMinPixelsPerCluster, fNumPixelClusters, fPixelClusterLabel, fRunNo, fTimestamp, edm::EventSetup::get(), edm::Event::getByToken(), edm::Event::getLuminosityBlock(), mps_fire::i, edm::EventBase::id(), TrackerGeometry::idToDet(), GeomDetEnumerators::isTrackerPixel(), kNumDisks, kNumLayers, kOffsetDisks, kOffsetLayers, PixelBarrelNameUpgrade::layerName(), Topology::localPosition(), edm::LuminosityBlockBase::luminosityBlock(), PixelEndcapNameUpgrade::mI, PixelEndcapNameUpgrade::mO, PV3DBase< T, PVType, FrameType >::phi(), PixelEndcapNameUpgrade::pI, PixelSubdetector::PixelBarrel, LumiMonitor_cff::pixelClusters, PixelSubdetector::PixelEndcap, PixelEndcapNameUpgrade::pO, edm::EventID::run(), findQualityFiles::size, PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), GeomDet::surface(), edm::EventBase::time(), Surface::toGlobal(), edm::Timestamp::unixTime(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
overrideprivate |
Definition at line 386 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 255 of file PixelLumiDQM.cc.
References dqm::dqmstoreimpl::DQMStore::IBooker::book1D(), dqm::dqmstoreimpl::DQMStore::IBooker::book2D(), fHistBunchCrossings, fHistBunchCrossingsLastLumi, fHistClusByLS, fHistClusterCountByBxCumulative, fHistClusterCountByBxLastLumi, fHistContainerThisRun, fHistnBClusVsLS, fHistnFMClusVsLS, fHistnFPClusVsLS, fHistRecordedByBxCumulative, fHistRecordedByBxLastLumi, fHistTotalRecordedLumiByLS, fIncludePixelQualCheckHistos, printsummarytable::folder, mps_fire::i, edm::RunBase::id(), crabWrapper::key, kNumDisks, kNumLayers, lastBunchCrossing, Skims_PA_cff::name, Geom::pi(), edm::RunID::run(), edm::RunBase::run(), dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and overlapproblemtsosanalyzer_cfi::title.
|
private |
Referenced by endLuminosityBlock().
|
private |
Definition at line 571 of file PixelLumiDQM.cc.
References funct::abs(), newFWLiteAna::bin, DEFINE_FWK_MODULE, trackingPlots::fit, mps_fire::i, SiStripPI::mean, and LaserClient_cfi::nbins.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 379 of file PixelLumiDQM.cc.
|
overrideprivatevirtual |
Reimplemented from DQMOneEDAnalyzer< edm::one::WatchLuminosityBlocks >.
Definition at line 382 of file PixelLumiDQM.cc.
|
overrideprivate |
Definition at line 404 of file PixelLumiDQM.cc.
References bunchTriggerMask, calculateBunchMask(), CM2_TO_NANOBARN, MillePedeFileConverter_cfg::e, runTheMatrix::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(), dqm::impl::MonitorElement::getNbinsX(), mps_fire::i, lastBunchCrossing, logFile_, eostools::ls(), edm::LuminosityBlockAuxiliary::luminosityBlock(), edm::LuminosityBlock::luminosityBlockAuxiliary(), LaserClient_cfi::nbins, 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 82 of file PixelLumiDQM.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 167 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 54 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 116 of file PixelLumiDQM.h.
Referenced by analyze().
|
static |
Definition at line 44 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 77 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 76 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
staticprivate |
Definition at line 79 of file PixelLumiDQM.h.
Referenced by analyze().
|
staticprivate |
Definition at line 78 of file PixelLumiDQM.h.
Referenced by analyze().
|
static |
Definition at line 55 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 52 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 53 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 45 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 169 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 48 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 49 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().