#include <HcalRawGains.h>
Public Types | |
typedef std::vector< Item > | Container |
typedef HcalRawGain | Item |
Public Member Functions | |
HcalRawGain * | addItem (DetId fId) |
add new (empty) item More... | |
void | addValues (DetId fId, const HcalRawGain &fValues) |
fill values More... | |
std::vector< DetId > | getAllChannels () const |
get list of all available channels More... | |
const HcalRawGain * | getValues (DetId fId) const |
get value More... | |
HcalRawGains () | |
void | sort () |
sort values by channelId More... | |
bool | sorted () const |
check if data are sorted More... | |
~HcalRawGains () | |
Private Attributes | |
Container | mItems |
bool | mSorted |
Definition at line 20 of file HcalRawGains.h.
typedef std::vector<Item> HcalRawGains::Container |
Definition at line 38 of file HcalRawGains.h.
typedef HcalRawGain HcalRawGains::Item |
Definition at line 37 of file HcalRawGains.h.
HcalRawGains::HcalRawGains | ( | ) |
Definition at line 34 of file HcalRawGains.cc.
HcalRawGains::~HcalRawGains | ( | ) |
Definition at line 36 of file HcalRawGains.cc.
HcalRawGain * HcalRawGains::addItem | ( | DetId | fId | ) |
add new (empty) item
Definition at line 61 of file HcalRawGains.cc.
References B2GTnPMonitor_cfi::item, mItems, mSorted, and DetId::rawId().
void HcalRawGains::addValues | ( | DetId | fId, |
const HcalRawGain & | fValues | ||
) |
fill values
Definition at line 68 of file HcalRawGains.cc.
References HcalRawGain::getError(), HcalRawGain::getStatus(), HcalRawGain::getValue(), HcalRawGain::getVoltage(), B2GTnPMonitor_cfi::item, mItems, mSorted, and DetId::rawId().
std::vector< DetId > HcalRawGains::getAllChannels | ( | ) | const |
get list of all available channels
Definition at line 53 of file HcalRawGains.cc.
References B2GTnPMonitor_cfi::item, mItems, and mps_fire::result.
const HcalRawGain * HcalRawGains::getValues | ( | DetId | fId | ) | const |
get value
Definition at line 38 of file HcalRawGains.cc.
References HcalRawGain::BAD, EcnaPython_AdcPeg12_S1_10_R170298_1_0_150_Dee0::cerr, spr::find(), pfDeepBoostedJetPreprocessParams_cfi::lower_bound, mItems, DetId::rawId(), sorted(), and filterCSVwithJSON::target.
void HcalRawGains::sort | ( | ) |
sort values by channelId
Definition at line 74 of file HcalRawGains.cc.
References mItems, mSorted, and jetUpdater_cfi::sort.
|
inline |
check if data are sorted
Definition at line 29 of file HcalRawGains.h.
References mSorted.
Referenced by getValues().
|
private |
Definition at line 41 of file HcalRawGains.h.
Referenced by addItem(), addValues(), getAllChannels(), getValues(), and sort().
|
private |
Definition at line 42 of file HcalRawGains.h.
Referenced by addItem(), addValues(), sort(), and sorted().