#include <SiStripFakeAPVParameters.h>
Public Types | |
using | index = std::pair< int, int > |
Public Member Functions | |
double | get (const index &idx) const |
SiStripFakeAPVParameters () | |
SiStripFakeAPVParameters (const edm::ParameterSet &pset, const std::string ¶meterName) | |
Fills the parameters read from cfg and matching the name in the map. More... | |
Static Public Member Functions | |
static index | getIndex (const TrackerTopology *tTopo, DetId id) |
Private Types | |
using | LayerParameters = std::vector< double > |
using | SubdetParameters = std::map< int, LayerParameters > |
Private Member Functions | |
void | fillSubDetParameter (const std::vector< double > &v, const int subDet, const unsigned short layers) |
Private Attributes | |
SubdetParameters | m_data |
Helper that stores one parameter for each layer/ring (wrapper around std::map<std::vector<double>>)
Definition at line 9 of file SiStripFakeAPVParameters.h.
using SiStripFakeAPVParameters::index = std::pair<int, int> |
Definition at line 11 of file SiStripFakeAPVParameters.h.
|
private |
Definition at line 57 of file SiStripFakeAPVParameters.h.
|
private |
Definition at line 58 of file SiStripFakeAPVParameters.h.
|
inline |
Definition at line 13 of file SiStripFakeAPVParameters.h.
|
inline |
Fills the parameters read from cfg and matching the name in the map.
Definition at line 16 of file SiStripFakeAPVParameters.h.
References fillSubDetParameter(), muonDTDigis_cfi::pset, StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, and StripSubdetector::TOB.
|
inlineprivate |
Fills the map with the paramters for the given subdetector.
Each vector "v" holds the parameters for the layers/rings, if the vector has only one parameter all the layers/rings get that parameter.
The only other possibility is that the number of parameters equals the number of layers, otherwise an exception of type "Configuration" will be thrown.
Definition at line 68 of file SiStripFakeAPVParameters.h.
References Exception, hgcalTopologyTester_cfi::layers, m_data, and findQualityFiles::v.
Referenced by SiStripFakeAPVParameters().
|
inline |
Definition at line 32 of file SiStripFakeAPVParameters.h.
References heavyIonCSV_trainingSettings::idx, and m_data.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), submitPVValidationJobs.BetterConfigParser::__updateDict(), data_sources.json_list::as_dicts(), data_sources.json_list::as_table(), util.rrapi.RRApi::columns(), rrapi.RRApi::columns(), util.rrapi.RRApi::count(), rrapi.RRApi::count(), util.rrapi.RRApi::data(), rrapi.RRApi::data(), data_sources.json_list::first(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), betterConfigParser.BetterConfigParser::getResultingSection(), submitPVValidationJobs.BetterConfigParser::getResultingSection(), data_sources.json_list::indices(), data_sources.json_list::last(), SiStripNoisesFakeESSource::produce(), util.rrapi.RRApi::report(), rrapi.RRApi::report(), util.rrapi.RRApi::reports(), rrapi.RRApi::reports(), util.rrapi.RRApi::tables(), rrapi.RRApi::tables(), rrapi.RRApi::tags(), util.rrapi.RRApi::tags(), rrapi.RRApi::templates(), util.rrapi.RRApi::templates(), util.rrapi.RRApi::workspaces(), and rrapi.RRApi::workspaces().
|
inlinestatic |
Definition at line 34 of file SiStripFakeAPVParameters.h.
References createfilelist::int, DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecRing(), StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidRing(), StripSubdetector::TOB, and TrackerTopology::tobLayer().
Referenced by SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), and SiStripNoisesFakeESSource::produce().
|
private |
Definition at line 59 of file SiStripFakeAPVParameters.h.
Referenced by fillSubDetParameter(), and get().