#include <PixelLumi/PixelLumiDQM/plugins/PixelLumiDQM.h>
Classes | |
class | PixelClusterCount |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
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 | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
virtual 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 > &) |
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) override |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
virtual 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 |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 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) |
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().
PixelLumiDQM::~PixelLumiDQM | ( | ) |
Definition at line 94 of file PixelLumiDQM.cc.
|
overrideprivatevirtual |
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().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 440 of file PixelLumiDQM.cc.
References fHistBunchCrossingsLastLumi, fHistClusterCountByBxLastLumi, fHistRecordedByBxLastLumi, fResetIntervalInLumiSections, eostools::ls(), edm::LuminosityBlockAuxiliary::luminosityBlock(), edm::LuminosityBlock::luminosityBlockAuxiliary(), and MonitorElement::Reset().
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
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, RecoTauDiscriminantConfiguration::mean, and pileupCalc::nbins.
|
overrideprivatevirtual |
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
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.
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
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().