CMS 3D CMS Logo

CSCWireHit Class Reference

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

List of all members.

Public Types

typedef std::vector< intChannelContainer

Public Member Functions

CSCWireHitclone () const
 CSCWireHit base class interface.
CSCDetId cscDetId () const
 Position of the wire hit in CSC.
 CSCWireHit (const CSCDetId &id, const float &wHitPos, ChannelContainer &wgroups, const int &tmax, const bool &isNearDeadWG)
 CSCWireHit ()
bool isNearDeadWG () const
 is a neighbouring WG a dead WG?
int tmax () const
 The timing for the wire hit.
ChannelContainer wgroups () const
 The wire groups used for forming the cluster.
float wHitPos () const
 The wire hit position expressed in terms of wire #.
 ~CSCWireHit ()

Private Attributes

bool isDeadWGAround
CSCDetId theDetId
ChannelContainer theWgroups
float theWireHitPosition
int theWireHitTmax


Detailed Description

Definition at line 20 of file CSCWireHit.h.


Member Typedef Documentation

typedef std::vector<int> CSCWireHit::ChannelContainer

Definition at line 25 of file CSCWireHit.h.


Constructor & Destructor Documentation

CSCWireHit::CSCWireHit (  ) 

Definition at line 4 of file CSCWireHit.cc.

Referenced by clone().

00004                        :
00005   theDetId(),
00006   theWireHitPosition(),
00007   theWgroups(),
00008   theWireHitTmax(),
00009   isDeadWGAround()
00010 {}

CSCWireHit::CSCWireHit ( const CSCDetId id,
const float &  wHitPos,
ChannelContainer wgroups,
const int tmax,
const bool isNearDeadWG 
)

Definition at line 12 of file CSCWireHit.cc.

00016                                                    :
00017   theDetId( id ), 
00018   theWireHitPosition( wHitPos ),
00019   theWgroups( wgroups ),
00020   theWireHitTmax ( tmax ),
00021   isDeadWGAround( isNearDeadWG )
00022 {}

CSCWireHit::~CSCWireHit (  ) 

Definition at line 24 of file CSCWireHit.cc.

00024 {}


Member Function Documentation

CSCWireHit* CSCWireHit::clone ( void   )  const [inline]

CSCWireHit base class interface.

Definition at line 34 of file CSCWireHit.h.

References CSCWireHit().

00034 { return new CSCWireHit( *this ); }

CSCDetId CSCWireHit::cscDetId (  )  const [inline]

Position of the wire hit in CSC.

Definition at line 37 of file CSCWireHit.h.

References theDetId.

00037 { return theDetId; }

bool CSCWireHit::isNearDeadWG (  )  const [inline]

is a neighbouring WG a dead WG?

Definition at line 49 of file CSCWireHit.h.

Referenced by CSCMake2DRecHit::hitFromStripAndWire().

00049 {return isDeadWGAround; };

int CSCWireHit::tmax (  )  const [inline]

The timing for the wire hit.

Definition at line 46 of file CSCWireHit.h.

References theWireHitTmax.

00046 { return theWireHitTmax; }

ChannelContainer CSCWireHit::wgroups (  )  const [inline]

The wire groups used for forming the cluster.

Definition at line 43 of file CSCWireHit.h.

References theWgroups.

Referenced by CSCMake2DRecHit::hitFromStripAndWire().

00043 { return theWgroups; }

float CSCWireHit::wHitPos (  )  const [inline]

The wire hit position expressed in terms of wire #.

Definition at line 40 of file CSCWireHit.h.

References theWireHitPosition.

00040 { return theWireHitPosition; }


Member Data Documentation

bool CSCWireHit::isDeadWGAround [private]

Definition at line 56 of file CSCWireHit.h.

CSCDetId CSCWireHit::theDetId [private]

Definition at line 49 of file CSCWireHit.h.

Referenced by cscDetId().

ChannelContainer CSCWireHit::theWgroups [private]

Definition at line 54 of file CSCWireHit.h.

Referenced by wgroups().

float CSCWireHit::theWireHitPosition [private]

Definition at line 53 of file CSCWireHit.h.

Referenced by wHitPos().

int CSCWireHit::theWireHitTmax [private]

Definition at line 55 of file CSCWireHit.h.

Referenced by tmax().


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