BOSS 7.0.4
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 ()
 
 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

Constructor & Destructor Documentation

◆ BesTofDigi() [1/4]

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() [1/2]

BesTofDigi::~BesTofDigi ( )
virtual

Definition at line 29 of file BesTofDigi.cc.

29{}

◆ BesTofDigi() [2/4]

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}

◆ BesTofDigi() [3/4]

BesTofDigi::BesTofDigi ( )

◆ ~BesTofDigi() [2/2]

virtual BesTofDigi::~BesTofDigi ( )
virtual

◆ BesTofDigi() [4/4]

BesTofDigi::BesTofDigi ( const BesTofDigi )

Member Function Documentation

◆ Draw() [1/2]

void BesTofDigi::Draw ( )
virtual

Definition at line 68 of file BesTofDigi.cc.

69{
70}

◆ Draw() [2/2]

virtual void BesTofDigi::Draw ( )
virtual

◆ GetBackADC() [1/2]

G4double BesTofDigi::GetBackADC ( )
inline

Definition at line 57 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

57{ return m_backADC; }

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

◆ GetBackADC() [2/2]

G4double BesTofDigi::GetBackADC ( )
inline

Definition at line 57 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

57{ return m_backADC; }

◆ GetBackT1() [1/2]

G4double BesTofDigi::GetBackT1 ( )
inline

Definition at line 64 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

