#include <CastorRawGains.h>
Public Types | |
typedef std::vector< Item > | Container |
typedef CastorRawGain | Item |
Public Member Functions | |
CastorRawGain * | addItem (DetId fId) |
add new (empty) item More... | |
void | addValues (DetId fId, const CastorRawGain &fValues) |
fill values More... | |
CastorRawGains () | |
std::vector< DetId > | getAllChannels () const |
get list of all available channels More... | |
const CastorRawGain * | getValues (DetId fId) const |
get value More... | |
void | sort () |
sort values by channelId More... | |
bool | sorted () const |
check if data are sorted More... | |
~CastorRawGains () | |
Private Attributes | |
Container | mItems |
bool | mSorted |
Definition at line 17 of file CastorRawGains.h.
typedef std::vector<Item> CastorRawGains::Container |
Definition at line 35 of file CastorRawGains.h.
typedef CastorRawGain CastorRawGains::Item |
Definition at line 34 of file CastorRawGains.h.
CastorRawGains::CastorRawGains | ( | ) |
Definition at line 31 of file CastorRawGains.cc.
CastorRawGains::~CastorRawGains | ( | ) |
Definition at line 34 of file CastorRawGains.cc.
CastorRawGain * CastorRawGains::addItem | ( | DetId | fId | ) |
add new (empty) item
Definition at line 60 of file CastorRawGains.cc.
References mItems, mSorted, and DetId::rawId().
Referenced by sorted().
void CastorRawGains::addValues | ( | DetId | fId, |
const CastorRawGain & | fValues | ||
) |
fill values
Definition at line 67 of file CastorRawGains.cc.
References CastorRawGain::getError(), CastorRawGain::getStatus(), CastorRawGain::getValue(), CastorRawGain::getVoltage(), mItems, mSorted, and DetId::rawId().
Referenced by sorted().
std::vector< DetId > CastorRawGains::getAllChannels | ( | ) | const |
get list of all available channels
Definition at line 51 of file CastorRawGains.cc.
References mItems, and mps_fire::result.
const CastorRawGain * CastorRawGains::getValues | ( | DetId | fId | ) | const |
get value
Definition at line 36 of file CastorRawGains.cc.
References CastorRawGain::BAD, MessageLogger_cfi::cerr, spr::find(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, mItems, DetId::rawId(), sorted(), and edmPickEvents::target.
void CastorRawGains::sort | ( | ) |
sort values by channelId
Definition at line 74 of file CastorRawGains.cc.
References mItems, mSorted, and jetUpdater_cfi::sort.
Referenced by sorted().
|
inline |
check if data are sorted
Definition at line 26 of file CastorRawGains.h.
References addItem(), addValues(), mSorted, and sort().
Referenced by getValues().
|
private |
Definition at line 37 of file CastorRawGains.h.
Referenced by addItem(), addValues(), getAllChannels(), getValues(), and sort().
|
private |
Definition at line 38 of file CastorRawGains.h.
Referenced by addItem(), addValues(), sort(), and sorted().