#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=0, 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 &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 = 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 (edm::EventSetup const &iSetup, const edm::ParameterSet &iConfig) |
void | loadFromSiPixelCoordinates (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::map< ID, Value > | bin_width |
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 |
ID | max_id = 0 |
std::map< ID, Value > | max_value |
std::map< ID, Value > | min_value |
Definition at line 24 of file GeometryInterface.h.
typedef ID GeometryInterface::Column |
Definition at line 30 of file GeometryInterface.h.
typedef int GeometryInterface::ID |
Definition at line 27 of file GeometryInterface.h.
typedef double GeometryInterface::Value |
Definition at line 31 of file GeometryInterface.h.
typedef std::vector<std::pair<Column, Value> > GeometryInterface::Values |
Definition at line 36 of file GeometryInterface.h.
|
inline |
Definition at line 38 of file GeometryInterface.h.
|
inlineprivate |
Definition at line 153 of file GeometryInterface.h.
References RecoEcal_EventContent_cff::func, triggerObjects_cff::id, SiStripPI::max, and min().
Referenced by loadFEDCabling(), loadFromSiPixelCoordinates(), loadFromTopology(), loadModuleLevel(), and loadTimebased().
|
inline |
Definition at line 91 of file GeometryInterface.h.
References all_modules.
Referenced by SiPixelPhase1GeometryDebug::analyze(), HistogramManager::book(), and HistogramManager::loadFromDQMStore().
Definition at line 97 of file GeometryInterface.h.
References bin_width, and triggerObjects_cff::id.
Referenced by HistogramManager::book().
|
inline |
Definition at line 65 of file GeometryInterface.h.
References GeometryInterface::InterestingQuantities::col, extractors, triggerObjects_cff::id, unintern(), and heppy_batch::val.
Referenced by SiPixelPhase1GeometryDebug::analyze(), HistogramManager::book(), extractColumns(), and HistogramManager::fillInternal().
|
inline |
Definition at line 83 of file GeometryInterface.h.
References GeometryInterface::InterestingQuantities::col, ev, extractors, triggerObjects_cff::id, and GeometryInterface::InterestingQuantities::row.
|
inline |
Definition at line 54 of file GeometryInterface.h.
References GeometryInterface::InterestingQuantities::col, extract(), and heppy_batch::val.
Referenced by HistogramManager::book(), HistogramManager::executeExtend(), HistogramManager::executeGroupBy(), HistogramManager::executePerEventHarvesting(), HistogramManager::fill(), and HistogramManager::loadFromDQMStore().
Definition at line 432 of file GeometryInterface.cc.
References format_value, createfilelist::int, dataset::name, pretty(), AlCaHLTBitMon_QueryRunRegistry::string, UNDEFINED, and relativeConstraints::value.
Referenced by HistogramManager::makePathName(), and pretty().
|
inline |
Definition at line 100 of file GeometryInterface.h.
References extractors, triggerObjects_cff::id, ids, 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 44 of file GeometryInterface.cc.
References electrons_cff::bool, MillePedeFileConverter_cfg::e, extractors, iConfig, ids, is_loaded, loadFEDCabling(), loadFromSiPixelCoordinates(), loadFromTopology(), loadModuleLevel(), loadTimebased(), cmsBatch::log, max_value, and min_value.
Referenced by HistogramManager::book(), HistogramManager::executePerLumiHarvesting(), and loaded().
|
inline |
Definition at line 40 of file GeometryInterface.h.
References is_loaded, and load().
Referenced by HistogramManager::book(), and HistogramManager::executePerLumiHarvesting().
|
private |
Definition at line 388 of file GeometryInterface.cc.
References addExtractor(), GeometryInterface::InterestingQuantities::col, edm::EventSetup::get(), edm::ParameterSet::getParameter(), runTauDisplay::gp, intern(), DetId::rawId(), GeometryInterface::InterestingQuantities::row, GeometryInterface::InterestingQuantities::sourceModule, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by load(), and pretty().
|
private |
Definition at line 169 of file GeometryInterface.cc.
References addExtractor(), GeometryInterface::InterestingQuantities::col, extractors, edm::ParameterSet::getParameter(), recoMuon::in, intern(), hcalRecAlgoESProd_cfi::phase, GeometryInterface::InterestingQuantities::row, GeometryInterface::InterestingQuantities::sourceModule, and UNDEFINED.
Referenced by load(), and pretty().
|
private |
Definition at line 58 of file GeometryInterface.cc.
References addExtractor(), all_modules, TrackerGeometry::detIds(), MillePedeFileConverter_cfg::e, makeMuonMisalignmentScenario::endcap, extractors, format_value, edm::EventSetup::get(), TrackerTopology::getField(), edm::ParameterSet::getParameter(), TrackerTopology::hasField(), triggerObjects_cff::id, TrackerGeometry::idToDetUnit(), intern(), edm::ESHandleBase::isValid(), mod(), PixelEndcapName::name(), PixelBarrelName::name(), dataset::name, PixelTopology::ncolumns(), PixelTopology::nrows(), TrackerTopology::PBLadder, TrackerTopology::PBLayer, TrackerTopology::PBModule, TrackerTopology::PFBlade, TrackerTopology::PFDisk, TrackerTopology::PFModule, TrackerTopology::PFPanel, TrackerTopology::PFSide, hcalRecAlgoESProd_cfi::phase, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, GeometryInterface::InterestingQuantities::sourceModule, PixelGeomDetUnit::specificTopology(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::tt, and UNDEFINED.
Referenced by load(), and pretty().
|
private |
Definition at line 371 of file GeometryInterface.cc.
References addExtractor(), GeometryInterface::InterestingQuantities::col, edm::ParameterSet::getParameter(), intern(), and GeometryInterface::InterestingQuantities::row.
Referenced by load(), and pretty().
|
private |
Definition at line 328 of file GeometryInterface.cc.
References addExtractor(), edm::EventBase::bunchCrossing(), edm::ParameterSet::getParameter(), intern(), edm::EventBase::luminosityBlock(), GeometryInterface::InterestingQuantities::sourceEvent, and UNDEFINED.
Referenced by load(), and pretty().
Definition at line 95 of file GeometryInterface.h.
References triggerObjects_cff::id, and max_value.
Referenced by HistogramManager::book().
Definition at line 96 of file GeometryInterface.h.
References triggerObjects_cff::id, and min_value.
Referenced by HistogramManager::book().
|
inline |
Definition at line 118 of file GeometryInterface.h.
References formatValue(), iConfig, loadFEDCabling(), loadFromSiPixelCoordinates(), loadFromTopology(), loadModuleLevel(), loadTimebased(), AlCaHLTBitMon_QueryRunRegistry::string, and unintern().
Referenced by HistogramManager::book(), HistogramManager::executeExtend(), formatValue(), and HistogramManager::makePathName().
|
inline |
Definition at line 112 of file GeometryInterface.h.
References MillePedeFileConverter_cfg::e, and ids.
Referenced by extract(), and pretty().
|
private |
Definition at line 162 of file GeometryInterface.h.
Referenced by allModules(), and loadFromTopology().
Definition at line 147 of file GeometryInterface.h.
Referenced by binWidth().
|
private |
Definition at line 142 of file GeometryInterface.h.
Referenced by extract(), intern(), load(), loadFromSiPixelCoordinates(), and loadFromTopology().
Definition at line 151 of file GeometryInterface.h.
Referenced by formatValue(), and loadFromTopology().
|
private |
Definition at line 136 of file GeometryInterface.h.
|
private |
Definition at line 165 of file GeometryInterface.h.
Referenced by intern(), load(), and unintern().
|
private |
Definition at line 138 of file GeometryInterface.h.
|
private |
Definition at line 166 of file GeometryInterface.h.
Referenced by intern().
Definition at line 145 of file GeometryInterface.h.
Referenced by load(), and maxValue().
Definition at line 146 of file GeometryInterface.h.
Referenced by load(), and minValue().
|
static |
Definition at line 32 of file GeometryInterface.h.
Referenced by SiPixelPhase1GeometryDebug::analyze(), HistogramManager::book(), formatValue(), loadFromSiPixelCoordinates(), loadFromTopology(), and loadTimebased().