64{ return m_backTDC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetBackT1() [2/2]

G4double BesTofDigi::GetBackT1 ( )
inline

Definition at line 64 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

64{ return m_backTDC; }

◆ GetBackT2() [1/2]

G4double BesTofDigi::GetBackT2 ( )
inline

Definition at line 66 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

66{ return m_backADC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetBackT2() [2/2]

G4double BesTofDigi::GetBackT2 ( )
inline

Definition at line 66 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

66{ return m_backADC; }

◆ GetBackTDC() [1/2]

G4double BesTofDigi::GetBackTDC ( )
inline

Definition at line 59 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

59{ return m_backTDC; }

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

◆ GetBackTDC() [2/2]

G4double BesTofDigi::GetBackTDC ( )
inline

Definition at line 59 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

59{ return m_backTDC; }

◆ GetForwADC() [1/2]

G4double BesTofDigi::GetForwADC ( )
inline

Definition at line 56 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

56{ return m_forwADC; }

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

◆ GetForwADC() [2/2]

G4double BesTofDigi::GetForwADC ( )
inline

Definition at line 56 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

56{ return m_forwADC; }

◆ GetForwT1() [1/2]

G4double BesTofDigi::GetForwT1 ( )
inline

Definition at line 63 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

63{ return m_forwTDC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetForwT1() [2/2]

G4double BesTofDigi::GetForwT1 ( )
inline

Definition at line 63 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

63{ return m_forwTDC; }

◆ GetForwT2() [1/2]

G4double BesTofDigi::GetForwT2 ( )
inline

Definition at line 65 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

65{ return m_forwADC; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetForwT2() [2/2]

G4double BesTofDigi::GetForwT2 ( )
inline

Definition at line 65 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

65{ return m_forwADC; }

◆ GetForwTDC() [1/2]

G4double BesTofDigi::GetForwTDC ( )
inline

Definition at line 58 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

58{ return m_forwTDC; }

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

◆ GetForwTDC() [2/2]

G4double BesTofDigi::GetForwTDC ( )
inline

Definition at line 58 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

58{ return m_forwTDC; }

◆ GetModule() [1/2]

G4int BesTofDigi::GetModule ( )
inline

Definition at line 61 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

61{ return m_scinNb; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetModule() [2/2]

G4int BesTofDigi::GetModule ( )
inline

Definition at line 61 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

61{ return m_scinNb; }

◆ GetPartId() [1/2]

G4int BesTofDigi::GetPartId ( )
inline

Definition at line 53 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

53{ return m_partId; }

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

◆ GetPartId() [2/2]

G4int BesTofDigi::GetPartId ( )
inline

Definition at line 53 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

53{ return m_partId; }

◆ GetScinNb() [1/2]

G4int BesTofDigi::GetScinNb ( )
inline

Definition at line 55 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

55{ return m_scinNb; }

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

◆ GetScinNb() [2/2]

G4int BesTofDigi::GetScinNb ( )
inline

Definition at line 55 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

55{ return m_scinNb; }

◆ GetStrip() [1/2]

G4int BesTofDigi::GetStrip ( )
inline

Definition at line 62 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

62{ return m_strip; }

Referenced by BesRawDataWriter::SaveTofDigits().

◆ GetStrip() [2/2]

G4int BesTofDigi::GetStrip ( )
inline

Definition at line 62 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

62{ return m_strip; }

◆ GetTrackIndex() [1/2]

G4int BesTofDigi::GetTrackIndex ( )
inline

Definition at line 52 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

52{ return m_trackIndex; }

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

◆ GetTrackIndex() [2/2]

G4int BesTofDigi::GetTrackIndex ( )
inline

Definition at line 52 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

52{ return m_trackIndex; }

◆ operator delete() [1/2]

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

Definition at line 90 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

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

◆ operator delete() [2/2]

void BesTofDigi::operator delete ( void *  )
inline

◆ operator new() [1/2]

void * BesTofDigi::operator new ( size_t  )
inline

Definition at line 83 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

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

◆ operator new() [2/2]

void * BesTofDigi::operator new ( size_t  )
inline

◆ operator=() [1/2]

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=() [2/2]

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

◆ operator==() [1/2]

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

Definition at line 62 of file BesTofDigi.cc.

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

◆ operator==() [2/2]

virtual G4int BesTofDigi::operator== ( const BesTofDigi ) const
virtual

◆ Print() [1/2]

void BesTofDigi::Print ( )
virtual

Definition at line 73 of file BesTofDigi.cc.

74{
75}

◆ Print() [2/2]

virtual void BesTofDigi::Print ( )
virtual

◆ SetBackADC() [1/2]

◆ SetBackADC() [2/2]

void BesTofDigi::SetBackADC ( G4double  ADC)
inline

Definition at line 41 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

41{ m_backADC = ADC; }

◆ SetBackT1() [1/2]

void BesTofDigi::SetBackT1 ( G4double  t1)
inline

Definition at line 48 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

48{ m_backTDC = t1; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetBackT1() [2/2]

void BesTofDigi::SetBackT1 ( G4double  t1)
inline

Definition at line 48 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

48{ m_backTDC = t1; }

◆ SetBackT2() [1/2]

void BesTofDigi::SetBackT2 ( G4double  t2)
inline

Definition at line 50 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

50{ m_backADC = t2; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetBackT2() [2/2]

void BesTofDigi::SetBackT2 ( G4double  t2)
inline

Definition at line 50 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

50{ m_backADC = t2; }

◆ SetBackTDC() [1/2]

◆ SetBackTDC() [2/2]

void BesTofDigi::SetBackTDC ( G4double  TDC)
inline

Definition at line 43 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

43{ m_backTDC = TDC; }

◆ SetForwADC() [1/2]

◆ SetForwADC() [2/2]

void BesTofDigi::SetForwADC ( G4double  ADC)
inline

Definition at line 40 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

40{ m_forwADC = ADC; }

◆ SetForwT1() [1/2]

void BesTofDigi::SetForwT1 ( G4double  t1)
inline

Definition at line 47 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

47{ m_forwTDC = t1; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetForwT1() [2/2]

void BesTofDigi::SetForwT1 ( G4double  t1)
inline

Definition at line 47 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

47{ m_forwTDC = t1; }

◆ SetForwT2() [1/2]

void BesTofDigi::SetForwT2 ( G4double  t2)
inline

Definition at line 49 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

49{ m_forwADC = t2; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetForwT2() [2/2]

void BesTofDigi::SetForwT2 ( G4double  t2)
inline

Definition at line 49 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

49{ m_forwADC = t2; }

◆ SetForwTDC() [1/2]

◆ SetForwTDC() [2/2]

void BesTofDigi::SetForwTDC ( G4double  TDC)
inline

Definition at line 42 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

42{ m_forwTDC = TDC; }

◆ SetModule() [1/2]

void BesTofDigi::SetModule ( G4int  module)
inline

Definition at line 45 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

45{ m_scinNb = module; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetModule() [2/2]

void BesTofDigi::SetModule ( G4int  module)
inline

Definition at line 45 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

45{ m_scinNb = module; }

◆ SetPartId() [1/2]

◆ SetPartId() [2/2]

void BesTofDigi::SetPartId ( G4int  partId)
inline

Definition at line 37 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

37{ m_partId = partId; }

◆ SetScinNb() [1/2]

void BesTofDigi::SetScinNb ( G4int  scinNb)
inline

◆ SetScinNb() [2/2]

void BesTofDigi::SetScinNb ( G4int  scinNb)
inline

Definition at line 39 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

39{ m_scinNb = scinNb; }

◆ SetStrip() [1/2]

void BesTofDigi::SetStrip ( G4int  strip)
inline

Definition at line 46 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

46{ m_strip = strip; }

Referenced by BesTofDigitizerEcV4::Digitize().

◆ SetStrip() [2/2]

void BesTofDigi::SetStrip ( G4int  strip)
inline

Definition at line 46 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

46{ m_strip = strip; }

◆ SetTrackIndex() [1/2]

◆ SetTrackIndex() [2/2]

void BesTofDigi::SetTrackIndex ( G4int  index)
inline

Definition at line 36 of file Simulation/BOOST/TofSim/TofSim-00-02-37/TofSim/BesTofDigi.hh.

36{ m_trackIndex = index; }

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