#include <GeometryInterface.h>
Classes | |
struct | InterestingQuantities |
struct | Values |
Public Types | |
typedef std::array< ID, 2 > | Column |
typedef int | ID |
typedef int | Value |
Public Member Functions | |
std::vector < InterestingQuantities > const & | allModules () |
std::pair< Column, Value > | extract (Column const &col, InterestingQuantities const &iq) |
Value | extract (ID id, DetId did, edm::Event *ev=0, int16_t col=0, int16_t row=0) |
void | extractColumns (std::vector< Column > const &names, InterestingQuantities const &iq, Values &out) |
GeometryInterface (const edm::ParameterSet &conf) | |
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 = 0x0FFFFFFF |
Private Member Functions | |
void | addExtractor (ID id, std::function< Value(InterestingQuantities const &iq)> func, Value min=UNDEFINED, Value max=UNDEFINED) |
void | loadFEDCabling (edm::EventSetup const &iSetup, const edm::ParameterSet &iConfig) |
void | loadFromTopology (edm::EventSetup const &iSetup, const edm::ParameterSet &iConfig) |
void | loadModuleLevel (edm::EventSetup const &iSetup, const edm::ParameterSet &iConfig) |
void | loadTimebased (edm::EventSetup const &iSetup, const edm::ParameterSet &iConfig) |
Private Attributes | |
std::vector < InterestingQuantities > | all_modules |
std::vector< std::function < Value(InterestingQuantities const &iq)> > | extractors |
const edm::ParameterSet | iConfig |
std::map< std::string, ID > | ids {std::make_pair(std::string("INVALID"), ID(0))} |
bool | is_loaded = false |
ID | max_id = 0 |
std::map< ID, Value > | max_value |
std::map< ID, Value > | min_value |
Definition at line 27 of file GeometryInterface.h.
typedef std::array<ID, 2> GeometryInterface::Column |
Definition at line 37 of file GeometryInterface.h.
typedef int GeometryInterface::ID |
Definition at line 30 of file GeometryInterface.h.
typedef int GeometryInterface::Value |
Definition at line 38 of file GeometryInterface.h.
|
inline |
Definition at line 83 of file GeometryInterface.h.
|
inlineprivate |
Definition at line 197 of file GeometryInterface.h.
References extractors, RecoJets_EventContent_cff::func, bookConverter::max, max_value, min(), and min_value.
Referenced by loadFEDCabling(), loadFromTopology(), loadModuleLevel(), and loadTimebased().
|
inline |
Definition at line 137 of file GeometryInterface.h.
References all_modules.
Referenced by HistogramManager::book(), and HistogramManager::loadFromDQMStore().
|
inline |
Definition at line 110 of file GeometryInterface.h.
References assert(), extractors, UNDEFINED, unintern(), and SpecificationBuilder_cfi::val().
Referenced by BeautifulSoup.PageElement::_invert(), SiPixelPhase1Clusters::analyze(), SiPixelPhase1Digis::analyze(), HistogramManager::book(), BeautifulSoup.Tag::decompose(), extractColumns(), HistogramManager::fillInternal(), and HistogramManager::makeName().
|
inline |
Definition at line 131 of file GeometryInterface.h.
References cuy::col, ev, and extractors.
Referenced by BeautifulSoup.PageElement::_invert(), and BeautifulSoup.Tag::decompose().
|
inline |
Definition at line 101 of file GeometryInterface.h.
References GeometryInterface::Values::clear(), cuy::col, extract(), GeometryInterface::Values::put(), and SpecificationBuilder_cfi::val().
Referenced by HistogramManager::book(), HistogramManager::executeExtend(), HistogramManager::executeGroupBy(), HistogramManager::executePerEventHarvesting(), HistogramManager::fill(), and HistogramManager::loadFromDQMStore().
|
inline |
Definition at line 146 of file GeometryInterface.h.
References extractors, ids, and max_id.
Referenced by SiPixelPhase1Clusters::analyze(), SiPixelPhase1Digis::analyze(), loadFEDCabling(), loadFromTopology(), loadModuleLevel(), loadTimebased(), and SummationSpecification::parse_columns().
void GeometryInterface::load | ( | edm::EventSetup const & | iSetup | ) |
Definition at line 34 of file GeometryInterface.cc.
References alignCSCRings::e, extractors, iConfig, ids, is_loaded, loadFEDCabling(), loadFromTopology(), loadModuleLevel(), loadTimebased(), dqm-mbProfile::log, max_value, and min_value.
Referenced by HistogramManager::book(), and HistogramManager::executePerLumiHarvesting().
|
inline |
Definition at line 85 of file GeometryInterface.h.
References is_loaded.
Referenced by HistogramManager::book(), and HistogramManager::executePerLumiHarvesting().
|
private |
Definition at line 315 of file GeometryInterface.cc.
References addExtractor(), all_modules, GeometryInterface::InterestingQuantities::col, edm::EventSetup::get(), edm::ParameterSet::getParameter(), intern(), AlCaHLTBitMon_ParallelJobs::p, mergeAndRegister::paths, GeometryInterface::InterestingQuantities::row, GeometryInterface::InterestingQuantities::sourceModule, AlCaHLTBitMon_QueryRunRegistry::string, and UNDEFINED.
Referenced by load().
|
private |
Definition at line 47 of file GeometryInterface.cc.
References addExtractor(), all_modules, assert(), alignCSCRings::e, Reference_intrackfit_cff::endcap, extractors, cropTnPTrees::frac, edm::EventSetup::get(), edm::ParameterSet::getParameter(), intern(), edm::ESHandleBase::isValid(), mod(), python.rootplot.argparse::module, TrackerTopology::PBLadder, TrackerTopology::PBLayer, TrackerTopology::PBModule, TrackerTopology::PFBlade, TrackerTopology::PFDisk, TrackerTopology::PFModule, TrackerTopology::PFPanel, TrackerTopology::PFSide, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, GeometryInterface::InterestingQuantities::sourceModule, groupFilesInBlocks::tt, and UNDEFINED.
Referenced by load().
|
private |
Definition at line 259 of file GeometryInterface.cc.
References addExtractor(), GeometryInterface::InterestingQuantities::col, extractors, edm::ParameterSet::getParameter(), intern(), mod(), DetId::rawId(), GeometryInterface::InterestingQuantities::row, GeometryInterface::InterestingQuantities::sourceModule, and UNDEFINED.
Referenced by load().
|
private |
Definition at line 229 of file GeometryInterface.cc.
References addExtractor(), edm::EventBase::bunchCrossing(), edm::ParameterSet::getParameter(), intern(), edm::EventBase::luminosityBlock(), GeometryInterface::InterestingQuantities::sourceEvent, and UNDEFINED.
Referenced by load().
Definition at line 140 of file GeometryInterface.h.
References max_value.
Referenced by HistogramManager::book().
Definition at line 141 of file GeometryInterface.h.
References min_value.
Referenced by HistogramManager::book().
|
inline |
Definition at line 164 of file GeometryInterface.h.
References unintern().
Referenced by HistogramManager::book(), HistogramManager::executeExtend(), HistogramManager::makeName(), and HistogramManager::makePath().
|
inline |
Definition at line 158 of file GeometryInterface.h.
References alignCSCRings::e, and ids.
Referenced by extract(), and pretty().
|
private |
Definition at line 205 of file GeometryInterface.h.
Referenced by allModules(), loadFEDCabling(), and loadFromTopology().
|
private |
Definition at line 190 of file GeometryInterface.h.
Referenced by addExtractor(), extract(), intern(), load(), loadFromTopology(), and loadModuleLevel().
|
private |
Definition at line 184 of file GeometryInterface.h.
Referenced by load().
|
private |
Definition at line 208 of file GeometryInterface.h.
Referenced by intern(), load(), and unintern().
|
private |
Definition at line 186 of file GeometryInterface.h.
|
private |
Definition at line 209 of file GeometryInterface.h.
Referenced by intern().
Definition at line 194 of file GeometryInterface.h.
Referenced by addExtractor(), load(), and maxValue().
Definition at line 195 of file GeometryInterface.h.
Referenced by addExtractor(), load(), and minValue().
|
static |
Definition at line 39 of file GeometryInterface.h.
Referenced by SiPixelPhase1Clusters::analyze(), HistogramManager::book(), extract(), GeometryInterface::Values::get(), loadFEDCabling(), loadFromTopology(), loadModuleLevel(), loadTimebased(), and HistogramManager::makePath().