#include <CPPFCluster.h>
Public Member Functions | |
void | addTime (const float time) |
void | addY (const float y) |
int | bx () const |
int | clusterSize () const |
CPPFCluster () | |
CPPFCluster (int fs, int ls, int bx) | |
int | firstStrip () const |
bool | hasTime () const |
bool | hasY () const |
bool | isAdjacent (const CPPFCluster &cl) const |
int | lastStrip () const |
void | merge (const CPPFCluster &cl) |
bool | operator< (const CPPFCluster &cl) const |
bool | operator== (const CPPFCluster &cl) const |
float | time () const |
float | timeRMS () const |
float | y () const |
float | yRMS () const |
~CPPFCluster () | |
Private Attributes | |
int16_t | bunchx |
uint16_t | fstrip |
uint16_t | lstrip |
uint16_t | nTime |
uint16_t | nY |
float | sumTime |
float | sumTime2 |
float | sumY |
float | sumY2 |
Definition at line 4 of file CPPFCluster.h.
CPPFCluster::CPPFCluster | ( | ) |
Definition at line 8 of file CPPFCluster.cc.
CPPFCluster::CPPFCluster | ( | int | fs, |
int | ls, | ||
int | bx | ||
) |
CPPFCluster::~CPPFCluster | ( | ) |
Definition at line 14 of file CPPFCluster.cc.
void CPPFCluster::addTime | ( | const float | time | ) |
void CPPFCluster::addY | ( | const float | y | ) |
int CPPFCluster::bx | ( | ) | const |
Definition at line 19 of file CPPFCluster.cc.
References bunchx.
Referenced by CPPFMaskReClusterizer::doAction(), isAdjacent(), operator<(), and operator==().
int CPPFCluster::clusterSize | ( | ) | const |
Definition at line 18 of file CPPFCluster.cc.
References fstrip, and lstrip.
Referenced by operator==().
int CPPFCluster::firstStrip | ( | ) | const |
Definition at line 16 of file CPPFCluster.cc.
References fstrip.
Referenced by CPPFMaskReClusterizer::doAction(), isAdjacent(), operator<(), and operator==().
bool CPPFCluster::hasTime | ( | ) | const |
Definition at line 21 of file CPPFCluster.cc.
References nTime.
Referenced by time(), and timeRMS().
bool CPPFCluster::hasY | ( | ) | const |
bool CPPFCluster::isAdjacent | ( | const CPPFCluster & | cl | ) | const |
Definition at line 31 of file CPPFCluster.cc.
References bx(), haddnano::cl, and firstStrip().
Referenced by CPPFClusterizer::doAction(), and merge().
int CPPFCluster::lastStrip | ( | ) | const |
Definition at line 17 of file CPPFCluster.cc.
References lstrip.
Referenced by CPPFMaskReClusterizer::doAction().
void CPPFCluster::merge | ( | const CPPFCluster & | cl | ) |
Definition at line 47 of file CPPFCluster.cc.
References haddnano::cl, fstrip, isAdjacent(), nTime, nY, sumTime, sumTime2, sumY, and sumY2.
Referenced by CPPFClusterizer::doAction().
bool CPPFCluster::operator< | ( | const CPPFCluster & | cl | ) | const |
bool CPPFCluster::operator== | ( | const CPPFCluster & | cl | ) | const |
float CPPFCluster::time | ( | ) | const |
float CPPFCluster::timeRMS | ( | ) | const |
Definition at line 23 of file CPPFCluster.cc.
References F(), hasTime(), WZElectronSkims53X_cff::max, nTime, mathSSE::sqrt(), sumTime, and sumTime2.
float CPPFCluster::y | ( | ) | const |
Definition at line 28 of file CPPFCluster.cc.
References hasY(), nY, and sumY.
Referenced by svgfig.Ellipse::__repr__(), addY(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
float CPPFCluster::yRMS | ( | ) | const |
Definition at line 29 of file CPPFCluster.cc.
References F(), hasY(), WZElectronSkims53X_cff::max, nY, mathSSE::sqrt(), sumY, and sumY2.
|
private |
Definition at line 34 of file CPPFCluster.h.
Referenced by bx().
|
private |
Definition at line 32 of file CPPFCluster.h.
Referenced by clusterSize(), firstStrip(), and merge().
|
private |
Definition at line 33 of file CPPFCluster.h.
Referenced by clusterSize(), and lastStrip().
|
private |
|
private |
|
private |
|
private |
Definition at line 36 of file CPPFCluster.h.
|
private |
|
private |
Definition at line 39 of file CPPFCluster.h.