#include <mySiStripNoises.h>
Classes | |
struct | DetRegistry |
class | StrictWeakOrdering |
Public Types | |
typedef SiStripNoiseVector::const_iterator | ContainerIterator |
typedef const std::vector< short > | InputVector |
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 |
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 15 of file mySiStripNoises.h.
typedef SiStripNoiseVector::const_iterator mySiStripNoises::ContainerIterator |
Definition at line 34 of file mySiStripNoises.h.
typedef const std::vector<short> mySiStripNoises::InputVector |
Definition at line 38 of file mySiStripNoises.h.
typedef std::pair<ContainerIterator, ContainerIterator> mySiStripNoises::Range |
Definition at line 35 of file mySiStripNoises.h.
typedef std::vector<DetRegistry> mySiStripNoises::Registry |
Definition at line 36 of file mySiStripNoises.h.
typedef Registry::const_iterator mySiStripNoises::RegistryIterator |
Definition at line 37 of file mySiStripNoises.h.
typedef std::vector<unsigned char> mySiStripNoises::SiStripNoiseVector |
Definition at line 33 of file mySiStripNoises.h.
|
inline |
Definition at line 18 of file mySiStripNoises.h.
|
inline |
Definition at line 19 of file mySiStripNoises.h.
uint16_t mySiStripNoises::decode | ( | const uint16_t & | strip, |
const Range & | range | ||
) | const |
Definition at line 67 of file mySiStripNoises.cc.
References data, 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().
const mySiStripNoises::Range mySiStripNoises::getRange | ( | const uint32_t & | detID | ) | const |
Definition at line 20 of file mySiStripNoises.cc.
References indexes, pfDeepBoostedJetPreprocessParams_cfi::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, pfDeepBoostedJetPreprocessParams_cfi::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.
|
friend |
Definition at line 53 of file mySiStripNoises.h.
|
friend |
Definition at line 53 of file mySiStripNoises.h.
std::vector<DetRegistry> mySiStripNoises::indexes |
Definition at line 51 of file mySiStripNoises.h.
Referenced by getDetIds(), getRange(), and put().
std::vector<unsigned char> mySiStripNoises::v_noises |
Definition at line 50 of file mySiStripNoises.h.
Referenced by getRange(), and put().