CMS 3D CMS Logo

CSCStripHit Class Reference

Yields the position in terms of 1/2 strip # of a 1-D reconstructed strip hit in one layer of an Endcap Muon CSC. More...

#include <RecoLocalMuon/CSCRecHitD/src/CSCStripHit.h>

List of all members.

Public Types

typedef std::vector< intChannelContainer
typedef std::vector< float > StripHitADCContainer

Public Member Functions

CSCStripHitclone () 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 StripHitADCContainers_adc () const
 the ADC counts for each of the strip within cluster
const StripHitADCContainers_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 ChannelContainerstrips () 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


Detailed Description

Yields the position in terms of 1/2 strip # of a 1-D reconstructed strip hit in one layer of an Endcap Muon CSC.

Author:
Dominique Fortin - UCR

Definition at line 20 of file CSCStripHit.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.

CSCStripHit::~CSCStripHit (  ) 

Definition at line 36 of file CSCStripHit.cc.

00036 {}


Member Function Documentation

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; }


Member Data Documentation

bool CSCStripHit::isDeadStripAround [private]

Definition at line 81 of file CSCStripHit.h.

int CSCStripHit::theClosestMaximum [private]

Definition at line 80 of file CSCStripHit.h.

Referenced by closestMaximum().

int CSCStripHit::theConsecutiveStrips [private]

Definition at line 79 of file CSCStripHit.h.

Referenced by numberOfConsecutiveStrips().

CSCDetId CSCStripHit::theDetId [private]

Definition at line 69 of file CSCStripHit.h.

Referenced by cscDetId().

StripHitADCContainer CSCStripHit::theStripHitADCs [private]

Definition at line 77 of file CSCStripHit.h.

Referenced by s_adc().

float CSCStripHit::theStripHitPosition [private]

Definition at line 74 of file CSCStripHit.h.

Referenced by sHitPos().

StripHitADCContainer CSCStripHit::theStripHitRawADCs [private]

Definition at line 78 of file CSCStripHit.h.

Referenced by s_adcRaw().

int CSCStripHit::theStripHitTmax [private]

Definition at line 75 of file CSCStripHit.h.

Referenced by tmax().

ChannelContainer CSCStripHit::theStrips [private]

Definition at line 76 of file CSCStripHit.h.

Referenced by strips().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:29 2009 for CMSSW by  doxygen 1.5.4