BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
RecEmcDigit Class Reference

#include <RecEmcDigit.h>

Public Member Functions

 RecEmcDigit ()
 RecEmcDigit (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
 ~RecEmcDigit ()
 RecEmcDigit (const RecEmcDigit &aDigit)
RecEmcDigitoperator= (const RecEmcDigit &aDigit)
RecEmcID CellId () const
RecEmcADC ADC () const
RecEmcTDC TDC () const
RecEmcID CellId (const RecEmcID &CellId)
RecEmcADC ADC (const RecEmcADC &ADC)
RecEmcTDC TDC (const RecEmcTDC &TDC)
void Assign (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
void Assign (const RecEmcDigit &aDigit)
void Dump () const
 RecEmcDigit ()
 RecEmcDigit (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
 ~RecEmcDigit ()
 RecEmcDigit (const RecEmcDigit &aDigit)
RecEmcDigitoperator= (const RecEmcDigit &aDigit)
RecEmcID CellId () const
RecEmcADC ADC () const
RecEmcTDC TDC () const
RecEmcID CellId (const RecEmcID &CellId)
RecEmcADC ADC (const RecEmcADC &ADC)
RecEmcTDC TDC (const RecEmcTDC &TDC)
void Assign (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
void Assign (const RecEmcDigit &aDigit)
void Dump () const
 RecEmcDigit ()
 RecEmcDigit (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
 ~RecEmcDigit ()
 RecEmcDigit (const RecEmcDigit &aDigit)
RecEmcDigitoperator= (const RecEmcDigit &aDigit)
RecEmcID CellId () const
RecEmcADC ADC () const
RecEmcTDC TDC () const
RecEmcID CellId (const RecEmcID &CellId)
RecEmcADC ADC (const RecEmcADC &ADC)
RecEmcTDC TDC (const RecEmcTDC &TDC)
void Assign (const RecEmcID &CellId, const RecEmcADC &ADC, const RecEmcTDC &TDC)
void Assign (const RecEmcDigit &aDigit)
void Dump () const

Protected Attributes

RecEmcID fCellId
RecEmcADC fADC
RecEmcTDC fTDC

Detailed Description

Constructor & Destructor Documentation

◆ RecEmcDigit() [1/9]

RecEmcDigit::RecEmcDigit ( )

◆ RecEmcDigit() [2/9]

RecEmcDigit::RecEmcDigit ( const RecEmcID & CellId,
const RecEmcADC & ADC,
const RecEmcTDC & TDC )

Definition at line 18 of file RecEmcDigit.cxx.

19 {
21 fADC = ADC;
22 fTDC = TDC;
23}
RecEmcADC ADC() const
RecEmcTDC TDC() const
RecEmcID CellId() const

◆ ~RecEmcDigit() [1/3]

RecEmcDigit::~RecEmcDigit ( )

Definition at line 25 of file RecEmcDigit.cxx.

25 {
26 // nothing to do
27}

◆ RecEmcDigit() [3/9]

RecEmcDigit::RecEmcDigit ( const RecEmcDigit & aDigit)

Definition at line 30 of file RecEmcDigit.cxx.

30 {
31 fCellId = aDigit.CellId();
32 fADC = aDigit.ADC();
33 fTDC = aDigit.TDC();
34}

◆ RecEmcDigit() [4/9]

RecEmcDigit::RecEmcDigit ( )

◆ RecEmcDigit() [5/9]

RecEmcDigit::RecEmcDigit ( const RecEmcID & CellId,
const RecEmcADC & ADC,
const RecEmcTDC & TDC )

◆ ~RecEmcDigit() [2/3]

RecEmcDigit::~RecEmcDigit ( )

◆ RecEmcDigit() [6/9]

RecEmcDigit::RecEmcDigit ( const RecEmcDigit & aDigit)

◆ RecEmcDigit() [7/9]

RecEmcDigit::RecEmcDigit ( )

◆ RecEmcDigit() [8/9]

RecEmcDigit::RecEmcDigit ( const RecEmcID & CellId,
const RecEmcADC & ADC,
const RecEmcTDC & TDC )

◆ ~RecEmcDigit() [3/3]

RecEmcDigit::~RecEmcDigit ( )

◆ RecEmcDigit() [9/9]

RecEmcDigit::RecEmcDigit ( const RecEmcDigit & aDigit)

Member Function Documentation

◆ ADC() [1/6]

RecEmcADC RecEmcDigit::ADC ( ) const

Definition at line 50 of file RecEmcDigit.cxx.

50{ return fADC; }

Referenced by ADC(), Assign(), Assign(), EmcRecDigit2Hit::Convert(), operator<<(), operator=(), RecEmcDigit(), and RecEmcDigit().

◆ ADC() [2/6]

RecEmcADC RecEmcDigit::ADC ( ) const

◆ ADC() [3/6]

RecEmcADC RecEmcDigit::ADC ( ) const

◆ ADC() [4/6]

RecEmcADC RecEmcDigit::ADC ( const RecEmcADC & ADC)

Definition at line 60 of file RecEmcDigit.cxx.

60 {
61 fADC = ADC;
62 return fADC;
63}

◆ ADC() [5/6]

RecEmcADC RecEmcDigit::ADC ( const RecEmcADC & ADC)

◆ ADC() [6/6]

RecEmcADC RecEmcDigit::ADC ( const RecEmcADC & ADC)

◆ Assign() [1/6]

void RecEmcDigit::Assign ( const RecEmcDigit & aDigit)

Definition at line 77 of file RecEmcDigit.cxx.

77 {
78 fCellId = aDigit.CellId();
79 fADC = aDigit.ADC();
80 fTDC = aDigit.TDC();
81}

◆ Assign() [2/6]

void RecEmcDigit::Assign ( const RecEmcDigit & aDigit)

◆ Assign() [3/6]

void RecEmcDigit::Assign ( const RecEmcDigit & aDigit)

◆ Assign() [4/6]

void RecEmcDigit::Assign ( const RecEmcID & CellId,
const RecEmcADC & ADC,
const RecEmcTDC & TDC )

Definition at line 70 of file RecEmcDigit.cxx.

71 {
73 fADC = ADC;
74 fTDC = TDC;
75}

Referenced by EmcRec::execute().

◆ Assign() [5/6]

void RecEmcDigit::Assign ( const RecEmcID & CellId,
const RecEmcADC & ADC,
const RecEmcTDC & TDC )

◆ Assign() [6/6]

void RecEmcDigit::Assign ( const RecEmcID & CellId,
const RecEmcADC & ADC,
const RecEmcTDC & TDC )

◆ CellId() [1/6]

RecEmcID RecEmcDigit::CellId ( ) const

◆ CellId() [2/6]

RecEmcID RecEmcDigit::CellId ( ) const

◆ CellId() [3/6]

RecEmcID RecEmcDigit::CellId ( ) const

◆ CellId() [4/6]

RecEmcID RecEmcDigit::CellId ( const RecEmcID & CellId)

Definition at line 55 of file RecEmcDigit.cxx.

55 {
57 return fCellId;
58}

◆ CellId() [5/6]

RecEmcID RecEmcDigit::CellId ( const RecEmcID & CellId)

◆ CellId() [6/6]

RecEmcID RecEmcDigit::CellId ( const RecEmcID & CellId)

◆ Dump() [1/3]

void RecEmcDigit::Dump ( ) const

Definition at line 84 of file RecEmcDigit.cxx.

84 {
85 cout << "Digit: ";
86
87 cout << fCellId << ", ";
88
89 cout.width( 12 );
90 cout.setf( ios::right );
91 cout << fADC << ", ";
92
93 cout.width( 12 );
94 cout.setf( ios::right );
95 cout << fTDC << endl;
96}

◆ Dump() [2/3]

void RecEmcDigit::Dump ( ) const

◆ Dump() [3/3]

void RecEmcDigit::Dump ( ) const

◆ operator=() [1/3]

RecEmcDigit & RecEmcDigit::operator= ( const RecEmcDigit & aDigit)

Definition at line 36 of file RecEmcDigit.cxx.

36 {
37 if ( this != &aDigit )
38 {
39 fCellId = aDigit.CellId();
40 fADC = aDigit.ADC();
41 fTDC = aDigit.TDC();
42 }
43 return *this;
44}

◆ operator=() [2/3]

RecEmcDigit & RecEmcDigit::operator= ( const RecEmcDigit & aDigit)

◆ operator=() [3/3]

RecEmcDigit & RecEmcDigit::operator= ( const RecEmcDigit & aDigit)

◆ TDC() [1/6]

RecEmcTDC RecEmcDigit::TDC ( ) const

Definition at line 52 of file RecEmcDigit.cxx.

52{ return fTDC; }

Referenced by Assign(), Assign(), EmcRecDigit2Hit::Convert(), operator<<(), operator=(), RecEmcDigit(), RecEmcDigit(), and TDC().

◆ TDC() [2/6]

RecEmcTDC RecEmcDigit::TDC ( ) const

◆ TDC() [3/6]

RecEmcTDC RecEmcDigit::TDC ( ) const

◆ TDC() [4/6]

RecEmcTDC RecEmcDigit::TDC ( const RecEmcTDC & TDC)

Definition at line 65 of file RecEmcDigit.cxx.

65 {
66 fTDC = TDC;
67 return fTDC;
68}

◆ TDC() [5/6]

RecEmcTDC RecEmcDigit::TDC ( const RecEmcTDC & TDC)

◆ TDC() [6/6]

RecEmcTDC RecEmcDigit::TDC ( const RecEmcTDC & TDC)

Member Data Documentation

◆ fADC

◆ fCellId

◆ fTDC


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