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

#include <BesCgemDigi.hh>

+ Inheritance diagram for BesCgemDigi:

Public Member Functions

 BesCgemDigi ()
 
virtual ~BesCgemDigi ()
 
 BesCgemDigi (const BesCgemDigi &)
 
const BesCgemDigioperator= (const BesCgemDigi &)
 
virtual G4int operator== (const BesCgemDigi &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Print ()
 
void SetTrackID (G4int f_ID_track)
 
void SetLayerID (G4int f_ID_layer)
 
void SetSheetID (G4int f_ID_sheet)
 
void SetStripType (G4int f_F_XV)
 
void SetStripID (G4int f_ID_strip)
 
void SetEnergyDeposit (G4double f_E_deposit)
 
void SetGlobalTime (G4double f_global_time)
 
G4int GetTrackID () const
 
G4int GetLayerID () const
 
G4int GetSheetID () const
 
G4int GetStripType () const
 
G4int GetStripID () const
 
G4double GetEnergyDeposit () const
 
G4double GetGlobalTime () const
 
 BesCgemDigi ()
 
virtual ~BesCgemDigi ()
 
 BesCgemDigi (const BesCgemDigi &)
 
const BesCgemDigioperator= (const BesCgemDigi &)
 
virtual G4int operator== (const BesCgemDigi &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Print ()
 
void SetTrackID (G4int f_ID_track)
 
void SetLayerID (G4int f_ID_layer)
 
void SetSheetID (G4int f_ID_sheet)
 
void SetStripType (G4int f_F_XV)
 
void SetStripID (G4int f_ID_strip)
 
void SetEnergyDeposit (G4double f_E_deposit)
 
void SetGlobalTime (G4double f_global_time)
 
G4int GetTrackID () const
 
G4int GetLayerID () const
 
G4int GetSheetID () const
 
G4int GetStripType () const
 
G4int GetStripID () const
 
G4double GetEnergyDeposit () const
 
G4double GetGlobalTime () const
 

Detailed Description

Definition at line 46 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

Constructor & Destructor Documentation

◆ BesCgemDigi() [1/4]

BesCgemDigi::BesCgemDigi ( )

Definition at line 60 of file CgemSim-01-00-40/src/BesCgemDigi.cc.

61{
62 m_ID_track = 0;
63 m_ID_layer = 0;
64 m_ID_sheet = 0;
65 m_F_XV = 0;
66 m_ID_strip = 0;
67 m_E_deposit = 0.;
68 m_global_time = 0.;
69}

◆ ~BesCgemDigi() [1/2]

BesCgemDigi::~BesCgemDigi ( )
virtual

Definition at line 72 of file CgemSim-01-00-40/src/BesCgemDigi.cc.

73{
74}

◆ BesCgemDigi() [2/4]

BesCgemDigi::BesCgemDigi ( const BesCgemDigi & right)

Definition at line 77 of file CgemSim-01-00-40/src/BesCgemDigi.cc.

78:G4VDigi()
79{
80 m_ID_track = right.m_ID_track;
81 m_ID_layer = right.m_ID_layer;
82 m_ID_sheet = right.m_ID_sheet;
83 m_F_XV = right.m_F_XV;
84 m_ID_strip = right.m_ID_strip;
85 m_E_deposit = right.m_E_deposit;
86 m_global_time = right.m_global_time;
87}

◆ BesCgemDigi() [3/4]

BesCgemDigi::BesCgemDigi ( )

◆ ~BesCgemDigi() [2/2]

virtual BesCgemDigi::~BesCgemDigi ( )
virtual

◆ BesCgemDigi() [4/4]

BesCgemDigi::BesCgemDigi ( const BesCgemDigi & )

Member Function Documentation

◆ GetEnergyDeposit() [1/2]

G4double BesCgemDigi::GetEnergyDeposit ( ) const
inline

Definition at line 77 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

77{return m_E_deposit ;};

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

◆ GetEnergyDeposit() [2/2]

G4double BesCgemDigi::GetEnergyDeposit ( ) const
inline

Definition at line 77 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

77{return m_E_deposit ;};

◆ GetGlobalTime() [1/2]

G4double BesCgemDigi::GetGlobalTime ( ) const
inline

Definition at line 78 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

78{return m_global_time ;};

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

◆ GetGlobalTime() [2/2]

G4double BesCgemDigi::GetGlobalTime ( ) const
inline

Definition at line 78 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

78{return m_global_time ;};

◆ GetLayerID() [1/2]

G4int BesCgemDigi::GetLayerID ( ) const
inline

Definition at line 73 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

73{return m_ID_layer ;};

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

◆ GetLayerID() [2/2]

G4int BesCgemDigi::GetLayerID ( ) const
inline

Definition at line 73 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

73{return m_ID_layer ;};

◆ GetSheetID() [1/2]

G4int BesCgemDigi::GetSheetID ( ) const
inline

Definition at line 74 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

74{return m_ID_sheet ;};

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

◆ GetSheetID() [2/2]

G4int BesCgemDigi::GetSheetID ( ) const
inline

Definition at line 74 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

74{return m_ID_sheet ;};

◆ GetStripID() [1/2]

G4int BesCgemDigi::GetStripID ( ) const
inline

Definition at line 76 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

76{return m_ID_strip ;};

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

◆ GetStripID() [2/2]

G4int BesCgemDigi::GetStripID ( ) const
inline

Definition at line 76 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

76{return m_ID_strip ;};

◆ GetStripType() [1/2]

G4int BesCgemDigi::GetStripType ( ) const
inline

Definition at line 75 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

75{return m_F_XV ;};

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

◆ GetStripType() [2/2]

G4int BesCgemDigi::GetStripType ( ) const
inline

Definition at line 75 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

75{return m_F_XV ;};

◆ GetTrackID() [1/2]

G4int BesCgemDigi::GetTrackID ( ) const
inline

Definition at line 72 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

72{return m_ID_track ;};

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

◆ GetTrackID() [2/2]

G4int BesCgemDigi::GetTrackID ( ) const
inline

Definition at line 72 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

72{return m_ID_track ;};

◆ operator delete() [1/2]

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

Definition at line 105 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

106{
107 BesCgemDigiAllocator.FreeSingle((BesCgemDigi*) aDigi);
108}
G4Allocator< BesCgemDigi > BesCgemDigiAllocator

◆ operator delete() [2/2]

void BesCgemDigi::operator delete ( void * )
inline

◆ operator new() [1/2]

void * BesCgemDigi::operator new ( size_t )
inline

Definition at line 97 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

98{
99 void *aDigi;
100 aDigi = (void *) BesCgemDigiAllocator.MallocSingle();
101 return aDigi;
102}

◆ operator new() [2/2]

void * BesCgemDigi::operator new ( size_t )
inline

◆ operator=() [1/2]

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

Definition at line 90 of file CgemSim-01-00-40/src/BesCgemDigi.cc.

91{
92 m_ID_track = right.m_ID_track;
93 m_ID_layer = right.m_ID_layer;
94 m_ID_sheet = right.m_ID_sheet;
95 m_F_XV = right.m_F_XV;
96 m_ID_strip = right.m_ID_strip;
97 m_E_deposit = right.m_E_deposit;
98 m_global_time = right.m_global_time;
99
100 return *this;
101}

◆ operator=() [2/2]

const BesCgemDigi & BesCgemDigi::operator= ( const BesCgemDigi & )

◆ operator==() [1/2]

int BesCgemDigi::operator== ( const BesCgemDigi & right) const
virtual

Definition at line 104 of file CgemSim-01-00-40/src/BesCgemDigi.cc.

105{
106 return (this==&right) ? 1 : 0;
107}

◆ operator==() [2/2]

virtual G4int BesCgemDigi::operator== ( const BesCgemDigi & ) const
virtual

◆ Print() [1/2]

void BesCgemDigi::Print ( )
virtual

Definition at line 110 of file CgemSim-01-00-40/src/BesCgemDigi.cc.

111{
112 IMessageSvc* msgSvc;
113 Gaudi::svcLocator() -> service("MessageSvc", msgSvc);
114 MsgStream log(msgSvc, "BesCgemDigi::Print()");
115 log<< MSG::INFO << "INFO : BesCgemDigi:Print, Digi information: " << endreq;
116
117 log<< MSG::INFO << setw(12) << "TrackID: " << m_ID_track << endreq;
118 log<< MSG::INFO << setw(12) << "LayerID: " << m_ID_layer << endreq;
119 log<< MSG::INFO << setw(12) << "SheetID: " << m_ID_sheet << endreq;
120 log<< MSG::INFO << setw(12) << "StripType: " << m_F_XV << endreq;
121 log<< MSG::INFO << setw(12) << "StripID: " << m_ID_strip << endreq;
122 log<< MSG::INFO << setw(12) << "DepositE: " << m_E_deposit << endreq;
123 log<< MSG::INFO << setw(12) << "GlobalTime: " << m_global_time << endreq;
124}
IMessageSvc * msgSvc()

◆ Print() [2/2]

virtual void BesCgemDigi::Print ( )
virtual

◆ SetEnergyDeposit() [1/2]

void BesCgemDigi::SetEnergyDeposit ( G4double f_E_deposit)
inline

◆ SetEnergyDeposit() [2/2]

void BesCgemDigi::SetEnergyDeposit ( G4double f_E_deposit)
inline

Definition at line 68 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

68{ m_E_deposit = f_E_deposit ;};

◆ SetGlobalTime() [1/2]

void BesCgemDigi::SetGlobalTime ( G4double f_global_time)
inline

Definition at line 69 of file CgemSim-01-00-40/CgemSim/BesCgemDigi.hh.

69{ m_global_time = f_global_time ;};

Referenced by BesCgemDigitizer::Digitize_v1(), BesCgemDigitizer::Digitize_v2(), and BesCgemDigitizer::Digitize_v3().

◆ SetGlobalTime() [2/2]

void BesCgemDigi::SetGlobalTime ( G4double f_global_time)
inline

Definition at line 69 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

69{ m_global_time = f_global_time ;};

◆ SetLayerID() [1/2]

void BesCgemDigi::SetLayerID ( G4int f_ID_layer)
inline

◆ SetLayerID() [2/2]

void BesCgemDigi::SetLayerID ( G4int f_ID_layer)
inline

Definition at line 64 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

64{ m_ID_layer = f_ID_layer ;};

◆ SetSheetID() [1/2]

void BesCgemDigi::SetSheetID ( G4int f_ID_sheet)
inline

◆ SetSheetID() [2/2]

void BesCgemDigi::SetSheetID ( G4int f_ID_sheet)
inline

Definition at line 65 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

65{ m_ID_sheet = f_ID_sheet ;};

◆ SetStripID() [1/2]

void BesCgemDigi::SetStripID ( G4int f_ID_strip)
inline

◆ SetStripID() [2/2]

void BesCgemDigi::SetStripID ( G4int f_ID_strip)
inline

Definition at line 67 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

67{ m_ID_strip = f_ID_strip ;};

◆ SetStripType() [1/2]

void BesCgemDigi::SetStripType ( G4int f_F_XV)
inline

◆ SetStripType() [2/2]

void BesCgemDigi::SetStripType ( G4int f_F_XV)
inline

Definition at line 66 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

66{ m_F_XV = f_F_XV ;};

◆ SetTrackID() [1/2]

void BesCgemDigi::SetTrackID ( G4int f_ID_track)
inline

◆ SetTrackID() [2/2]

void BesCgemDigi::SetTrackID ( G4int f_ID_track)
inline

Definition at line 63 of file CgemSim-01-00-41/CgemSim/BesCgemDigi.hh.

63{ m_ID_track = f_ID_track ;};

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