CMS 3D CMS Logo

Public Member Functions | Private Attributes | Static Private Attributes

CSCStripHitData Class Reference

#include <CSCStripHitData.h>

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

CSCStripHitData::CSCStripHitData ( ) [inline]

Definition at line 20 of file CSCStripHitData.h.

: istrip_(-1), tmax_(-1), phRaw_(nbins_), ph_(nbins_){};
CSCStripHitData::CSCStripHitData ( int  istrip,
int  tmax,
std::vector< float >  phRaw,
std::vector< float >  ph 
) [inline]

Definition at line 22 of file CSCStripHitData.h.

                                                                                        :
           istrip_(istrip), tmax_(tmax), phRaw_(phRaw),  ph_(ph){};

Member Function Documentation

bool CSCStripHitData::operator< ( const CSCStripHitData data) const [inline]

Order by 2nd ph bin.

Definition at line 31 of file CSCStripHitData.h.

References ph_.

{ return ph_[1] < data.ph_[1]; }
std::vector<float> CSCStripHitData::ph ( ) const [inline]

Definition at line 27 of file CSCStripHitData.h.

References ph_.

{ return ph_;}
std::vector<float> CSCStripHitData::phRaw ( ) const [inline]

Definition at line 28 of file CSCStripHitData.h.

References phRaw_.

{ return phRaw_;}
int CSCStripHitData::strip ( void  ) const [inline]

Definition at line 25 of file CSCStripHitData.h.

References istrip_.

{return istrip_;}
int CSCStripHitData::tmax ( ) const [inline]

Definition at line 26 of file CSCStripHitData.h.

References tmax_.

{return  tmax_;}

Member Data Documentation

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().