Go to the documentation of this file. 1 #ifndef SiStripObjects_SiStripGain_h
2 #define SiStripObjects_SiStripGain_h
59 const std::pair<std::string, std::string> &recordLabelPair,
69 const std::pair<std::string, std::string> &recordLabelPair,
97 void getDetIds(std::vector<uint32_t> &DetIds_)
const;
112 const double &factor2 = 1.);
const SiStripGain & operator=(const SiStripGain &)=delete
static float getStripGain(uint16_t strip, const Range &range)
std::string getLabelName(const uint32_t index) const
std::vector< std::pair< std::string, std::string > > recordLabelPair_
SiStripGain(const SiStripApvGain &apvgain, const double &factor, const SiStripDetInfo &detInfo)
Kept for compatibility.
double getTagNorm(const uint32_t index) const
std::vector< double > normVector_
std::unique_ptr< SiStripApvGain > apvgainAutoPtr_
const Range getRange(const uint32_t detID) const
void fillNewGain(const SiStripApvGain *apvgain, const double &factor, SiStripDetInfo const &detInfo, const SiStripApvGain *apvgain2=nullptr, const double &factor2=1.)
std::vector< const SiStripApvGain * > apvgainVector_
static float getStripGain(const uint16_t &strip, const SiStripApvGain::Range &range)
size_t getNumberOfTags() const
const SiStripApvGain * apvgain_
SiStripApvGain::Range getRangeByPos(unsigned short pos) const
const SiStripApvGain::Range getRange(uint32_t detID) const
void getDetIds(std::vector< uint32_t > &DetIds_) const
ATTENTION: we assume the detIds are the same as those from the first gain.
SiStripGain(const SiStripApvGain &apvgain, const double &factor, const std::pair< std::string, std::string > &recordLabelPair, const SiStripDetInfo &detInfo)
static float getApvGain(const uint16_t &apv, const SiStripApvGain::Range &range)
void printDebug(std::stringstream &ss, const TrackerTopology *trackerTopo) const
void multiply(const SiStripApvGain &apvgain, const double &factor, const std::pair< std::string, std::string > &recordLabelPair, const SiStripDetInfo &detInfo)
Range getRangeByPos(unsigned short pos) const
std::pair< ContainerIterator, ContainerIterator > Range
void printSummary(std::stringstream &ss, const TrackerTopology *trackerTopo) const
static float getApvGain(uint16_t apv, const Range &range)
std::string getRcdName(const uint32_t index) const