BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcHitMapGuts Class Reference

#include <MdcHitMapGuts.h>

Public Member Functions

virtual ~MdcHitMapGuts ()
 
MdcHithitWire (int lay, int wire) const
 
void addHit (MdcHit &theHit)
 
void removeHit (int lay, int wire)
 
void clear ()
 
virtual ~MdcHitMapGuts ()
 
MdcHithitWire (int lay, int wire) const
 
void addHit (MdcHit &theHit)
 
void removeHit (int lay, int wire)
 
void clear ()
 

Friends

class MdcHitMap
 

Detailed Description

Constructor & Destructor Documentation

◆ ~MdcHitMapGuts() [1/2]

MdcHitMapGuts::~MdcHitMapGuts ( )
virtual

Definition at line 30 of file MdcHitMapGuts.cxx.

31{
32}

◆ ~MdcHitMapGuts() [2/2]

virtual MdcHitMapGuts::~MdcHitMapGuts ( )
virtual

Member Function Documentation

◆ addHit() [1/2]

void MdcHitMapGuts::addHit ( MdcHit theHit)

Definition at line 51 of file MdcHitMapGuts.cxx.

52{
53 _hits[theHit.layernumber()][theHit.wirenumber()] = &theHit;
54}

Referenced by MdcHitMap::addHit().

◆ addHit() [2/2]

void MdcHitMapGuts::addHit ( MdcHit theHit)

◆ clear() [1/2]

void MdcHitMapGuts::clear ( )

Definition at line 43 of file MdcHitMapGuts.cxx.

44{
45 for (MdcHitMap_t::iterator j = _hits.begin(); j != _hits.end(); ++j) {
46 std::fill(j->begin(),j->end(),static_cast<MdcHit *>(0));
47 }
48}

Referenced by MdcHitMap::clearMap().

◆ clear() [2/2]

void MdcHitMapGuts::clear ( )

◆ hitWire() [1/2]

MdcHit * MdcHitMapGuts::hitWire ( int  lay,
int  wire 
) const
inline

Definition at line 31 of file InstallArea/include/MdcData/MdcData/MdcHitMapGuts.h.

31 {
32 return _hits[lay][wire];
33 }

Referenced by MdcHitMap::hitWire().

◆ hitWire() [2/2]

MdcHit * MdcHitMapGuts::hitWire ( int  lay,
int  wire 
) const
inline

Definition at line 31 of file Reconstruction/MdcPatRec/MdcData/MdcData-00-01-27/MdcData/MdcHitMapGuts.h.

31 {
32 return _hits[lay][wire];
33 }

◆ removeHit() [1/2]

void MdcHitMapGuts::removeHit ( int  lay,
int  wire 
)
inline

Definition at line 37 of file InstallArea/include/MdcData/MdcData/MdcHitMapGuts.h.

37 {
38 // could switch to () notation to avoid overhead for bounds-checking
39 _hits[lay][wire] = 0;
40 }

Referenced by MdcHitMap::removeHit().

◆ removeHit() [2/2]

void MdcHitMapGuts::removeHit ( int  lay,
int  wire 
)
inline

Definition at line 37 of file Reconstruction/MdcPatRec/MdcData/MdcData-00-01-27/MdcData/MdcHitMapGuts.h.

37 {
38 // could switch to () notation to avoid overhead for bounds-checking
39 _hits[lay][wire] = 0;
40 }

Friends And Related Function Documentation

◆ MdcHitMap


The documentation for this class was generated from the following files: