BOSS 8.0.0
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 ()
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/3]

MdcHitMapGuts::~MdcHitMapGuts ( )
virtual

Definition at line 29 of file MdcHitMapGuts.cxx.

29{}

◆ ~MdcHitMapGuts() [2/3]

virtual MdcHitMapGuts::~MdcHitMapGuts ( )
virtual

◆ ~MdcHitMapGuts() [3/3]

virtual MdcHitMapGuts::~MdcHitMapGuts ( )
virtual

Member Function Documentation

◆ addHit() [1/3]

void MdcHitMapGuts::addHit ( MdcHit & theHit)

Definition at line 42 of file MdcHitMapGuts.cxx.

42 {
43 _hits[theHit.layernumber()][theHit.wirenumber()] = &theHit;
44}

◆ addHit() [2/3]

void MdcHitMapGuts::addHit ( MdcHit & theHit)

◆ addHit() [3/3]

void MdcHitMapGuts::addHit ( MdcHit & theHit)

◆ clear() [1/3]

void MdcHitMapGuts::clear ( )

Definition at line 37 of file MdcHitMapGuts.cxx.

37 {
38 for ( MdcHitMap_t::iterator j = _hits.begin(); j != _hits.end(); ++j )
39 { std::fill( j->begin(), j->end(), static_cast<MdcHit*>( 0 ) ); }
40}

◆ clear() [2/3]

void MdcHitMapGuts::clear ( )

◆ clear() [3/3]

void MdcHitMapGuts::clear ( )

◆ hitWire() [1/3]

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

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcData/MdcHitMapGuts.h.

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

◆ hitWire() [2/3]

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

Definition at line 31 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcData/MdcHitMapGuts.h.

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

◆ hitWire() [3/3]

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

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

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

◆ removeHit() [1/3]

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

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcData/MdcHitMapGuts.h.

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

◆ removeHit() [2/3]

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

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcData/MdcHitMapGuts.h.

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

◆ removeHit() [3/3]

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

Definition at line 35 of file Reconstruction/MdcPatRec/MdcData/include/MdcData/MdcHitMapGuts.h.

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

◆ MdcHitMap


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