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

Constructor & Destructor Documentation

◆ BesCgemDigi() [1/4]

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

BesCgemDigi::~BesCgemDigi ( )
virtual

Definition at line 72 of file BesCgemDigi.cc.

73{
74}

◆ BesCgemDigi() [2/4]

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}

◆ 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 InstallArea/include/CgemSim/CgemSim/BesCgemDigi.hh.

77{return m_E_deposit ;};

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

◆ GetEnergyDeposit() [2/2]

G4double BesCgemDigi::GetEnergyDeposit ( ) const
inline

Definition at line 77 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

77{return m_E_deposit ;};

◆ GetGlobalTime() [1/2]

G4double BesCgemDigi::GetGlobalTime ( ) const
inline

Definition at line 78 of file InstallArea/include/CgemSim/CgemSim/BesCgemDigi.hh.

78{return m_global_time ;};

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

◆ GetGlobalTime() [2/2]

G4double BesCgemDigi::GetGlobalTime ( ) const
inline

Definition at line 78 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

78{return m_global_time ;};

◆ GetLayerID() [1/2]

G4int BesCgemDigi::GetLayerID ( ) const
inline

Definition at line 73 of file InstallArea/include/CgemSim/CgemSim/BesCgemDigi.hh.

73{return m_ID_layer ;};

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

◆ GetLayerID() [2/2]

G4int BesCgemDigi::GetLayerID ( ) const
inline

Definition at line 73 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

73{return m_ID_layer ;};

◆ GetSheetID() [1/2]

G4int BesCgemDigi::GetSheetID ( ) const
inline

Definition at line 74 of file InstallArea/include/CgemSim/CgemSim/BesCgemDigi.hh.

74{return m_ID_sheet ;};

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

◆ GetSheetID() [2/2]

G4int BesCgemDigi::GetSheetID ( ) const
inline

Definition at line 74 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

74{return m_ID_sheet ;};

◆ GetStripID() [1/2]

G4int BesCgemDigi::GetStripID ( ) const
inline

Definition at line 76 of file InstallArea/include/CgemSim/CgemSim/BesCgemDigi.hh.

76{return m_ID_strip ;};

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

◆ GetStripID() [2/2]

G4int BesCgemDigi::GetStripID ( ) const
inline

Definition at line 76 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

76{return m_ID_strip ;};

◆ GetStripType() [1/2]

G4int BesCgemDigi::GetStripType ( ) const
inline

◆ GetStripType() [2/2]

G4int BesCgemDigi::GetStripType ( ) const
inline

Definition at line 75 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

75{return m_F_XV ;};

◆ GetTrackID() [1/2]

G4int BesCgemDigi::GetTrackID ( ) const
inline

Definition at line 72 of file InstallArea/include/CgemSim/CgemSim/BesCgemDigi.hh.

72{return m_ID_track ;};

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

◆ GetTrackID() [2/2]

G4int BesCgemDigi::GetTrackID ( ) const
inline

Definition at line 72 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/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 InstallArea/include/CgemSim/CgemSim/BesCgemDigi.hh.

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

◆ 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 InstallArea/include/CgemSim/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 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 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 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}

◆ 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 Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

68{ m_E_deposit = f_E_deposit ;};

◆ SetGlobalTime() [1/2]

void BesCgemDigi::SetGlobalTime ( G4double  f_global_time)
inline

◆ SetGlobalTime() [2/2]

void BesCgemDigi::SetGlobalTime ( G4double  f_global_time)
inline

Definition at line 69 of file Simulation/BOOST/CgemSim/CgemSim-01-00-32/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 Simulation/BOOST/CgemSim/CgemSim-01-00-32/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 Simulation/BOOST/CgemSim/CgemSim-01-00-32/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 Simulation/BOOST/CgemSim/CgemSim-01-00-32/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 Simulation/BOOST/CgemSim/CgemSim-01-00-32/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 Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemDigi.hh.

63{ m_ID_track = f_ID_track ;};

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