CGEM BOSS 6.6.5.f
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_mrpc (G4int module_mrpc)
 
void SetTime1_mrpc (G4double time_mrpc)
 
void SetTime2_mrpc (G4double time_mrpc2)
 
void SetTrackIndex_mrpc (G4int index)
 
void SetPartId_mrpc (G4int partId)
 
G4int GetTrackIndex ()
 
G4int GetPartId ()
 
G4int GetScinNb ()
 
G4double GetForwADC ()
 
G4double GetBackADC ()
 
G4double GetForwTDC ()
 
G4double GetBackTDC ()
 
G4int GetModule_mrpc ()
 
G4double GetTime1_mrpc ()
 
G4double GetTime2_mrpc ()
 
G4int GetTrackIndex_mrpc ()
 
G4int GetPartId_mrpc ()
 
 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_mrpc (G4int module_mrpc)
 
void SetTime1_mrpc (G4double time_mrpc)
 
void SetTime2_mrpc (G4double time_mrpc2)
 
void SetTrackIndex_mrpc (G4int index)
 
void SetPartId_mrpc (G4int partId)
 
G4int GetTrackIndex ()
 
G4int GetPartId ()
 
G4int GetScinNb ()
 
G4double GetForwADC ()
 
G4double GetBackADC ()
 
G4double GetForwTDC ()
 
G4double GetBackTDC ()
 
G4int GetModule_mrpc ()
 
G4double GetTime1_mrpc ()
 
G4double GetTime2_mrpc ()
 
G4int GetTrackIndex_mrpc ()
 
G4int GetPartId_mrpc ()
 

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 58 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

58{ return m_backADC; };

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

◆ GetBackADC() [2/2]

G4double BesTofDigi::GetBackADC ( )
inline

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

58{ return m_backADC; };

◆ GetBackTDC() [1/2]

G4double BesTofDigi::GetBackTDC ( )
inline

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

60{ return m_backTDC;};

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

◆ GetBackTDC() [2/2]

G4double BesTofDigi::GetBackTDC ( )
inline

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

60{ return m_backTDC;};

◆ GetForwADC() [1/2]

G4double BesTofDigi::GetForwADC ( )
inline

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

57{ return m_forwADC; };

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

◆ GetForwADC() [2/2]

G4double BesTofDigi::GetForwADC ( )
inline

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

57{ return m_forwADC; };

◆ GetForwTDC() [1/2]

G4double BesTofDigi::GetForwTDC ( )
inline

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

59{ return m_forwTDC;};

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

◆ GetForwTDC() [2/2]

G4double BesTofDigi::GetForwTDC ( )
inline

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

59{ return m_forwTDC;};

◆ GetModule_mrpc() [1/2]

G4int BesTofDigi::GetModule_mrpc ( )
inline

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

62{return m_scinNb;};

◆ GetModule_mrpc() [2/2]

G4int BesTofDigi::GetModule_mrpc ( )
inline

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

62{return m_scinNb;};

◆ GetPartId() [1/2]

G4int BesTofDigi::GetPartId ( )
inline

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

55{ return m_partId;};

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

◆ GetPartId() [2/2]

G4int BesTofDigi::GetPartId ( )
inline

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

55{ return m_partId;};

◆ GetPartId_mrpc() [1/2]

G4int BesTofDigi::GetPartId_mrpc ( )
inline

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

66{ return m_partId;}; //same function as above, but different name

◆ GetPartId_mrpc() [2/2]

G4int BesTofDigi::GetPartId_mrpc ( )
inline

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

66{ return m_partId;}; //same function as above, but different name

◆ GetScinNb() [1/2]

G4int BesTofDigi::GetScinNb ( )
inline

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

56{ return m_scinNb; };

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

◆ GetScinNb() [2/2]

G4int BesTofDigi::GetScinNb ( )
inline

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

56{ return m_scinNb; };

◆ GetTime1_mrpc() [1/2]

G4double BesTofDigi::GetTime1_mrpc ( )
inline

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

63{return m_forwTDC;};

◆ GetTime1_mrpc() [2/2]

G4double BesTofDigi::GetTime1_mrpc ( )
inline

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

63{return m_forwTDC;};

◆ GetTime2_mrpc() [1/2]

G4double BesTofDigi::GetTime2_mrpc ( )
inline

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

64{return m_backTDC;};

◆ GetTime2_mrpc() [2/2]

G4double BesTofDigi::GetTime2_mrpc ( )
inline

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

64{return m_backTDC;};

◆ GetTrackIndex() [1/2]

G4int BesTofDigi::GetTrackIndex ( )
inline

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

54{ return m_trackIndex; }

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

◆ GetTrackIndex() [2/2]

G4int BesTofDigi::GetTrackIndex ( )
inline

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

