1 #ifndef CSCRecHitD_CSCStripData_h 2 #define CSCRecHitD_CSCStripData_h 43 const std::vector<float>&
ph()
const {
return ph_;}
56 [&factor](
auto c){
return c*factor;});
71 std::vector<float>
ph_;
int tmax() const
the time bin in which the maximum pulseheight occurs (counts from 0)
const std::vector< int > & phRaw() const
std::vector< int > phRaw_
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)
friend std::ostream & operator<<(std::ostream &, const CSCStripData &)
for debugging purposes
static constexpr int ntbins_
float phmax() const
maximum pulseheight in one SCA time bin
void operator*=(float factor)
bool operator<(const CSCStripData &data) const
char data[epos_bytes_allocation]
const std::vector< float > & ph() const