#include <SiStripApvGain.h>
Classes | |
struct | RegistryPointers |
Public Types | |
typedef std::vector< float >::const_iterator | ContainerIterator |
typedef std::vector< float > | InputVector |
typedef std::pair< ContainerIterator, ContainerIterator > | Range |
typedef std::vector< unsigned int > | Registry |
typedef Registry::const_iterator | RegistryConstIterator |
typedef Registry::iterator | RegistryIterator |
Public Member Functions | |
void | getDetIds (std::vector< uint32_t > &DetIds_) const |
const Range | getRange (const uint32_t detID) const |
Range | getRangeByPos (unsigned short pos) const |
RegistryPointers | getRegistryPointers () const |
void | printDebug (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
void | printSummary (std::stringstream &ss, const TrackerTopology *trackerTopo) const |
bool | put (const uint32_t &detID, Range input) |
SiStripApvGain () | |
~SiStripApvGain () | |
Static Public Member Functions | |
static float | getApvGain (uint16_t apv, const Range &range) |
static float | getStripGain (uint16_t strip, const Range &range) |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
std::vector< unsigned int > | v_detids |
std::vector< float > | v_gains |
std::vector< unsigned int > | v_ibegin |
std::vector< unsigned int > | v_iend |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Stores the information of the gain for each apv using four vectors
A vector<unsigned int> (v_detids) stores the detId.
A vector<float> (v_gains) stores the value of the gain (more than one per detId).
Two vector<unsigned int> (v_ibegin and v_iend) store the correspondence of the v_detids and the ranges of values in v_gain.
The printSummary method uses SiStripDetSummary. See description therein.
The printDebug method prints the gain value for every apv of every detId.
Definition at line 25 of file SiStripApvGain.h.
typedef std::vector<float>::const_iterator SiStripApvGain::ContainerIterator |
Definition at line 29 of file SiStripApvGain.h.
typedef std::vector<float> SiStripApvGain::InputVector |
Definition at line 34 of file SiStripApvGain.h.
typedef std::pair<ContainerIterator, ContainerIterator> SiStripApvGain::Range |
Definition at line 30 of file SiStripApvGain.h.
typedef std::vector<unsigned int> SiStripApvGain::Registry |
Definition at line 31 of file SiStripApvGain.h.
typedef Registry::const_iterator SiStripApvGain::RegistryConstIterator |
Definition at line 33 of file SiStripApvGain.h.
typedef Registry::iterator SiStripApvGain::RegistryIterator |
Definition at line 32 of file SiStripApvGain.h.
|
inline |
Definition at line 51 of file SiStripApvGain.h.
|
inline |
Definition at line 52 of file SiStripApvGain.h.
|
inlinestatic |
Definition at line 80 of file SiStripApvGain.h.
References printDebug(), and printSummary().
Referenced by SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripApvGainRescaler::analyze(), SiStripPlotGain::DoAnalysis(), SiStripApvGainsDQM::fillMEsForDet(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripGain::fillNewGain(), SiStripGain::getApvGain(), getDetIds(), SiStripCorrelateNoise::getGainRatio(), getRegistryPointers(), printDebug(), and printSummary().
void SiStripApvGain::getDetIds | ( | std::vector< uint32_t > & | DetIds_ | ) | const |
Definition at line 52 of file SiStripApvGain.cc.
References Exception, getApvGain(), getStripGain(), digitizers_cfi::strip, and v_detids.
Referenced by SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripApvGainsDQM::fillMEsForDet(), SiStripGain::fillNewGain(), SiStripApvGainsDQM::getActiveDetIds(), SiStripGain::getDetIds(), and getRegistryPointers().
const SiStripApvGain::Range SiStripApvGain::getRange | ( | const uint32_t | detID | ) | const |
Definition at line 29 of file SiStripApvGain.cc.
References AlCaHLTBitMon_ParallelJobs::p, v_detids, v_gains, v_ibegin, and v_iend.
Referenced by SiStripNoiseNormalizedWithApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripApvGainRescaler::analyze(), SiStripNoisesDQM::fillMEsForDet(), SiStripApvGainsDQM::fillMEsForDet(), SiStripNoisesDQM::fillMEsForLayer(), SiStripApvGainsDQM::fillMEsForLayer(), SiStripGain::fillNewGain(), SiStripCorrelateNoise::getGainRatio(), SiStripGain::getRange(), getRegistryPointers(), printDebug(), and printSummary().
SiStripApvGain::Range SiStripApvGain::getRangeByPos | ( | unsigned short | pos | ) | const |
Definition at line 43 of file SiStripApvGain.cc.
References v_detids, v_gains, v_ibegin, and v_iend.
Referenced by SiStripGain::getRangeByPos(), and getRegistryPointers().
|
inline |
Definition at line 54 of file SiStripApvGain.h.
References SiStripApvGain::RegistryPointers::detid_begin, SiStripApvGain::RegistryPointers::detid_end, getApvGain(), getDetIds(), getRange(), getRangeByPos(), getStripGain(), SiStripApvGain::RegistryPointers::ibegin_begin, SiStripApvGain::RegistryPointers::ibegin_end, SiStripApvGain::RegistryPointers::iend_begin, SiStripApvGain::RegistryPointers::iend_end, input, AlCaHLTBitMon_ParallelJobs::p, put(), digitizers_cfi::strip, SiStripApvGain::RegistryPointers::v_begin, v_detids, SiStripApvGain::RegistryPointers::v_end, v_gains, v_ibegin, and v_iend.
Referenced by SiStripPlotGain::DoAnalysis().
|
inlinestatic |
Definition at line 79 of file SiStripApvGain.h.
Referenced by SiStripNoisesDQM::fillMEsForDet(), SiStripNoisesDQM::fillMEsForLayer(), getDetIds(), getRegistryPointers(), and SiStripGain::getStripGain().
void SiStripApvGain::printDebug | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Definition at line 85 of file SiStripApvGain.cc.
References getApvGain(), getRange(), and v_detids.
Referenced by getApvGain().
void SiStripApvGain::printSummary | ( | std::stringstream & | ss, |
const TrackerTopology * | trackerTopo | ||
) | const |
Definition at line 102 of file SiStripApvGain.cc.
References getApvGain(), getRange(), and v_detids.
Referenced by getApvGain().
bool SiStripApvGain::put | ( | const uint32_t & | detID, |
Range | input | ||
) |
Definition at line 8 of file SiStripApvGain.cc.
References AlCaHLTBitMon_ParallelJobs::p, sd, v_detids, v_gains, v_ibegin, and v_iend.
Referenced by SiStripApvGainBuilder::analyze(), SiStripApvGainBuilderFromTag::analyze(), SiStripGain::fillNewGain(), SiStripGainFromAsciiFile::getNewObject(), SiStripGainRandomCalculator::getNewObject(), SiStripGainFromData::getNewObject(), SiStripGainFromCalibTree::getNewObject(), getRegistryPointers(), and SiStripCondObjBuilderFromDb::storeTiming().
|
private |
|
friend |
Definition at line 94 of file SiStripApvGain.h.
|
friend |
Definition at line 94 of file SiStripApvGain.h.
|
private |
Definition at line 90 of file SiStripApvGain.h.
Referenced by getDetIds(), getRange(), getRangeByPos(), getRegistryPointers(), printDebug(), printSummary(), and put().
|
private |
Definition at line 89 of file SiStripApvGain.h.
Referenced by getRange(), getRangeByPos(), getRegistryPointers(), and put().
|
private |
Definition at line 91 of file SiStripApvGain.h.
Referenced by getRange(), getRangeByPos(), getRegistryPointers(), and put().
|
private |
Definition at line 92 of file SiStripApvGain.h.
Referenced by getRange(), getRangeByPos(), getRegistryPointers(), and put().