#include <mySiStripNoises.h>
Classes | |
struct | DetRegistry |
class | StrictWeakOrdering |
Public Types | |
typedef SiStripNoiseVector::const_iterator | ContainerIterator |
typedef std::pair< ContainerIterator, ContainerIterator > | Range |
typedef std::vector< DetRegistry > | Registry |
typedef Registry::const_iterator | RegistryIterator |
typedef std::vector< unsigned char > | SiStripNoiseVector |
Public Member Functions | |
uint16_t | decode (const uint16_t &strip, const Range &range) const |
void | encode (InputVector &Vi, std::vector< unsigned char > &Vo_CHAR) |
void | getDetIds (std::vector< uint32_t > &DetIds) const |
float | getNoise (const uint16_t &strip, const Range &range) const |
const Range | getRange (const uint32_t &detID) const |
mySiStripNoises () | |
bool | put (const uint32_t detID, InputVector &input) |
void | setData (float noise_, std::vector< short > &vped) |
~mySiStripNoises () | |
Public Attributes | |
std::vector< DetRegistry > | indexes |
const typedef std::vector< short > | InputVector |
std::vector< unsigned char > | v_noises |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 14 of file mySiStripNoises.h.
typedef SiStripNoiseVector::const_iterator mySiStripNoises::ContainerIterator |
Definition at line 31 of file mySiStripNoises.h.
typedef std::pair<ContainerIterator, ContainerIterator> mySiStripNoises::Range |
Definition at line 32 of file mySiStripNoises.h.
typedef std::vector<DetRegistry> mySiStripNoises::Registry |
Definition at line 33 of file mySiStripNoises.h.
typedef Registry::const_iterator mySiStripNoises::RegistryIterator |
Definition at line 34 of file mySiStripNoises.h.
typedef std::vector<unsigned char> mySiStripNoises::SiStripNoiseVector |
Definition at line 30 of file mySiStripNoises.h.
|
inline |
Definition at line 16 of file mySiStripNoises.h.
|
inline |
Definition at line 17 of file mySiStripNoises.h.
uint16_t mySiStripNoises::decode | ( | const uint16_t & | strip, |
const Range & | range | ||
) | const |
Definition at line 68 of file mySiStripNoises.cc.
References data, FastTimerService_cff::range, digitizers_cfi::strip, and relativeConstraints::value.
Referenced by ztail.Decoder::follow(), getNoise(), and ztail.Decoder::initial_synchronize().
void mySiStripNoises::encode | ( | InputVector & | Vi, |
std::vector< unsigned char > & | Vo_CHAR | ||
) |
Definition at line 46 of file mySiStripNoises.cc.
References data, and mps_fire::i.
Referenced by put().
void mySiStripNoises::getDetIds | ( | std::vector< uint32_t > & | DetIds | ) | const |
Definition at line 29 of file mySiStripNoises.cc.
References begin, end, indexes, and AlCaHLTBitMon_ParallelJobs::p.
float mySiStripNoises::getNoise | ( | const uint16_t & | strip, |
const Range & | range | ||
) | const |
Definition at line 38 of file mySiStripNoises.cc.
References decode(), FastTimerService_cff::range, and digitizers_cfi::strip.
const mySiStripNoises::Range mySiStripNoises::getRange | ( | const uint32_t & | detID | ) | const |
Definition at line 20 of file mySiStripNoises.cc.
References indexes, cuda_std::lower_bound(), AlCaHLTBitMon_ParallelJobs::p, and v_noises.
bool mySiStripNoises::put | ( | const uint32_t | detID, |
InputVector & | input | ||
) |
Definition at line 3 of file mySiStripNoises.cc.
References mySiStripNoises::DetRegistry::detid, encode(), mySiStripNoises::DetRegistry::ibegin, mySiStripNoises::DetRegistry::iend, indexes, input, cuda_std::lower_bound(), AlCaHLTBitMon_ParallelJobs::p, sd, and v_noises.
|
private |
void mySiStripNoises::setData | ( | float | noise_, |
std::vector< short > & | vped | ||
) |
Definition at line 42 of file mySiStripNoises.cc.
References sistrip::extrainfo::noise_, and findQualityFiles::v.
|
friend |
Definition at line 50 of file mySiStripNoises.h.
|
friend |
Definition at line 50 of file mySiStripNoises.h.
std::vector<DetRegistry> mySiStripNoises::indexes |
Definition at line 48 of file mySiStripNoises.h.
Referenced by getDetIds(), getRange(), and put().
const typedef std::vector<short> mySiStripNoises::InputVector |
Definition at line 35 of file mySiStripNoises.h.
std::vector<unsigned char> mySiStripNoises::v_noises |
Definition at line 47 of file mySiStripNoises.h.
Referenced by getRange(), and put().