#include <HPDNoiseData.h>
Public Member Functions | |
void | addChannel (HcalDetId fId, const float *fCharges) |
add another noise channel to the event More... | |
void | clear () |
reset event to empty state More... | |
std::vector< HcalDetId > | getAllDetIds () const |
all channels contributing to the event More... | |
const HPDNoiseDataFrame & | getDataFrame (size_t i) const |
retrive frame for the given index More... | |
HPDNoiseData () | |
unsigned | size () const |
number of noise channels in the event More... | |
virtual | ~HPDNoiseData () |
Static Public Member Functions | |
static const char * | branchName () |
branch name More... | |
static const char * | className () |
class name More... | |
Private Attributes | |
std::vector< HPDNoiseDataFrame > | mData |
Definition at line 18 of file HPDNoiseData.h.
|
inline |
Definition at line 20 of file HPDNoiseData.h.
|
virtual |
Definition at line 9 of file HPDNoiseData.cc.
void HPDNoiseData::addChannel | ( | HcalDetId | fId, |
const float * | fCharges | ||
) |
add another noise channel to the event
Definition at line 11 of file HPDNoiseData.cc.
References mData.
|
inlinestatic |
branch name
Definition at line 36 of file HPDNoiseData.h.
Referenced by HPDNoiseMaker::addHpd(), HPDNoiseReader::grabEntry(), and HPDNoiseMaker::newHpdEvent().
|
inlinestatic |
|
inline |
std::vector< HcalDetId > HPDNoiseData::getAllDetIds | ( | ) | const |
all channels contributing to the event
Definition at line 15 of file HPDNoiseData.cc.
References getDataFrame(), i, mData, and query::result.
const HPDNoiseDataFrame & HPDNoiseData::getDataFrame | ( | size_t | i | ) | const |
retrive frame for the given index
Definition at line 21 of file HPDNoiseData.cc.
Referenced by getAllDetIds(), HPDNoiseLibraryReader::getBiasedNoisyHcalDetIds(), HPDNoiseLibraryReader::getNoisyHcalDetIds(), and operator<<().
|
inline |
number of noise channels in the event
Definition at line 24 of file HPDNoiseData.h.
References mData.
Referenced by HPDNoiseLibraryReader::getBiasedNoisyHcalDetIds(), HPDNoiseLibraryReader::getNoisyHcalDetIds(), and operator<<().
|
private |
Definition at line 38 of file HPDNoiseData.h.
Referenced by addChannel(), clear(), getAllDetIds(), getDataFrame(), and size().