CGEM BOSS 6.6.5.g
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
 

Detailed Description

Definition at line 46 of file BesCgemDigi.hh.

Constructor & Destructor Documentation

◆ BesCgemDigi() [1/2]

BesCgemDigi::BesCgemDigi ( )

Definition at line 60 of file 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()

BesCgemDigi::~BesCgemDigi ( )
virtual

Definition at line 72 of file BesCgemDigi.cc.

73{
74}

◆ BesCgemDigi() [2/2]

BesCgemDigi::BesCgemDigi ( const BesCgemDigi right)

Definition at line 77 of file 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}

Member Function Documentation

◆ GetEnergyDeposit()

G4double BesCgemDigi::GetEnergyDeposit ( ) const
inline

Definition at line 77 of file BesCgemDigi.hh.

77{return m_E_deposit ;};

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

◆ GetGlobalTime()

G4double BesCgemDigi::GetGlobalTime ( ) const
inline

Definition at line 78 of file BesCgemDigi.hh.

78{return m_global_time ;};

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

◆ GetLayerID()

G4int BesCgemDigi::GetLayerID ( ) const
inline

Definition at line 73 of file BesCgemDigi.hh.

73{return m_ID_layer ;};

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

◆ GetSheetID()

G4int BesCgemDigi::GetSheetID ( ) const
inline

Definition at line 74 of file BesCgemDigi.hh.

74{return m_ID_sheet ;};

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

◆ GetStripID()

G4int BesCgemDigi::GetStripID ( ) const
inline

Definition at line 76 of file BesCgemDigi.hh.

76{return m_ID_strip ;};

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

◆ GetStripType()

G4int BesCgemDigi::GetStripType ( ) const
inline

Definition at line 75 of file BesCgemDigi.hh.

75{return m_F_XV ;};

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

◆ GetTrackID()

G4int BesCgemDigi::GetTrackID ( ) const
inline

Definition at line 72 of file BesCgemDigi.hh.

72{return m_ID_track ;};

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

◆ operator delete()

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

Definition at line 105 of file BesCgemDigi.hh.

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

◆ operator new()

void * BesCgemDigi::operator new ( size_t  )
inline

Definition at line 97 of file BesCgemDigi.hh.

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

◆ operator=()

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

Definition at line 90 of file 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==()

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

Definition at line 104 of file BesCgemDigi.cc.

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

◆ Print()

void BesCgemDigi::Print ( )
virtual

Definition at line 110 of file 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()

◆ SetEnergyDeposit()

void BesCgemDigi::SetEnergyDeposit ( G4double  f_E_deposit)
inline

Definition at line 68 of file BesCgemDigi.hh.

68{ m_E_deposit = f_E_deposit ;};

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

◆ SetGlobalTime()

void BesCgemDigi::SetGlobalTime ( G4double  f_global_time)
inline

Definition at line 69 of file BesCgemDigi.hh.

69{ m_global_time = f_global_time ;};

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

◆ SetLayerID()

void BesCgemDigi::SetLayerID ( G4int  f_ID_layer)
inline

Definition at line 64 of file BesCgemDigi.hh.

64{ m_ID_layer = f_ID_layer ;};

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

◆ SetSheetID()

void BesCgemDigi::SetSheetID ( G4int  f_ID_sheet)
inline

Definition at line 65 of file BesCgemDigi.hh.

65{ m_ID_sheet = f_ID_sheet ;};

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

◆ SetStripID()

void BesCgemDigi::SetStripID ( G4int  f_ID_strip)
inline

Definition at line 67 of file BesCgemDigi.hh.

67{ m_ID_strip = f_ID_strip ;};

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

◆ SetStripType()

void BesCgemDigi::SetStripType ( G4int  f_F_XV)
inline

Definition at line 66 of file BesCgemDigi.hh.

66{ m_F_XV = f_F_XV ;};

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

◆ SetTrackID()

void BesCgemDigi::SetTrackID ( G4int  f_ID_track)
inline

Definition at line 63 of file BesCgemDigi.hh.

63{ m_ID_track = f_ID_track ;};

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


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