#include <CSCStripHitData.h>
Public Member Functions | |
CSCStripHitData () | |
CSCStripHitData (int istrip, int tmax, std::vector< float > phRaw, std::vector< float > ph) | |
bool | operator< (const CSCStripHitData &data) const |
Order by 2nd ph bin. | |
std::vector< float > | ph () const |
std::vector< float > | phRaw () const |
int | strip () const |
int | tmax () const |
Private Attributes | |
int | istrip_ |
std::vector< float > | ph_ |
std::vector< float > | phRaw_ |
int | tmax_ |
Static Private Attributes | |
static const int | nbins_ = 4 |
Hold strip hit data while building strip hit clusters. Only 4 timebins of the SCA adc pulseheights are stored.
tmax() returns the bin with max pulseheight, and we store bins tmax-1 to tmax+2. Therefore the peak bin is the 2nd.
Definition at line 16 of file CSCStripHitData.h.
CSCStripHitData::CSCStripHitData | ( | ) | [inline] |
CSCStripHitData::CSCStripHitData | ( | int | istrip, |
int | tmax, | ||
std::vector< float > | phRaw, | ||
std::vector< float > | ph | ||
) | [inline] |
bool CSCStripHitData::operator< | ( | const CSCStripHitData & | data | ) | const [inline] |
std::vector<float> CSCStripHitData::ph | ( | ) | const [inline] |
std::vector<float> CSCStripHitData::phRaw | ( | ) | const [inline] |
int CSCStripHitData::strip | ( | void | ) | const [inline] |
int CSCStripHitData::tmax | ( | ) | const [inline] |
int CSCStripHitData::istrip_ [private] |
Definition at line 35 of file CSCStripHitData.h.
Referenced by strip().
const int CSCStripHitData::nbins_ = 4 [static, private] |
Definition at line 34 of file CSCStripHitData.h.
std::vector<float> CSCStripHitData::ph_ [private] |
Definition at line 38 of file CSCStripHitData.h.
Referenced by operator<(), and ph().
std::vector<float> CSCStripHitData::phRaw_ [private] |
Definition at line 37 of file CSCStripHitData.h.
Referenced by phRaw().
int CSCStripHitData::tmax_ [private] |
Definition at line 36 of file CSCStripHitData.h.
Referenced by tmax().