#include <RPCCluster.h>
Public Member Functions | |
void | addTime (const float time) |
void | addY (const float y) |
int | bx () const |
int | clusterSize () const |
int | firstStrip () const |
bool | hasTime () const |
bool | hasY () const |
bool | isAdjacent (const RPCCluster &cl) const |
int | lastStrip () const |
void | merge (const RPCCluster &cl) |
bool | operator< (const RPCCluster &cl) const |
bool | operator== (const RPCCluster &cl) const |
RPCCluster () | |
RPCCluster (int fs, int ls, int bx) | |
float | time () const |
float | timeRMS () const |
float | y () const |
float | yRMS () const |
~RPCCluster () | |
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 RPCCluster.h.
RPCCluster::RPCCluster | ( | ) |
Definition at line 8 of file RPCCluster.cc.
RPCCluster::RPCCluster | ( | int | fs, |
int | ls, | ||
int | bx | ||
) |
Definition at line 14 of file RPCCluster.cc.
RPCCluster::~RPCCluster | ( | ) |
Definition at line 20 of file RPCCluster.cc.
void RPCCluster::addTime | ( | const float | time | ) |
void RPCCluster::addY | ( | const float | y | ) |
int RPCCluster::bx | ( | ) | const |
Definition at line 25 of file RPCCluster.cc.
References bunchx.
Referenced by RPCMaskReClusterizer::doAction(), isAdjacent(), operator<(), and operator==().
int RPCCluster::clusterSize | ( | ) | const |
Definition at line 24 of file RPCCluster.cc.
References fstrip, and lstrip.
Referenced by operator==().
int RPCCluster::firstStrip | ( | ) | const |
Definition at line 22 of file RPCCluster.cc.
References fstrip.
Referenced by RPCRecHitStandardAlgo::compute(), RPCMaskReClusterizer::doAction(), isAdjacent(), merge(), operator<(), and operator==().
bool RPCCluster::hasTime | ( | ) | const |
Definition at line 27 of file RPCCluster.cc.
References nTime.
Referenced by RPCRecHitStandardAlgo::compute(), time(), and timeRMS().
bool RPCCluster::hasY | ( | ) | const |
Definition at line 31 of file RPCCluster.cc.
References nY.
Referenced by RPCRecHitStandardAlgo::compute(), y(), and yRMS().
bool RPCCluster::isAdjacent | ( | const RPCCluster & | cl | ) | const |
Definition at line 35 of file RPCCluster.cc.
References bx(), and firstStrip().
Referenced by RPCClusterizer::doAction(), and merge().
int RPCCluster::lastStrip | ( | ) | const |
Definition at line 23 of file RPCCluster.cc.
References lstrip.
Referenced by RPCRecHitStandardAlgo::compute(), and RPCMaskReClusterizer::doAction().
void RPCCluster::merge | ( | const RPCCluster & | cl | ) |
Definition at line 55 of file RPCCluster.cc.
References firstStrip(), fstrip, isAdjacent(), nTime, nY, sumTime, sumTime2, sumY, and sumY2.
Referenced by RPCClusterizer::doAction().
bool RPCCluster::operator< | ( | const RPCCluster & | cl | ) | const |
bool RPCCluster::operator== | ( | const RPCCluster & | cl | ) | const |
float RPCCluster::time | ( | ) | const |
Definition at line 28 of file RPCCluster.cc.
References hasTime(), nTime, and sumTime.
Referenced by addTime(), and RPCRecHitStandardAlgo::compute().
float RPCCluster::timeRMS | ( | ) | const |
Definition at line 29 of file RPCCluster.cc.
References F(), hasTime(), hpstanc_transforms::max, nTime, mathSSE::sqrt(), sumTime, and sumTime2.
Referenced by RPCRecHitStandardAlgo::compute().
float RPCCluster::y | ( | ) | const |
Definition at line 32 of file RPCCluster.cc.
References hasY(), nY, and sumY.
Referenced by svgfig.Ellipse::__repr__(), addY(), Vispa.Gui.WidgetContainer.WidgetContainer::autosize(), Vispa.Gui.VispaWidget.VispaWidget::boundingRect(), RPCRecHitStandardAlgo::compute(), geometryXMLparser.Alignable::pos(), Vispa.Gui.ConnectableWidget.ConnectableWidget::positionizeMenuWidget(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
float RPCCluster::yRMS | ( | ) | const |
Definition at line 33 of file RPCCluster.cc.
References F(), hasY(), hpstanc_transforms::max, nY, mathSSE::sqrt(), sumY, and sumY2.
|
private |
Definition at line 34 of file RPCCluster.h.
Referenced by bx().
|
private |
Definition at line 32 of file RPCCluster.h.
Referenced by clusterSize(), firstStrip(), and merge().
|
private |
Definition at line 33 of file RPCCluster.h.
Referenced by clusterSize(), and lastStrip().
|
private |
|
private |
|
private |
|
private |
Definition at line 36 of file RPCCluster.h.
|
private |
|
private |
Definition at line 39 of file RPCCluster.h.