#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 &) |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
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 &) |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
Static Private Attributes | |
static size_t const | kNumDisks = 2 |
static size_t const | kNumLayers = 3 |
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, edm::ParameterSet::getUntrackedParameter(), and HLT_FULL_cff::InputTag.
PixelLumiDQM::~PixelLumiDQM | ( | ) |
Definition at line 94 of file PixelLumiDQM.cc.
|
privatevirtual |
Implements edm::stream::EDAnalyzerBase.
Definition at line 108 of file PixelLumiDQM.cc.
References assert(), edmNew::DetSetVector< T >::begin(), edm::EventBase::bunchCrossing(), RecoTauCleanerPlugins::charge, compareJSON::const, 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(), i, edm::EventBase::id(), GeomDetEnumerators::isTrackerPixel(), PixelBarrelName::layerName(), Topology::localPosition(), edm::LuminosityBlockBase::luminosityBlock(), PixelEndcapName::mI, PixelEndcapName::mO, PV3DBase< T, PVType, FrameType >::phi(), PixelEndcapName::pI, PixelSubdetector::PixelBarrel, HLT_FULL_cff::pixelClusters, PixelSubdetector::PixelEndcap, PixelEndcapName::pO, edm::EventID::run(), findQualityFiles::size, PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), 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().
|
privatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 491 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 331 of file PixelLumiDQM.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), fHistBunchCrossings, fHistBunchCrossingsLastLumi, fHistClusByLS, fHistClusterCountByBxCumulative, fHistClusterCountByBxLastLumi, fHistContainerThisRun, fHistnBClusVsLS, fHistnFMClusVsLS, fHistnFPClusVsLS, fHistRecordedByBxCumulative, fHistRecordedByBxLastLumi, fHistTotalRecordedLumiByLS, fIncludePixelQualCheckHistos, i, edm::RunBase::id(), relval_steps::key, kNumDisks, kNumLayers, lastBunchCrossing, mergeVDriftHistosByStation::name, Geom::pi(), edm::RunID::run(), edm::RunBase::run(), DQMStore::IBooker::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, and indexGen::title.
|
private |
Definition at line 680 of file PixelLumiDQM.cc.
References MonitorElement::getBinContent(), MonitorElement::getNbinsX(), i, and pileupCalc::nbins.
Referenced by endLuminosityBlock().
|
private |
Definition at line 688 of file PixelLumiDQM.cc.
References funct::abs(), newFWLiteAna::bin, gather_cfg::cout, i, timingPdfMaker::mean, and pileupCalc::nbins.
|
privatevirtual |
|
privatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 512 of file PixelLumiDQM.cc.
References bunchTriggerMask, calculateBunchMask(), CM2_TO_NANOBARN, gather_cfg::cout, fHistBunchCrossingsLastLumi, fHistClusByLS, fHistClusterCountByBxCumulative, fHistClusterCountByBxLastLumi, fHistnBClusVsLS, fHistnFMClusVsLS, fHistnFPClusVsLS, fHistRecordedByBxCumulative, fHistRecordedByBxLastLumi, fHistTotalRecordedLumiByLS, filledAndUnmaskedBunches, fLogFileName_, fNumPixelClusters, FREQ_ORBIT, fResetIntervalInLumiSections, fRunNo, MonitorElement::getBinContent(), MonitorElement::getBinError(), 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.
|
privatevirtual |
Reimplemented from edm::stream::EDAnalyzerBase.
Definition at line 484 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 166 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
static |
Definition at line 52 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 120 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 128 of file PixelLumiDQM.h.
|
private |
Definition at line 141 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 118 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 169 of file PixelLumiDQM.h.
|
private |
Definition at line 157 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 158 of file PixelLumiDQM.h.
Referenced by analyze(), beginLuminosityBlock(), 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 bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 159 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 137 of file PixelLumiDQM.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 154 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 155 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 164 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 163 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 162 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 167 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 133 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 134 of file PixelLumiDQM.h.
Referenced by analyze(), bookHistograms(), and PixelLumiDQM().
|
private |
Definition at line 132 of file PixelLumiDQM.h.
|
private |
Definition at line 153 of file PixelLumiDQM.h.
|
private |
Definition at line 170 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 119 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 149 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 146 of file PixelLumiDQM.h.
Referenced by analyze(), and PixelLumiDQM().
|
private |
Definition at line 129 of file PixelLumiDQM.h.
|
private |
Definition at line 130 of file PixelLumiDQM.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 124 of file PixelLumiDQM.h.
|
private |
Definition at line 122 of file PixelLumiDQM.h.
|
private |
Definition at line 123 of file PixelLumiDQM.h.
|
private |
Definition at line 115 of file PixelLumiDQM.h.
Referenced by analyze().
|
static |
Definition at line 42 of file PixelLumiDQM.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 135 of file PixelLumiDQM.h.
Referenced by beginLuminosityBlock(), and endLuminosityBlock().
|
private |
Definition at line 117 of file PixelLumiDQM.h.
Referenced by analyze(), and endLuminosityBlock().
|
private |
Definition at line 121 of file PixelLumiDQM.h.
Referenced by analyze().
|
private |
Definition at line 125 of file PixelLumiDQM.h.
|
private |
Definition at line 126 of file PixelLumiDQM.h.
|
private |
Definition at line 127 of file PixelLumiDQM.h.
|
staticprivate |
Definition at line 77 of file PixelLumiDQM.h.
Referenced by bookHistograms().
|
staticprivate |
Definition at line 76 of file PixelLumiDQM.h.
Referenced by bookHistograms().
|
static |
Definition at line 53 of file PixelLumiDQM.h.
Referenced by bookHistograms(), and endLuminosityBlock().
|
private |
Definition at line 172 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 168 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().