#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 19 of file HPDNoiseData.h.
|
inline |
Definition at line 21 of file HPDNoiseData.h.
|
virtual |
Definition at line 10 of file HPDNoiseData.cc.
void HPDNoiseData::addChannel | ( | HcalDetId | fId, |
const float * | fCharges | ||
) |
add another noise channel to the event
Definition at line 12 of file HPDNoiseData.cc.
References mData.
|
inlinestatic |
branch name
Definition at line 37 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 16 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 22 of file HPDNoiseData.cc.
Referenced by getAllDetIds(), HPDNoiseLibraryReader::getBiasedNoisyHcalDetIds(), HPDNoiseLibraryReader::getNoisyHcalDetIds(), and operator<<().
|
inline |
number of noise channels in the event
Definition at line 25 of file HPDNoiseData.h.
References mData.
Referenced by HPDNoiseLibraryReader::getBiasedNoisyHcalDetIds(), HPDNoiseLibraryReader::getNoisyHcalDetIds(), and operator<<().
|
private |
Definition at line 39 of file HPDNoiseData.h.
Referenced by addChannel(), clear(), getAllDetIds(), getDataFrame(), and size().