CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
TofPhysicalPointer Class Reference

#include <BesPhysicalPointer.h>

+ Inheritance diagram for TofPhysicalPointer:

Public Member Functions

 TofPhysicalPointer (TGeoPhysicalNode *pointer=NULL)
 
 TofPhysicalPointer (const TofPhysicalPointer &rval)
 
void setTimeChannel (UInt_t stc)
 
void setChargeChannel (UInt_t scc)
 
UInt_t getTimeChannel () const
 
UInt_t getChargeChannel () const
 
TofPhysicalPointeroperator= (const TofPhysicalPointer &rval)
 
- Public Member Functions inherited from BesPhysicalPointer
 BesPhysicalPointer (TGeoPhysicalNode *pointer=NULL)
 
void set (TGeoPhysicalNode *spn)
 
TGeoPhysicalNode * get () const
 
 operator TGeoPhysicalNode * () const
 
TGeoPhysicalNode * operator-> () const
 
TGeoPhysicalNode & operator* () const
 
 operator bool () const
 
TGeoPhysicalNode * operator= (TGeoPhysicalNode *pointer)
 

Protected Attributes

UInt_t timeChannel
 
UInt_t chargeChannel
 
- Protected Attributes inherited from BesPhysicalPointer
TGeoPhysicalNode * pNode
 

Detailed Description

Definition at line 61 of file BesPhysicalPointer.h.

Constructor & Destructor Documentation

◆ TofPhysicalPointer() [1/2]

TofPhysicalPointer::TofPhysicalPointer ( TGeoPhysicalNode * pointer = NULL)
inline

Definition at line 64 of file BesPhysicalPointer.h.

65 : BesPhysicalPointer(pointer), timeChannel(0), chargeChannel(0) {}
BesPhysicalPointer(TGeoPhysicalNode *pointer=NULL)

◆ TofPhysicalPointer() [2/2]

TofPhysicalPointer::TofPhysicalPointer ( const TofPhysicalPointer & rval)
inline

Definition at line 66 of file BesPhysicalPointer.h.

Member Function Documentation

◆ getChargeChannel()

UInt_t TofPhysicalPointer::getChargeChannel ( ) const

Definition at line 104 of file BesPhysicalPointer.cxx.

105{
106 return chargeChannel;
107}

Referenced by TofROOTGeo::SetVisTofHits().

◆ getTimeChannel()

UInt_t TofPhysicalPointer::getTimeChannel ( ) const

Definition at line 100 of file BesPhysicalPointer.cxx.

101{
102 return timeChannel;
103}

Referenced by TofROOTGeo::SetVisTofHits().

◆ operator=()

TofPhysicalPointer & TofPhysicalPointer::operator= ( const TofPhysicalPointer & rval)

Definition at line 109 of file BesPhysicalPointer.cxx.

110{
111 //std::cout << "TofPhysicalPointer::operator = () called" << std::endl;
112 pNode = rval.pNode;
115 return *this;
116}

◆ setChargeChannel()

void TofPhysicalPointer::setChargeChannel ( UInt_t scc)

Definition at line 96 of file BesPhysicalPointer.cxx.

97{
98 chargeChannel = scc;
99}

Referenced by TofROOTGeo::SetHits().

◆ setTimeChannel()

void TofPhysicalPointer::setTimeChannel ( UInt_t stc)

Definition at line 92 of file BesPhysicalPointer.cxx.

93{
94 timeChannel = stc;
95}

Referenced by TofROOTGeo::SetHits().

Member Data Documentation

◆ chargeChannel

UInt_t TofPhysicalPointer::chargeChannel
protected

Definition at line 78 of file BesPhysicalPointer.h.

Referenced by getChargeChannel(), operator=(), and setChargeChannel().

◆ timeChannel

UInt_t TofPhysicalPointer::timeChannel
protected

Definition at line 77 of file BesPhysicalPointer.h.

Referenced by getTimeChannel(), operator=(), and setTimeChannel().


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