#include <CSCStripData.h>
Hold strip data while building strip hits in CSCHitFromStripOnly.
Definition at line 15 of file CSCStripData.h.
◆ CSCStripData() [1/3]
CSCStripData::CSCStripData |
( |
| ) |
|
|
inline |
The default ctor initializes all elements of thePulseHeightMap for which explicit digis do not exist. Use sentinel value for istrip and tmax.
Note that raw pulseheights are int.
Definition at line 23 of file CSCStripData.h.
◆ CSCStripData() [2/3]
CSCStripData::CSCStripData |
( |
float |
phmax, |
|
|
int |
tmax, |
|
|
const std::vector< int > & |
phRaw, |
|
|
const std::vector< float > & |
ph |
|
) |
| |
|
inline |
◆ CSCStripData() [3/3]
CSCStripData::CSCStripData |
( |
float |
phmax, |
|
|
int |
tmax, |
|
|
std::vector< int > && |
phRaw, |
|
|
std::vector< float > && |
ph |
|
) |
| |
|
inline |
◆ operator*=()
void CSCStripData::operator*= |
( |
float |
factor | ) |
|
|
inline |
◆ operator<()
bool CSCStripData::operator< |
( |
const CSCStripData & |
data | ) |
const |
|
inline |
◆ ph()
const std::vector<float>& CSCStripData::ph |
( |
| ) |
const |
|
inline |
pulseheights in the 8 SCA time bins, after pedestal subtraction and (possibly) gain-correction
Definition at line 44 of file CSCStripData.h.
References ph_.
◆ phmax()
float CSCStripData::phmax |
( |
| ) |
const |
|
inline |
◆ phRaw()
const std::vector<int>& CSCStripData::phRaw |
( |
| ) |
const |
|
inline |
pulseheights in the 8 SCA time bins, after pedestal subtraction but without gain-correction
Definition at line 49 of file CSCStripData.h.
References phRaw_.
◆ reset()
void CSCStripData::reset |
( |
void |
| ) |
|
|
inline |
◆ tmax()
int CSCStripData::tmax |
( |
| ) |
const |
|
inline |
the time bin in which the maximum pulseheight occurs (counts from 0)
Definition at line 39 of file CSCStripData.h.
References tmax_.
◆ valid()
bool CSCStripData::valid |
( |
| ) |
const |
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CSCStripData & |
data |
|
) |
| |
|
friend |
for debugging purposes
Definition at line 9 of file CSCStripData.cc.
10 os <<
"CSCStripData " << std::endl
11 <<
"------------ " << std::endl
12 <<
"no. of time bins = " <<
data.ntbins_ << std::endl
13 <<
", phmax = " <<
data.phmax_ <<
", tmax = " <<
data.tmax_ << std::endl
14 <<
"phraw: " << std::endl;
15 std::copy(
data.phRaw_.begin(),
data.phRaw_.end(), std::ostream_iterator<int>(os,
"\n"));
16 os <<
"ph: " << std::endl;
17 std::copy(
data.ph_.begin(),
data.ph_.end(), std::ostream_iterator<float>(os,
"\n"));
◆ ntbins_
constexpr int CSCStripData::ntbins_ = 8 |
|
staticconstexpr |
◆ ph_
std::vector<float> CSCStripData::ph_ |
◆ phmax_
float CSCStripData::phmax_ |
◆ phRaw_
std::vector<int> CSCStripData::phRaw_ |
◆ tmax_