#include <PixelLumi/PixelLumiDQM/plugins/PixelLumiDQM.h>
Classes | |
class | PixelClusterCount |
Public Member Functions | |
PixelLumiDQM (const edm::ParameterSet &) | |
~PixelLumiDQM () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Static Public Member Functions | |
static void | fillDescriptions (edm::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 | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | endRun (edm::Run 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 |
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 38 of file PixelLumiDQM.h.
|
explicit |
Definition at line 48 of file PixelLumiDQM.cc.
References fDeadModules, fIncludePixelClusterInfo, fIncludePixelQualCheckHistos, fMinClusterCharge, fMinPixelsPerCluster, and edm::ParameterSet::getUntrackedParameter().
|
override |
Definition at line 94 of file PixelLumiDQM.cc.
|
overrideprivate |
Definition at line 108 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, 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, HiRegitMuonDetachedTripletStep_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 440 of file PixelLumiDQM.cc.
References fHistBunchCrossingsLastLumi, fHistClusterCountByBxLastLumi, fHistRecordedByBxLastLumi, fResetIntervalInLumiSections, eostools::ls(), edm::LuminosityBlockAuxiliary::luminosityBlock(), edm::LuminosityBlock::luminosityBlockAuxiliary(), and MonitorElement::Reset().
|
overrideprivate |
Definition at line 291 of file PixelLumiDQM.cc.
References DQMStore::IBooker::book1D(), 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, dataset::name, Geom::pi(), edm::RunID::run(), edm::RunBase::run(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and fftjetcommon_cfi::title.
|
private |
Definition at line 629 of file PixelLumiDQM.cc.
References MonitorElement::getBinContent(), MonitorElement::getNbinsX(), mps_fire::i, and pileupCalc::nbins.
Referenced by endLuminosityBlock().
|
private |
Definition at line 637 of file PixelLumiDQM.cc.
References funct::abs(), stringResolutionProvider_cfi::bin, DEFINE_FWK_MODULE, trackingPlots::fit, mps_fire::i, SiStripPI::mean, and pileupCalc::nbins.
|
overrideprivate |
Definition at line 427 of file PixelLumiDQM.cc.
|
overrideprivate |
Definition at line 461 of file PixelLumiDQM.cc.
References bunchTriggerMask, calculateBunchMask(), CM2_TO_NANOBARN, fHistBunchCrossingsLastLumi, fHistClusByLS, fHistClusterCountByBxCumulative, fHistClusterCountByBxLastLumi, fHistnBClusVsLS, fHistnFMClusVsLS, fHistnFPClusVsLS, fHistRecordedByBxCumulative, fHistRecordedByBxLastLumi, fHistTotalRecordedLumiByLS, filledAndUnmaskedBunches, fLogFileName_, fNumPixelClusters, FREQ_ORBIT, fResetIntervalInLumiSections, fRunNo, MonitorElement::getBinContent(), 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, MonitorElement::setBinContent(), MonitorElement::setBinError(), mathSSE::sqrt(), pileupDistInMC::total, estimatePileup_makeJSON::trunc, useInnerBarrelLayer, XSEC_PIXEL_CLUSTER, and XSEC_PIXEL_CLUSTER_UNC.
|
overrideprivate |
Definition at line 433 of file PixelLumiDQM.cc.
|
static |
Definition at line 100 of file PixelLumiDQM.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
private |
Definition at line 168 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 52 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 122 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 130 of file PixelLumiDQM.h.
|
private |
Definition at line 143 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 120 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 171 of file PixelLumiDQM.h.
|
private |
Definition at line 159 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 160 of file PixelLumiDQM.h.
Referenced by analyze(), beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 163 of file PixelLumiDQM.h.
Referenced by 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 beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 139 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 156 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 158 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 166 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 165 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 164 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 169 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 135 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 136 of file PixelLumiDQM.h.
Referenced by analyze(), bookHistograms(), and PixelLumiDQM().
|
private |
Definition at line 134 of file PixelLumiDQM.h.
|
private |
Definition at line 155 of file PixelLumiDQM.h.
|
private |
Definition at line 172 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 121 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 151 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 148 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 131 of file PixelLumiDQM.h.
|
private |
Definition at line 132 of file PixelLumiDQM.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 126 of file PixelLumiDQM.h.
|
private |
Definition at line 124 of file PixelLumiDQM.h.
|
private |
Definition at line 125 of file PixelLumiDQM.h.
|
private |
Definition at line 117 of file PixelLumiDQM.h.
Referenced by analyze().
|
static |
Definition at line 42 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 137 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 119 of file PixelLumiDQM.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 123 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 127 of file PixelLumiDQM.h.
|
private |
Definition at line 128 of file PixelLumiDQM.h.
|
private |
Definition at line 129 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 53 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 174 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 50 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 51 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 43 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 170 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 46 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 47 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().