#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 | ( | ) |
RPCCluster::RPCCluster | ( | int | fs, |
int | ls, | ||
int | bx | ||
) |
RPCCluster::~RPCCluster | ( | ) |
Definition at line 14 of file RPCCluster.cc.
void RPCCluster::addTime | ( | const float | time | ) |
void RPCCluster::addY | ( | const float | y | ) |
int RPCCluster::bx | ( | ) | const |
Definition at line 19 of file RPCCluster.cc.
References bunchx.
Referenced by RPCMaskReClusterizer::doAction(), isAdjacent(), operator<(), and operator==().
int RPCCluster::clusterSize | ( | ) | const |
Definition at line 18 of file RPCCluster.cc.
References fstrip, and lstrip.
Referenced by operator==().
int RPCCluster::firstStrip | ( | ) | const |
Definition at line 16 of file RPCCluster.cc.
References fstrip.
Referenced by RPCRecHitStandardAlgo::compute(), RPCMaskReClusterizer::doAction(), isAdjacent(), operator<(), and operator==().
bool RPCCluster::hasTime | ( | ) | const |
Definition at line 21 of file RPCCluster.cc.
References nTime.
Referenced by RPCRecHitStandardAlgo::compute(), time(), and timeRMS().
bool RPCCluster::hasY | ( | ) | const |
Definition at line 27 of file RPCCluster.cc.
References nY.
Referenced by RPCRecHitStandardAlgo::compute(), y(), and yRMS().
bool RPCCluster::isAdjacent | ( | const RPCCluster & | cl | ) | const |
Definition at line 31 of file RPCCluster.cc.
References bx(), GetRecoTauVFromDQM_MC_cff::cl, and firstStrip().
Referenced by RPCClusterizer::doAction(), and merge().
int RPCCluster::lastStrip | ( | ) | const |
Definition at line 17 of file RPCCluster.cc.
References lstrip.
Referenced by RPCRecHitStandardAlgo::compute(), and RPCMaskReClusterizer::doAction().
void RPCCluster::merge | ( | const RPCCluster & | cl | ) |
Definition at line 47 of file RPCCluster.cc.
References GetRecoTauVFromDQM_MC_cff::cl, fstrip, isAdjacent(), nTime, nY, sumTime, sumTime2, sumY, and sumY2.
Referenced by RPCClusterizer::doAction().
bool RPCCluster::operator< | ( | const RPCCluster & | cl | ) | const |
Definition at line 62 of file RPCCluster.cc.
References bx(), GetRecoTauVFromDQM_MC_cff::cl, and firstStrip().
bool RPCCluster::operator== | ( | const RPCCluster & | cl | ) | const |
float RPCCluster::time | ( | ) | const |
Definition at line 22 of file RPCCluster.cc.
References hasTime(), nTime, and sumTime.
Referenced by addTime(), and RPCRecHitStandardAlgo::compute().
float RPCCluster::timeRMS | ( | ) | const |
Definition at line 23 of file RPCCluster.cc.
References F(), hasTime(), SiStripPI::max, nTime, mathSSE::sqrt(), sumTime, and sumTime2.
Referenced by RPCRecHitStandardAlgo::compute().
float RPCCluster::y | ( | ) | const |
Definition at line 28 of file RPCCluster.cc.
References hasY(), nY, and sumY.
Referenced by svgfig.Ellipse::__repr__(), addY(), RPCRecHitStandardAlgo::compute(), geometryXMLparser.Alignable::pos(), ntupleDataFormat._HitObject::r(), and ntupleDataFormat._HitObject::r3D().
float RPCCluster::yRMS | ( | ) | const |
|
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.