#include <HPDNoiseData.h>
Public Member Functions | |
void | addChannel (HcalDetId fId, const float *fCharges) |
add another noise channel to the event | |
void | clear () |
reset event to empty state | |
std::vector< HcalDetId > | getAllDetIds () const |
all channels contributing to the event | |
const HPDNoiseDataFrame & | getDataFrame (size_t i) const |
retrive frame for the given index | |
HPDNoiseData () | |
unsigned | size () const |
number of noise channels in the event | |
virtual | ~HPDNoiseData () |
Static Public Member Functions | |
static const char * | branchName () |
branch name | |
static const char * | className () |
class name | |
Private Attributes | |
std::vector< HPDNoiseDataFrame > | mData |
Definition at line 19 of file HPDNoiseData.h.
HPDNoiseData::HPDNoiseData | ( | ) | [inline] |
Definition at line 21 of file HPDNoiseData.h.
{}
HPDNoiseData::~HPDNoiseData | ( | ) | [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.
{ mData.push_back (HPDNoiseDataFrame (fId, fCharges)); }
static const char* HPDNoiseData::branchName | ( | ) | [inline, static] |
branch name
Definition at line 37 of file HPDNoiseData.h.
Referenced by HPDNoiseMaker::addHpd(), HPDNoiseReader::grabEntry(), and HPDNoiseMaker::newHpdEvent().
{return "data";}
static const char* HPDNoiseData::className | ( | ) | [inline, static] |
class name
Definition at line 35 of file HPDNoiseData.h.
Referenced by HPDNoiseMaker::addHpd().
{return "HPDNoiseData";}
void HPDNoiseData::clear | ( | void | ) | [inline] |
reset event to empty state
Definition at line 33 of file HPDNoiseData.h.
References mData.
{mData.clear ();}
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<<().
unsigned HPDNoiseData::size | ( | void | ) | const [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<<().
{return mData.size();}
std::vector<HPDNoiseDataFrame> HPDNoiseData::mData [private] |
Definition at line 39 of file HPDNoiseData.h.
Referenced by addChannel(), clear(), getAllDetIds(), getDataFrame(), and size().