#include <RecoLocalMuon/CSCRecHitD/src/CSCStripHit.h>
Public Types | |
typedef std::vector< int > | ChannelContainer |
typedef std::vector< float > | StripHitADCContainer |
Public Member Functions | |
CSCStripHit * | clone () const |
CSCStripHit base class interface. | |
int | closestMaximum () const |
Number of strips to the closest other maximum. | |
CSCDetId | cscDetId () const |
Strip Hit posion in terms of DetId. | |
CSCStripHit (const CSCDetId &id, const float &sHitPos, const int &tmax, const ChannelContainer &strips, const StripHitADCContainer &s_adc, const StripHitADCContainer &s_adcRaw, const int &numberOfConsecutiveStrips, const int &closestMaximum, const bool &isNearDeadStrip) | |
CSCStripHit () | |
bool | isNearDeadStrip () const |
is a neighbouring string a dead strip? | |
int | numberOfConsecutiveStrips () const |
Number of consecutive strips with charge. | |
const StripHitADCContainer & | s_adc () const |
the ADC counts for each of the strip within cluster | |
const StripHitADCContainer & | s_adcRaw () const |
the raw ADC counts for each of the strip within cluster | |
float | sHitPos () const |
Strip hit position expressed in terms of 1/2 strip #. | |
const ChannelContainer & | strips () const |
The strips used in cluster to produce strip hit. | |
int | tmax () const |
Strip hit maximum time bin. | |
~CSCStripHit () | |
Private Attributes | |
bool | isDeadStripAround |
int | theClosestMaximum |
int | theConsecutiveStrips |
CSCDetId | theDetId |
StripHitADCContainer | theStripHitADCs |
float | theStripHitPosition |
StripHitADCContainer | theStripHitRawADCs |
int | theStripHitTmax |
ChannelContainer | theStrips |
Definition at line 20 of file CSCStripHit.h.
typedef std::vector<int> CSCStripHit::ChannelContainer |
Definition at line 26 of file CSCStripHit.h.
typedef std::vector<float> CSCStripHit::StripHitADCContainer |
Definition at line 25 of file CSCStripHit.h.
CSCStripHit::CSCStripHit | ( | ) |
Definition at line 4 of file CSCStripHit.cc.
Referenced by clone().
00004 : 00005 theDetId(), 00006 theStripHitPosition(), 00007 theStripHitTmax(), 00008 theStrips(), 00009 theStripHitADCs(), 00010 theStripHitRawADCs(), 00011 theConsecutiveStrips(), 00012 theClosestMaximum(), 00013 isDeadStripAround() 00014 {}
CSCStripHit::CSCStripHit | ( | const CSCDetId & | id, | |
const float & | sHitPos, | |||
const int & | tmax, | |||
const ChannelContainer & | strips, | |||
const StripHitADCContainer & | s_adc, | |||
const StripHitADCContainer & | s_adcRaw, | |||
const int & | numberOfConsecutiveStrips, | |||
const int & | closestMaximum, | |||
const bool & | isNearDeadStrip | |||
) |
Definition at line 16 of file CSCStripHit.cc.
00024 : 00025 theDetId( id ), 00026 theStripHitPosition( sHitPos ), 00027 theStripHitTmax( tmax ), 00028 theStrips( strips ), 00029 theStripHitADCs( s_adc ), 00030 theStripHitRawADCs( s_adcRaw ), 00031 theConsecutiveStrips(numberOfConsecutiveStrips), 00032 theClosestMaximum(closestMaximum), 00033 isDeadStripAround(isNearDeadStrip) 00034 {}
CSCStripHit::~CSCStripHit | ( | ) |
CSCStripHit* CSCStripHit::clone | ( | void | ) | const [inline] |
CSCStripHit base class interface.
Definition at line 42 of file CSCStripHit.h.
References CSCStripHit().
00042 { return new CSCStripHit( *this ); }
int CSCStripHit::closestMaximum | ( | ) | const [inline] |
Number of strips to the closest other maximum.
Definition at line 66 of file CSCStripHit.h.
References theClosestMaximum.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip().
00066 { return theClosestMaximum; }
CSCDetId CSCStripHit::cscDetId | ( | ) | const [inline] |
Strip Hit posion in terms of DetId.
Definition at line 45 of file CSCStripHit.h.
References theDetId.
00045 { return theDetId; }
bool CSCStripHit::isNearDeadStrip | ( | ) | const [inline] |
is a neighbouring string a dead strip?
Definition at line 69 of file CSCStripHit.h.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip().
00069 {return isDeadStripAround; };
int CSCStripHit::numberOfConsecutiveStrips | ( | ) | const [inline] |
Number of consecutive strips with charge.
Definition at line 63 of file CSCStripHit.h.
References theConsecutiveStrips.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip().
00063 { return theConsecutiveStrips; }
const StripHitADCContainer& CSCStripHit::s_adc | ( | ) | const [inline] |
the ADC counts for each of the strip within cluster
Definition at line 57 of file CSCStripHit.h.
References theStripHitADCs.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip(), and CSCMake2DRecHit::hitFromStripAndWire().
00057 { return theStripHitADCs; }
const StripHitADCContainer& CSCStripHit::s_adcRaw | ( | ) | const [inline] |
the raw ADC counts for each of the strip within cluster
Definition at line 60 of file CSCStripHit.h.
References theStripHitRawADCs.
Referenced by CSCMake2DRecHit::hitFromStripAndWire().
00060 { return theStripHitRawADCs; }
float CSCStripHit::sHitPos | ( | ) | const [inline] |
Strip hit position expressed in terms of 1/2 strip #.
Definition at line 48 of file CSCStripHit.h.
References theStripHitPosition.
00048 { return theStripHitPosition; }
const ChannelContainer& CSCStripHit::strips | ( | ) | const [inline] |
The strips used in cluster to produce strip hit.
Definition at line 54 of file CSCStripHit.h.
References theStrips.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip(), and CSCMake2DRecHit::hitFromStripAndWire().
00054 { return theStrips; }
int CSCStripHit::tmax | ( | ) | const [inline] |
Strip hit maximum time bin.
Definition at line 51 of file CSCStripHit.h.
References theStripHitTmax.
Referenced by CSCXonStrip_MatchGatti::findXOnStrip(), and CSCMake2DRecHit::hitFromStripAndWire().
00051 { return theStripHitTmax; }
bool CSCStripHit::isDeadStripAround [private] |
Definition at line 81 of file CSCStripHit.h.
int CSCStripHit::theClosestMaximum [private] |
int CSCStripHit::theConsecutiveStrips [private] |
CSCDetId CSCStripHit::theDetId [private] |
float CSCStripHit::theStripHitPosition [private] |
int CSCStripHit::theStripHitTmax [private] |
ChannelContainer CSCStripHit::theStrips [private] |