54{ return m_trackIndex; }

◆ GetTrackIndex_mrpc() [1/2]

G4int BesTofDigi::GetTrackIndex_mrpc ( )
inline

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

65{ return m_trackIndex;}; //same function as above, but different name

◆ GetTrackIndex_mrpc() [2/2]

G4int BesTofDigi::GetTrackIndex_mrpc ( )
inline

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

65{ return m_trackIndex;}; //same function as above, but different name

◆ operator delete() [1/2]

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

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

95{
96 BesTofDigiAllocator.FreeSingle((BesTofDigi*) aDigi);
97}
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 87 of file InstallArea/include/TofSim/TofSim/BesTofDigi.hh.

88{
89 void *aDigi;
90 aDigi = (void *) BesTofDigiAllocator.MallocSingle();
91 return aDigi;
92}

◆ 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]

void BesTofDigi::SetBackADC ( G4double  ADC)
inline

◆ SetBackADC() [2/2]

void BesTofDigi::SetBackADC ( G4double  ADC)
inline

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

42{ m_backADC = ADC; };

◆ SetBackTDC() [1/2]

◆ SetBackTDC() [2/2]

void BesTofDigi::SetBackTDC ( G4double  TDC)
inline

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

44{ m_backTDC=TDC;};

◆ SetForwADC() [1/2]

void BesTofDigi::SetForwADC ( G4double  ADC)
inline

◆ SetForwADC() [2/2]

void BesTofDigi::SetForwADC ( G4double  ADC)
inline

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

41{ m_forwADC = ADC; };

◆ SetForwTDC() [1/2]

◆ SetForwTDC() [2/2]

void BesTofDigi::SetForwTDC ( G4double  TDC)
inline

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

43{ m_forwTDC=TDC;};

◆ SetModule_mrpc() [1/2]

void BesTofDigi::SetModule_mrpc ( G4int  module_mrpc)
inline

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

46{ m_scinNb=module_mrpc;};

Referenced by BesTofDigitizerEcV4::Digitize(), and BesTofDigitizerEcV4_dbs::Digitize().

◆ SetModule_mrpc() [2/2]

void BesTofDigi::SetModule_mrpc ( G4int  module_mrpc)
inline

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

46{ m_scinNb=module_mrpc;};

◆ SetPartId() [1/2]

◆ SetPartId() [2/2]

void BesTofDigi::SetPartId ( G4int  partId)
inline

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

39{ m_partId = partId; };

◆ SetPartId_mrpc() [1/2]

void BesTofDigi::SetPartId_mrpc ( G4int  partId)
inline

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

50{ m_partId = partId; };//same function as above, but different name

◆ SetPartId_mrpc() [2/2]

void BesTofDigi::SetPartId_mrpc ( G4int  partId)
inline

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

50{ m_partId = partId; };//same function as above, but different name

◆ SetScinNb() [1/2]

void BesTofDigi::SetScinNb ( G4int  scinNb)
inline

◆ SetScinNb() [2/2]

void BesTofDigi::SetScinNb ( G4int  scinNb)
inline

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

40{ m_scinNb = scinNb; };

◆ SetTime1_mrpc() [1/2]

void BesTofDigi::SetTime1_mrpc ( G4double  time_mrpc)
inline

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

47{ m_forwTDC=time_mrpc;};

Referenced by BesTofDigitizerEcV4::Digitize(), and BesTofDigitizerEcV4_dbs::Digitize().

◆ SetTime1_mrpc() [2/2]

void BesTofDigi::SetTime1_mrpc ( G4double  time_mrpc)
inline

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

47{ m_forwTDC=time_mrpc;};

◆ SetTime2_mrpc() [1/2]

void BesTofDigi::SetTime2_mrpc ( G4double  time_mrpc2)
inline

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

48{ m_backTDC=time_mrpc2;};

Referenced by BesTofDigitizerEcV4::Digitize(), and BesTofDigitizerEcV4_dbs::Digitize().

◆ SetTime2_mrpc() [2/2]

void BesTofDigi::SetTime2_mrpc ( G4double  time_mrpc2)
inline

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

48{ m_backTDC=time_mrpc2;};

◆ SetTrackIndex() [1/2]

◆ SetTrackIndex() [2/2]

void BesTofDigi::SetTrackIndex ( G4int  index)
inline

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

38{ m_trackIndex = index; }

◆ SetTrackIndex_mrpc() [1/2]

void BesTofDigi::SetTrackIndex_mrpc ( G4int  index)
inline

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

49{ m_trackIndex = index; };//same function as above, but different name

◆ SetTrackIndex_mrpc() [2/2]

void BesTofDigi::SetTrackIndex_mrpc ( G4int  index)
inline

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

49{ m_trackIndex = index; };//same function as above, but different name

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