BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTofDigi Class Reference

#include <BesTofDigi.hh>

+ Inheritance diagram for BesTofDigi:

Public Member Functions

 BesTofDigi ()
 
virtual ~BesTofDigi ()
 
 BesTofDigi (const BesTofDigi &)
 
const BesTofDigioperator= (const BesTofDigi &)
 
virtual G4int operator== (const BesTofDigi &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetTrackIndex (G4int index)
 
void SetPartId (G4int partId)
 
void SetScinNb (G4int scinNb)
 
void SetForwADC (G4double ADC)
 
void SetBackADC (G4double ADC)
 
void SetForwTDC (G4double TDC)
 
void SetBackTDC (G4double TDC)
 
void SetModule (G4int module)
 
void SetStrip (G4int strip)
 
void SetForwT1 (G4double t1)
 
void SetBackT1 (G4double t1)
 
void SetForwT2 (G4double t2)
 
void SetBackT2 (G4double t2)
 
G4int GetTrackIndex ()
 
G4int GetPartId ()
 
G4int GetScinNb ()
 
G4double GetForwADC ()
 
G4double GetBackADC ()
 
G4double GetForwTDC ()
 
G4double GetBackTDC ()
 
G4int GetModule ()
 
G4int GetStrip ()
 
G4double GetForwT1 ()
 
G4double GetBackT1 ()
 
G4double GetForwT2 ()
 
G4double GetBackT2 ()
 

Detailed Description

Definition at line 19 of file BesTofDigi.hh.

Constructor & Destructor Documentation

◆ BesTofDigi() [1/2]

BesTofDigi::BesTofDigi ( )

Definition at line 16 of file BesTofDigi.cc.

17{
18 m_trackIndex = 0;
19 m_partId = -9;
20 m_scinNb = -9;
21 m_forwADC = -999;
22 m_backADC = -999;
23 m_forwTDC = -999;
24 m_backTDC = -999;
25
26
27}

◆ ~BesTofDigi()

BesTofDigi::~BesTofDigi ( )
virtual

Definition at line 29 of file BesTofDigi.cc.

29{}

◆ BesTofDigi() [2/2]

BesTofDigi::BesTofDigi ( const BesTofDigi right)

Definition at line 31 of file BesTofDigi.cc.

32 :G4VDigi()
33{
34 m_trackIndex = right.m_trackIndex;
35 m_partId=right.m_partId;
36 m_scinNb=right.m_scinNb;
37 m_forwADC=right.m_forwADC;
38 m_backADC=right.m_backADC;
39 m_forwTDC=right.m_forwTDC;
40 m_backTDC=right.m_backTDC;
41
42
43
44}

Member Function Documentation

◆ Draw()

void BesTofDigi::Draw ( )
virtual

Definition at line 68 of file BesTofDigi.cc.

69{
70}

◆ GetBackADC()

G4double BesTofDigi::GetBackADC ( )
inline

Definition at line 57 of file BesTofDigi.hh.

57{ return m_backADC; }

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

◆ GetBackT1()

G4double BesTofDigi::GetBackT1 ( )
inline

Definition at line 64 of file BesTofDigi.hh.

64{ return m_backTDC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetBackT2()

G4double BesTofDigi::GetBackT2 ( )
inline

Definition at line 66 of file BesTofDigi.hh.

66{ return m_backADC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetBackTDC()

G4double BesTofDigi::GetBackTDC ( )
inline

Definition at line 59 of file BesTofDigi.hh.

59{ return m_backTDC; }

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

◆ GetForwADC()

G4double BesTofDigi::GetForwADC ( )
inline

Definition at line 56 of file BesTofDigi.hh.

56{ return m_forwADC; }

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

◆ GetForwT1()

G4double BesTofDigi::GetForwT1 ( )
inline

Definition at line 63 of file BesTofDigi.hh.

63{ return m_forwTDC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetForwT2()

G4double BesTofDigi::GetForwT2 ( )
inline

Definition at line 65 of file BesTofDigi.hh.

65{ return m_forwADC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetForwTDC()

G4double BesTofDigi::GetForwTDC ( )
inline

Definition at line 58 of file BesTofDigi.hh.

58{ return m_forwTDC; }

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

◆ GetModule()

G4int BesTofDigi::GetModule ( )
inline

Definition at line 61 of file BesTofDigi.hh.

61{ return m_scinNb; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetPartId()

G4int BesTofDigi::GetPartId ( )
inline

Definition at line 53 of file BesTofDigi.hh.

53{ return m_partId; }

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

◆ GetScinNb()

G4int BesTofDigi::GetScinNb ( )
inline

Definition at line 55 of file BesTofDigi.hh.

55{ return m_scinNb; }

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

◆ GetStrip()

G4int BesTofDigi::GetStrip ( )
inline

Definition at line 62 of file BesTofDigi.hh.

62{ return m_strip; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetTrackIndex()

G4int BesTofDigi::GetTrackIndex ( )
inline

Definition at line 52 of file BesTofDigi.hh.

52{ return m_trackIndex; }

Referenced by BesRawDataWriter::SaveTofDigits(), and BesAsciiIO::SaveTofDigits().

◆ operator delete()

void BesTofDigi::operator delete ( void *  aDigi)
inline

Definition at line 90 of file BesTofDigi.hh.

91{
92 BesTofDigiAllocator.FreeSingle((BesTofDigi*) aDigi);
93}
G4Allocator< BesTofDigi > BesTofDigiAllocator
Definition: BesTofDigi.cc:14

◆ operator new()

void * BesTofDigi::operator new ( size_t  )
inline

Definition at line 83 of file BesTofDigi.hh.

84{
85 void *aDigi;
86 aDigi = (void *) BesTofDigiAllocator.MallocSingle();
87 return aDigi;
88}

◆ operator=()

const BesTofDigi & BesTofDigi::operator= ( const BesTofDigi right)

Definition at line 47 of file BesTofDigi.cc.

48{
49 m_trackIndex=right.m_trackIndex;
50 m_partId=right.m_partId;
51 m_scinNb=right.m_scinNb;
52 m_forwADC=right.m_forwADC;
53 m_backADC=right.m_backADC;
54 m_forwTDC=right.m_forwTDC;
55 m_backTDC=right.m_backTDC;
56
57
58 return *this;
59}

◆ operator==()

int BesTofDigi::operator== ( const BesTofDigi right) const
virtual

Definition at line 62 of file BesTofDigi.cc.

63{
64 return (this==&right) ? 1 : 0;
65}

◆ Print()

void BesTofDigi::Print ( )
virtual

Definition at line 73 of file BesTofDigi.cc.

74{
75}

◆ SetBackADC()

void BesTofDigi::SetBackADC ( G4double  ADC)
inline

◆ SetBackT1()

void BesTofDigi::SetBackT1 ( G4double  t1)
inline

Definition at line 48 of file BesTofDigi.hh.

48{ m_backTDC = t1; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetBackT2()

void BesTofDigi::SetBackT2 ( G4double  t2)
inline

Definition at line 50 of file BesTofDigi.hh.

50{ m_backADC = t2; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetBackTDC()

void BesTofDigi::SetBackTDC ( G4double  TDC)
inline

◆ SetForwADC()

void BesTofDigi::SetForwADC ( G4double  ADC)
inline

◆ SetForwT1()

void BesTofDigi::SetForwT1 ( G4double  t1)
inline

Definition at line 47 of file BesTofDigi.hh.

47{ m_forwTDC = t1; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetForwT2()

void BesTofDigi::SetForwT2 ( G4double  t2)
inline

Definition at line 49 of file BesTofDigi.hh.

49{ m_forwADC = t2; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetForwTDC()

void BesTofDigi::SetForwTDC ( G4double  TDC)
inline

◆ SetModule()

void BesTofDigi::SetModule ( G4int  module)
inline

Definition at line 45 of file BesTofDigi.hh.

45{ m_scinNb = module; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetPartId()

void BesTofDigi::SetPartId ( G4int  partId)
inline

◆ SetScinNb()

void BesTofDigi::SetScinNb ( G4int  scinNb)
inline

◆ SetStrip()

void BesTofDigi::SetStrip ( G4int  strip)
inline

Definition at line 46 of file BesTofDigi.hh.

46{ m_strip = strip; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetTrackIndex()

void BesTofDigi::SetTrackIndex ( G4int  index)
inline

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