#include <CondTools/SiPixel/plugins/SiPixelQualityPlotter.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | endJob () override |
Private Attributes | |
const bool | addLumiInfo_ |
const std::string | analyzedTag_ |
std::map< uint32_t, std::bitset< 16 > > | cachedPayload_ |
std::array< TH2D *, n_layers > | h_bpix_occ |
std::array< TH2D *, n_rings > | h_fpix_occ |
int | IOVcount_ |
cond::Time_t | lastIOVtime_ |
const unsigned int | lastRun_ |
const edm::InputTag | lumiInputTag_ |
float | lumiSinceLastReset_ |
const edm::EDGetTokenT< LumiInfo > | lumiToken_ |
const edm::ESGetToken< SiPixelQuality, SiPixelQualityFromDbRcd > | qualEsToken_ |
edm::ESWatcher< SiPixelQualityFromDbRcd > | SiPixelQualityWatcher_ |
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | topoEsToken_ |
float | totalLumi_ |
const bool | useLogScale_ |
Static Private Attributes | |
static const int | n_layers = 4 |
static const int | n_rings = 2 |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | 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) |
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 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) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 165 of file SiPixelQualityPlotter.cc.
|
explicit |
Definition at line 211 of file SiPixelQualityPlotter.cc.
References h_bpix_occ, h_fpix_occ, IOVcount_, lastIOVtime_, lumiSinceLastReset_, create_idmaps::n, n_layers, n_rings, mergeVDriftHistosByStation::name, relativeConstraints::ring, AlCaHLTBitMon_QueryRunRegistry::string, runGCPTkAlMap::title, to_string(), totalLumi_, and y.
|
override |
Definition at line 254 of file SiPixelQualityPlotter.cc.
References h_bpix_occ, h_fpix_occ, n_layers, n_rings, and relativeConstraints::ring.
|
overrideprivatevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 270 of file SiPixelQualityPlotter.cc.
References newFWLiteAna::bin, cachedPayload_, edm::ESWatcher< T >::check(), MillePedeFileConverter_cfg::e, Exception, SiPixelQuality::getBadComponentList(), edm::EventSetup::getData(), h_bpix_occ, h_fpix_occ, iEvent, IOVcount_, SiPixelPI::isBPixOuterLadder(), PVValHelper::ladder, lastIOVtime_, lastRun_, nano_mu_digi_cff::layer, LogDebug, lumiSinceLastReset_, lumiToken_, payloadPlotting::maskedBarrelRocsToBins(), payloadPlotting::maskedForwardRocsToBins(), mod(), cond::time::pack(), jetsAK4_Puppi_cff::payload, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, qualEsToken_, relativeConstraints::ring, SiPixelPI::ring(), SiPixelPI::signed_blade(), SiPixelPI::signed_blade_panel(), SiPixelPI::signed_disk(), SiPixelPI::signed_ladder(), SiPixelPI::signed_module(), SiPixelQualityWatcher_, DetId::subdetId(), topoEsToken_, totalLumi_, x, and y.
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 368 of file SiPixelQualityPlotter.cc.
void SiPixelQualityPlotter::CMS_lumi | ( | TPad * | pad, |
float | lumi | ||
) |
Definition at line 491 of file SiPixelQualityPlotter.cc.
References str.
Referenced by endJob().
|
overrideprivatevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 373 of file SiPixelQualityPlotter.cc.
References addLumiInfo_, analyzedTag_, CMS_lumi(), SiPixelPI::dress_occup_plot(), h_bpix_occ, h_fpix_occ, mps_fire::i, IOVcount_, lastIOVtime_, SiPixelPI::makeNicePlotStyle(), n_layers, n_rings, relativeConstraints::ring, to_string(), totalLumi_, cond::time::unpack(), and useLogScale_.
|
static |
Definition at line 502 of file SiPixelQualityPlotter.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 183 of file SiPixelQualityPlotter.cc.
Referenced by endJob().
|
private |
Definition at line 184 of file SiPixelQualityPlotter.cc.
Referenced by endJob().
|
private |
Definition at line 205 of file SiPixelQualityPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 199 of file SiPixelQualityPlotter.cc.
Referenced by analyze(), endJob(), SiPixelQualityPlotter(), and ~SiPixelQualityPlotter().
|
private |
Definition at line 202 of file SiPixelQualityPlotter.cc.
Referenced by analyze(), endJob(), SiPixelQualityPlotter(), and ~SiPixelQualityPlotter().
|
private |
Definition at line 190 of file SiPixelQualityPlotter.cc.
Referenced by analyze(), endJob(), and SiPixelQualityPlotter().
|
private |
Definition at line 195 of file SiPixelQualityPlotter.cc.
Referenced by analyze(), endJob(), and SiPixelQualityPlotter().
|
private |
Definition at line 185 of file SiPixelQualityPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 187 of file SiPixelQualityPlotter.cc.
|
private |
Definition at line 194 of file SiPixelQualityPlotter.cc.
Referenced by analyze(), and SiPixelQualityPlotter().
|
private |
Definition at line 188 of file SiPixelQualityPlotter.cc.
Referenced by analyze().
|
staticprivate |
Definition at line 198 of file SiPixelQualityPlotter.cc.
Referenced by endJob(), SiPixelQualityPlotter(), and ~SiPixelQualityPlotter().
|
staticprivate |
Definition at line 201 of file SiPixelQualityPlotter.cc.
Referenced by endJob(), SiPixelQualityPlotter(), and ~SiPixelQualityPlotter().
|
private |
Definition at line 180 of file SiPixelQualityPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 191 of file SiPixelQualityPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 179 of file SiPixelQualityPlotter.cc.
Referenced by analyze().
|
private |
Definition at line 193 of file SiPixelQualityPlotter.cc.
Referenced by analyze(), endJob(), and SiPixelQualityPlotter().
|
private |
Definition at line 182 of file SiPixelQualityPlotter.cc.
Referenced by endJob().