#include <GeometryInterface.h>
Classes | |
struct | InterestingQuantities |
Public Types | |
typedef ID | Column |
typedef int | ID |
typedef double | Value |
typedef std::vector< std::pair< Column, Value > > | Values |
Public Member Functions | |
std::vector< InterestingQuantities > const & | allModules () |
Value | binWidth (ID id) |
std::pair< Column, Value > | extract (Column const &col, InterestingQuantities const &iq) |
Value | extract (ID id, DetId did, edm::Event *ev=nullptr, int16_t col=0, int16_t row=0) |
void | extractColumns (std::vector< Column > const &names, InterestingQuantities const &iq, Values &out) |
std::string | formatValue (Column, Value) |
GeometryInterface (const edm::ParameterSet &, edm::ConsumesCollector &&, edm::Transition transition=edm::Transition::BeginRun) | |
ID | intern (std::string const &id) |
void | load (edm::EventSetup const &iSetup) |
bool | loaded () |
Value | maxValue (ID id) |
Value | minValue (ID id) |
std::string | pretty (Column col) |
std::string | unintern (ID id) |
Static Public Attributes | |
static const Value | UNDEFINED = 999999999.9f |
Private Member Functions | |
void | addExtractor (ID id, std::function< Value(InterestingQuantities const &iq)> func, Value min=UNDEFINED, Value max=UNDEFINED, Value binwidth=1) |
void | loadFEDCabling (const SiPixelFedCablingMap *) |
void | loadFromSiPixelCoordinates (const TrackerGeometry &, const TrackerTopology &, const SiPixelFedCablingMap &, const edm::ParameterSet &) |
void | loadFromTopology (const TrackerGeometry &, const TrackerTopology &, const edm::ParameterSet &) |
void | loadModuleLevel (const edm::ParameterSet &iConfig) |
void | loadTimebased (const edm::ParameterSet &iConfig) |
Private Attributes | |
std::vector< InterestingQuantities > | all_modules |
std::map< ID, Value > | bin_width |
std::string | cablingMapLabel_ |
std::vector< std::function< Value(InterestingQuantities const &iq)> > | extractors |
std::map< std::pair< Column, Value >, std::string > | format_value |
const edm::ParameterSet | iConfig |
std::map< std::string, ID > | ids {std::make_pair(std::string("INVALID"), ID(0))} |
bool | is_loaded = false |
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > | labeledSiPixelFedCablingMapToken_ |
ID | max_id = 0 |
std::map< ID, Value > | max_value |
std::map< ID, Value > | min_value |
edm::ESGetToken< SiPixelFedCablingMap, SiPixelFedCablingMapRcd > | siPixelFedCablingMapToken_ |
edm::ESGetToken< TrackerGeometry, TrackerDigiGeometryRecord > | trackerGeometryToken_ |
edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > | trackerTopologyToken_ |
Definition at line 34 of file GeometryInterface.h.
typedef ID GeometryInterface::Column |
Definition at line 40 of file GeometryInterface.h.
typedef int GeometryInterface::ID |
Definition at line 37 of file GeometryInterface.h.
typedef double GeometryInterface::Value |
Definition at line 41 of file GeometryInterface.h.
typedef std::vector<std::pair<Column, Value> > GeometryInterface::Values |
Definition at line 46 of file GeometryInterface.h.
GeometryInterface::GeometryInterface | ( | const edm::ParameterSet & | conf, |
edm::ConsumesCollector && | iC, | ||
edm::Transition | transition = edm::Transition::BeginRun |
||
) |
Definition at line 34 of file GeometryInterface.cc.
References edm::ParameterSet::getParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineprivate |
Definition at line 169 of file GeometryInterface.h.
References bin_width, extractors, EcalMonitorTask_cff::func, EcalPhiSymFlatTableProducers_cfi::id, WZElectronSkims53X_cff::max, max_value, SiStripPI::min, and min_value.
Referenced by loadFEDCabling(), loadFromSiPixelCoordinates(), loadFromTopology(), loadModuleLevel(), and loadTimebased().
|
inline |
Definition at line 99 of file GeometryInterface.h.
References all_modules.
Referenced by SiPixelPhase1GeometryDebug::analyze(), HistogramManager::book(), and HistogramManager::loadFromDQMStore().
Definition at line 103 of file GeometryInterface.h.
References bin_width, and EcalPhiSymFlatTableProducers_cfi::id.
Referenced by HistogramManager::book().
|
inline |
Definition at line 76 of file GeometryInterface.h.
References cms::cuda::assert(), cuy::col, extractors, EcalPhiSymFlatTableProducers_cfi::id, UNDEFINED, unintern(), and heppy_batch::val.
Referenced by SiPixelPhase1GeometryDebug::analyze(), HistogramManager::book(), extractColumns(), and HistogramManager::fillInternal().
|
inline |
Definition at line 92 of file GeometryInterface.h.
References cuy::col, makeMEIFBenchmarkPlots::ev, extractors, and EcalPhiSymFlatTableProducers_cfi::id.
|
inline |
Definition at line 66 of file GeometryInterface.h.
References cuy::col, extract(), names, MillePedeFileConverter_cfg::out, and heppy_batch::val.
Referenced by HistogramManager::book(), HistogramManager::executeExtend(), HistogramManager::executeGroupBy(), HistogramManager::executePerEventHarvesting(), HistogramManager::fill(), and HistogramManager::loadFromDQMStore().
Definition at line 485 of file GeometryInterface.cc.
References cuy::col, format_value, createfilelist::int, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mergeVDriftHistosByStation::name, pretty(), AlCaHLTBitMon_QueryRunRegistry::string, to_string(), UNDEFINED, heppy_batch::val, and relativeConstraints::value.
Referenced by HistogramManager::makePathName().
|
inline |
Definition at line 106 of file GeometryInterface.h.
References extractors, EcalPhiSymFlatTableProducers_cfi::id, ids, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and max_id.
Referenced by SiPixelPhase1GeometryDebug::analyze(), loadFEDCabling(), loadFromSiPixelCoordinates(), loadFromTopology(), loadModuleLevel(), loadTimebased(), and SummationSpecification::parse_columns().
void GeometryInterface::load | ( | edm::EventSetup const & | iSetup | ) |
Definition at line 62 of file GeometryInterface.cc.
References nano_mu_local_reco_cff::bool, cablingMapLabel_, MillePedeFileConverter_cfg::e, extractors, edm::EventSetup::getData(), iConfig, ids, is_loaded, labeledSiPixelFedCablingMapToken_, loadFEDCabling(), loadFromSiPixelCoordinates(), loadFromTopology(), loadModuleLevel(), loadTimebased(), CrabHelper::log, max_value, min_value, siPixelFedCablingMapToken_, trackerGeometryToken_, and trackerTopologyToken_.
Referenced by HistogramManager::book(), and HistogramManager::executePerLumiHarvesting().
|
inline |
Definition at line 52 of file GeometryInterface.h.
References is_loaded.
Referenced by HistogramManager::book(), and HistogramManager::executePerLumiHarvesting().
|
private |
Definition at line 453 of file GeometryInterface.cc.
References addExtractor(), GeometryInterface::InterestingQuantities::col, runTauDisplay::gp, intern(), DetId::rawId(), GeometryInterface::InterestingQuantities::row, and GeometryInterface::InterestingQuantities::sourceModule.
Referenced by load().
|
private |
Definition at line 197 of file GeometryInterface.cc.
References addExtractor(), GeometryInterface::InterestingQuantities::col, extractors, edm::ParameterSet::getParameter(), iConfig, recoMuon::in, intern(), SiPixelPI::quadrant(), GeometryInterface::InterestingQuantities::row, GeometryInterface::InterestingQuantities::sourceModule, and UNDEFINED.
Referenced by load().
|
private |
Definition at line 86 of file GeometryInterface.cc.
References addExtractor(), all_modules, cms::cuda::assert(), ALCARECOPPSCalTrackBasedSel_cff::detid, TrackerGeometry::detIds(), MillePedeFileConverter_cfg::e, makeMuonMisalignmentScenario::endcap, extractors, format_value, edm::ParameterSet::getParameter(), iConfig, EcalPhiSymFlatTableProducers_cfi::id, TrackerGeometry::idToDetUnit(), intern(), SiPixelOfflineDQM_client_cff::isUpgrade, mod(), mergeVDriftHistosByStation::name, PixelTopology::ncolumns(), PixelTopology::nrows(), TrackerTopology::PBLadder, TrackerTopology::PBLayer, TrackerTopology::PBModule, TrackerTopology::PFBlade, TrackerTopology::PFDisk, TrackerTopology::PFModule, TrackerTopology::PFPanel, TrackerTopology::PFSide, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, nano_mu_digi_cff::rawId, GeometryInterface::InterestingQuantities::sourceModule, PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::tt, and UNDEFINED.
Referenced by load().
|
private |
Definition at line 439 of file GeometryInterface.cc.
References addExtractor(), GeometryInterface::InterestingQuantities::col, edm::ParameterSet::getParameter(), iConfig, intern(), and GeometryInterface::InterestingQuantities::row.
Referenced by load().
|
private |
Definition at line 388 of file GeometryInterface.cc.
References addExtractor(), edm::EventBase::bunchCrossing(), edm::ParameterSet::getParameter(), iConfig, intern(), HistogramManager_cfi::lumiblock, edm::EventBase::luminosityBlock(), HistogramManager_cfi::n_onlineblocks, HistogramManager_cfi::onlineblock, GeometryInterface::InterestingQuantities::sourceEvent, and UNDEFINED.
Referenced by load().
Definition at line 101 of file GeometryInterface.h.
References EcalPhiSymFlatTableProducers_cfi::id, and max_value.
Referenced by HistogramManager::book().
Definition at line 102 of file GeometryInterface.h.
References EcalPhiSymFlatTableProducers_cfi::id, and min_value.
Referenced by HistogramManager::book().
|
inline |
Definition at line 125 of file GeometryInterface.h.
References cuy::col, and unintern().
Referenced by HistogramManager::book(), HistogramManager::executeExtend(), formatValue(), and HistogramManager::makePathName().
|
inline |
Definition at line 118 of file GeometryInterface.h.
References MillePedeFileConverter_cfg::e, and ids.
Referenced by extract(), and pretty().
|
private |
Definition at line 180 of file GeometryInterface.h.
Referenced by allModules(), and loadFromTopology().
Definition at line 163 of file GeometryInterface.h.
Referenced by addExtractor(), and binWidth().
|
private |
Definition at line 152 of file GeometryInterface.h.
Referenced by load().
|
private |
Definition at line 158 of file GeometryInterface.h.
Referenced by addExtractor(), extract(), intern(), load(), loadFromSiPixelCoordinates(), and loadFromTopology().
Definition at line 167 of file GeometryInterface.h.
Referenced by formatValue(), and loadFromTopology().
|
private |
Definition at line 139 of file GeometryInterface.h.
Referenced by load(), loadFromSiPixelCoordinates(), loadFromTopology(), loadModuleLevel(), and loadTimebased().
|
private |
Definition at line 183 of file GeometryInterface.h.
Referenced by intern(), load(), and unintern().
|
private |
Definition at line 154 of file GeometryInterface.h.
|
private |
Definition at line 151 of file GeometryInterface.h.
Referenced by load().
|
private |
Definition at line 184 of file GeometryInterface.h.
Referenced by intern().
Definition at line 161 of file GeometryInterface.h.
Referenced by addExtractor(), load(), and maxValue().
Definition at line 162 of file GeometryInterface.h.
Referenced by addExtractor(), load(), and minValue().
|
private |
Definition at line 150 of file GeometryInterface.h.
Referenced by load().
|
private |
Definition at line 141 of file GeometryInterface.h.
Referenced by load().
|
private |
Definition at line 142 of file GeometryInterface.h.
Referenced by load().
|
static |
Definition at line 42 of file GeometryInterface.h.
Referenced by SiPixelPhase1GeometryDebug::analyze(), HistogramManager::book(), extract(), formatValue(), loadFromSiPixelCoordinates(), loadFromTopology(), and loadTimebased().