Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KalFitSuper_Mdc Class Reference

#include <KalFitSuper_Mdc.h>

List of all members.

Public Member Functions

void appendHit (KalFitWire *)
 append a wireHit to the list of hits of the superlayer
void appendHit (KalFitWire *)
 append a wireHit to the list of hits of the superlayer
void clear (void)
 clear object
void clear (void)
 clear object
 KalFitSuper_Mdc (const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID)
 Constructors and destructor.
 KalFitSuper_Mdc (const int firstWireID, const int NWire, const int firstLayerID, const int NLayer, const int superLayerID)
 Constructors and destructor.
const int layerMaxId (void) const
 returns layer max ID
const int layerMaxId (void) const
 returns layer max ID
const int localMaxId (void) const
 returns local max ID
const int localMaxId (void) const
 returns local max ID
const int nLayer (void) const
 returns number of layers
const int nLayer (void) const
 returns number of layers
const int nWire (void) const
 returns number of wires
const int nWire (void) const
 returns number of wires
const int superLayerId (void) const
 returns super-layer ID
const int superLayerId (void) const
 returns super-layer ID
 ~KalFitSuper_Mdc ()
 ~KalFitSuper_Mdc ()

Private Attributes

const int _firstLayerId
const int _firstWireId
const int _Nlayer
const int _Nwire
KalFitList< KalFitWire * > & _singleHits
KalFitList< KalFitWire * > & _singleHits
const int _superLayerId
KalFitList< KalFitWire * > & _wireHits
KalFitList< KalFitWire * > & _wireHits

Static Private Attributes

const unsigned int _neighborsMask [6] = {452,420,340,172,92,60}


Constructor & Destructor Documentation

KalFitSuper_Mdc::KalFitSuper_Mdc const int  firstWireID,
const int  NWire,
const int  firstLayerID,
const int  NLayer,
const int  superLayerID
 

Constructors and destructor.

00020   : _superLayerId(superLayerID),
00021     _firstWireId(firstWireID),
00022     _Nwire(NWire),
00023     _firstLayerId(firstLayerID),
00024     _Nlayer(NLayer),
00025     _wireHits(*(new KalFitList<KalFitWire *>(500))),
00026     _singleHits(*(new KalFitList<KalFitWire *>(100)))
00027 {
00028 
00029 }

KalFitSuper_Mdc::~KalFitSuper_Mdc  ) 
 

00032 {
00033   clear();
00034   delete &_wireHits;
00035   delete &_singleHits;
00036 }

KalFitSuper_Mdc::KalFitSuper_Mdc const int  firstWireID,
const int  NWire,
const int  firstLayerID,
const int  NLayer,
const int  superLayerID
 

Constructors and destructor.

KalFitSuper_Mdc::~KalFitSuper_Mdc  ) 
 


Member Function Documentation

void KalFitSuper_Mdc::appendHit KalFitWire  ) 
 

append a wireHit to the list of hits of the superlayer

void KalFitSuper_Mdc::appendHit KalFitWire  )  [inline]
 

append a wireHit to the list of hits of the superlayer

00063                                                    {
00064   _wireHits.append(h);
00065 }

void KalFitSuper_Mdc::clear void   ) 
 

clear object

void KalFitSuper_Mdc::clear void   ) 
 

clear object

00040 {
00041   if(_wireHits.length()){
00042     register KalFitWire ** hptr = _wireHits.firstPtr();
00043     KalFitWire ** const last = _wireHits.lastPtr();
00044     do {(**hptr).state(WireHitInvalid);}while((int)(hptr++)^(int)last);
00045     _wireHits.clear();
00046   }
00047 }

const int KalFitSuper_Mdc::layerMaxId void   )  const
 

returns layer max ID

const int KalFitSuper_Mdc::layerMaxId void   )  const
 

returns layer max ID

00068                                      {
00069   return (_Nlayer - 1);
00070 }

const int KalFitSuper_Mdc::localMaxId void   )  const
 

returns local max ID

const int KalFitSuper_Mdc::localMaxId void   )  const
 

returns local max ID

00062                                      {
00063   return (_Nwire - 1);
00064 }

const int KalFitSuper_Mdc::nLayer void   )  const
 

returns number of layers

const int KalFitSuper_Mdc::nLayer void   )  const
 

returns number of layers

00056                                  {
00057   return _Nlayer;
00058 }

const int KalFitSuper_Mdc::nWire void   )  const
 

returns number of wires

const int KalFitSuper_Mdc::nWire void   )  const
 

returns number of wires

00050                                 {
00051   return _Nwire;
00052 }

const int KalFitSuper_Mdc::superLayerId void   )  const
 

returns super-layer ID

const int KalFitSuper_Mdc::superLayerId void   )  const
 

returns super-layer ID

00074                                        {
00075   return _superLayerId;
00076 }


Member Data Documentation

const int KalFitSuper_Mdc::_firstLayerId [private]
 

const int KalFitSuper_Mdc::_firstWireId [private]
 

const unsigned int KalFitSuper_Mdc::_neighborsMask = {452,420,340,172,92,60} [static, private]
 

const int KalFitSuper_Mdc::_Nlayer [private]
 

const int KalFitSuper_Mdc::_Nwire [private]
 

KalFitList<KalFitWire *>& KalFitSuper_Mdc::_singleHits [private]
 

KalFitList<KalFitWire *>& KalFitSuper_Mdc::_singleHits [private]
 

const int KalFitSuper_Mdc::_superLayerId [private]
 

KalFitList<KalFitWire *>& KalFitSuper_Mdc::_wireHits [private]
 

KalFitList<KalFitWire *>& KalFitSuper_Mdc::_wireHits [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:20:02 2011 for BOSS6.5.5 by  doxygen 1.3.9.1