#include <CSCStripData.h>
Public Member Functions | |
CSCStripData () | |
CSCStripData (float phmax, int tmax, const std::vector< int > &phRaw, const std::vector< float > &ph) | |
CSCStripData (float phmax, int tmax, std::vector< int > &&phRaw, std::vector< float > &&ph) | |
void | operator*= (float factor) |
bool | operator< (const CSCStripData &data) const |
const std::vector< float > & | ph () const |
float | phmax () const |
maximum pulseheight in one SCA time bin More... | |
const std::vector< int > & | phRaw () const |
void | reset () |
int | tmax () const |
the time bin in which the maximum pulseheight occurs (counts from 0) More... | |
bool | valid () const |
Public Attributes | |
std::vector< float > | ph_ |
float | phmax_ |
std::vector< int > | phRaw_ |
int | tmax_ |
Static Public Attributes | |
static constexpr int | ntbins_ = 8 |
Friends | |
std::ostream & | operator<< (std::ostream &, const CSCStripData &) |
for debugging purposes More... | |
Hold strip data while building strip hits in CSCHitFromStripOnly.
Definition at line 15 of file CSCStripData.h.
|
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.
|
inline |
Definition at line 24 of file CSCStripData.h.
|
inline |
Definition at line 27 of file CSCStripData.h.
|
inline |
scale pulseheights by argument, but leave raw pulseheights unchanged.
Definition at line 54 of file CSCStripData.h.
References HltBtagPostValidation_cff::c, DQMScaleToClient_cfi::factor, ph_, phmax_, and HcalDetIdTransform::transform().
|
inline |
|
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_.
|
inline |
maximum pulseheight in one SCA time bin
Definition at line 37 of file CSCStripData.h.
References phmax_.
|
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_.
|
inline |
Definition at line 30 of file CSCStripData.h.
|
inline |
the time bin in which the maximum pulseheight occurs (counts from 0)
Definition at line 39 of file CSCStripData.h.
References tmax_.
|
inline |
|
friend |
|
static |
Definition at line 67 of file CSCStripData.h.
Referenced by operator<<().
std::vector<float> CSCStripData::ph_ |
Definition at line 71 of file CSCStripData.h.
Referenced by operator*=(), operator<<(), and ph().
float CSCStripData::phmax_ |
Definition at line 68 of file CSCStripData.h.
Referenced by operator*=(), operator<(), operator<<(), phmax(), and reset().
std::vector<int> CSCStripData::phRaw_ |
Definition at line 70 of file CSCStripData.h.
Referenced by operator<<(), and phRaw().
int CSCStripData::tmax_ |
Definition at line 69 of file CSCStripData.h.
Referenced by operator<<(), reset(), tmax(), and valid().