#include <SiStripGainFromAsciiFile.h>
Classes | |
struct | ModuleGain |
Private Member Functions | |
std::unique_ptr< SiStripApvGain > | getNewObject () override |
Private Attributes | |
std::string | Asciifilename_ |
edm::FileInPath | fp_ |
std::unordered_map< unsigned int, ModuleGain > | GainsMap |
float | referenceValue_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from ConditionDBWriter< SiStripApvGain > | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from ConditionDBWriter< SiStripApvGain > | |
void | setDoStore (const bool doStore) |
When set to false the payload will not be written to the db. More... | |
void | storeOnDbNow () |
cond::Time_t | timeOfLastIOV () |
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) |
Definition at line 13 of file SiStripGainFromAsciiFile.h.
|
explicit |
Definition at line 13 of file SiStripGainFromAsciiFile.cc.
References Asciifilename_, fp_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), SiStripDetInfoFileReader::kDefaultFile, referenceValue_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 20 of file SiStripGainFromAsciiFile.cc.
|
overrideprivatevirtual |
Implements ConditionDBWriter< SiStripApvGain >.
Definition at line 24 of file SiStripGainFromAsciiFile.cc.
References SiStripGainFromAsciiFile::ModuleGain::apv, Asciifilename_, cms::cuda::assert(), DetId::det(), ALCARECOPPSCalTrackBasedSel_cff::detid, fp_, edm::FileInPath::fullPath(), GainsMap, SiStripGainFromAsciiFile::ModuleGain::hard_reset(), timingPdfMaker::infile, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, mps_splice::line, getGTfromDQMFile::obj, isotrackApplyRegressor::range, SiStripDetInfoFileReader::read(), referenceValue_, contentValuesCheck::ss, and DetId::Tracker.
|
private |
Definition at line 36 of file SiStripGainFromAsciiFile.h.
Referenced by getNewObject(), and SiStripGainFromAsciiFile().
|
private |
Definition at line 38 of file SiStripGainFromAsciiFile.h.
Referenced by getNewObject(), and SiStripGainFromAsciiFile().
|
private |
Definition at line 40 of file SiStripGainFromAsciiFile.h.
Referenced by getNewObject().
|
private |
Definition at line 37 of file SiStripGainFromAsciiFile.h.
Referenced by getNewObject(), and SiStripGainFromAsciiFile().