#include <CastorShowerLibraryInfo.h>
Public Member Functions | |
void | Clear () |
double | getBin (int i) |
std::vector< double > & | getBin () |
unsigned int | getNBins () |
unsigned int | getNEvtPerBin () |
unsigned int | getNEvts () |
void | setBin (const std::vector< double > &b) |
void | setBin (double val) |
void | setNBins (unsigned int n) |
void | setNEvtPerBin (unsigned int n) |
void | setNEvts (unsigned int n) |
SLBin () | |
~SLBin () | |
Private Member Functions | |
ClassDef (SLBin, 1) | |
Private Attributes | |
std::vector< double > | Bins |
unsigned int | NBins |
unsigned int | NEvtPerBin |
unsigned int | NEvts |
Definition at line 12 of file CastorShowerLibraryInfo.h.
SLBin::SLBin | ( | ) | [inline] |
Definition at line 14 of file CastorShowerLibraryInfo.h.
{};
SLBin::~SLBin | ( | ) | [inline] |
Definition at line 15 of file CastorShowerLibraryInfo.h.
{};
SLBin::ClassDef | ( | SLBin | , |
1 | |||
) | [private] |
void SLBin::Clear | ( | ) | [inline] |
Definition at line 17 of file CastorShowerLibraryInfo.h.
References Bins, NBins, NEvtPerBin, and NEvts.
Referenced by CastorShowerLibraryInfo::Clear().
{NEvts=NBins=NEvtPerBin=0;Bins.clear();};
double SLBin::getBin | ( | int | i | ) | [inline] |
Definition at line 27 of file CastorShowerLibraryInfo.h.
References Bins.
Referenced by CastorShowerLibrary::loadEventInfo().
std::vector<double>& SLBin::getBin | ( | void | ) | [inline] |
Definition at line 28 of file CastorShowerLibraryInfo.h.
{ return Bins;};
unsigned int SLBin::getNBins | ( | ) | [inline] |
Definition at line 25 of file CastorShowerLibraryInfo.h.
References NBins.
Referenced by CastorShowerLibrary::loadEventInfo().
{ return NBins;};
unsigned int SLBin::getNEvtPerBin | ( | ) | [inline] |
Definition at line 26 of file CastorShowerLibraryInfo.h.
References NEvtPerBin.
Referenced by CastorShowerLibrary::loadEventInfo().
{ return NEvtPerBin;};
unsigned int SLBin::getNEvts | ( | ) | [inline] |
Definition at line 24 of file CastorShowerLibraryInfo.h.
References NEvts.
Referenced by CastorShowerLibrary::loadEventInfo().
{ return NEvts;};
void SLBin::setBin | ( | double | val | ) | [inline] |
Definition at line 21 of file CastorShowerLibraryInfo.h.
References Bins.
Referenced by CastorShowerLibraryMaker::InitSLHolder(), and CastorShowerLibraryMaker::update().
{Bins.push_back(val);};
void SLBin::setBin | ( | const std::vector< double > & | b | ) | [inline] |
void SLBin::setNBins | ( | unsigned int | n | ) | [inline] |
Definition at line 19 of file CastorShowerLibraryInfo.h.
Referenced by CastorShowerLibraryMaker::InitSLHolder(), and CastorShowerLibraryMaker::update().
void SLBin::setNEvtPerBin | ( | unsigned int | n | ) | [inline] |
Definition at line 20 of file CastorShowerLibraryInfo.h.
References n, and NEvtPerBin.
Referenced by CastorShowerLibraryMaker::InitSLHolder(), and CastorShowerLibraryMaker::update().
{NEvtPerBin=n;};
void SLBin::setNEvts | ( | unsigned int | n | ) | [inline] |
Definition at line 18 of file CastorShowerLibraryInfo.h.
Referenced by CastorShowerLibraryMaker::InitSLHolder(), and CastorShowerLibraryMaker::update().
std::vector<double> SLBin::Bins [private] |
Definition at line 33 of file CastorShowerLibraryInfo.h.
unsigned int SLBin::NBins [private] |
Definition at line 31 of file CastorShowerLibraryInfo.h.
Referenced by Clear(), getNBins(), and setNBins().
unsigned int SLBin::NEvtPerBin [private] |
Definition at line 32 of file CastorShowerLibraryInfo.h.
Referenced by Clear(), getNEvtPerBin(), and setNEvtPerBin().
unsigned int SLBin::NEvts [private] |
Definition at line 28 of file CastorShowerLibraryInfo.h.
Referenced by Clear(), getNEvts(), and setNEvts().