#include <BesMdcDigi.hh>
Definition at line 19 of file BesMdcDigi.hh.
◆ BesMdcDigi() [1/2]
BesMdcDigi::BesMdcDigi |
( |
| ) |
|
Definition at line 20 of file BesMdcDigi.cc.
21{
22 trackID=0;
23 layerNo=0;
24 cellNo=0;
25 edep=0;
26 driftT=0;
27}
◆ ~BesMdcDigi()
BesMdcDigi::~BesMdcDigi |
( |
| ) |
|
|
virtual |
◆ BesMdcDigi() [2/2]
BesMdcDigi::BesMdcDigi |
( |
const BesMdcDigi & | right | ) |
|
Definition at line 31 of file BesMdcDigi.cc.
32:G4VDigi()
33{
34 trackID = right.trackID;
35 layerNo = right.layerNo;
36 cellNo = right.cellNo;
37 edep = right.edep;
38 driftT = right.driftT;
39}
◆ GetCellNo()
G4int BesMdcDigi::GetCellNo |
( |
| ) |
|
|
inline |
◆ GetDriftT()
G4double BesMdcDigi::GetDriftT |
( |
| ) |
|
|
inline |
◆ GetEdep()
G4double BesMdcDigi::GetEdep |
( |
| ) |
|
|
inline |
◆ GetLayerNo()
G4int BesMdcDigi::GetLayerNo |
( |
| ) |
|
|
inline |
◆ GetTrackID()
G4int BesMdcDigi::GetTrackID |
( |
| ) |
|
|
inline |
◆ operator delete()
void BesMdcDigi::operator delete |
( |
void * | aDigi | ) |
|
|
inline |
Definition at line 70 of file BesMdcDigi.hh.
71{
73}
G4Allocator< BesMdcDigi > BesMdcDigiAllocator
◆ operator new()
void * BesMdcDigi::operator new |
( |
size_t | | ) |
|
|
inline |
Definition at line 63 of file BesMdcDigi.hh.
64{
65 void *aDigi;
67 return aDigi;
68}
◆ operator=()
Definition at line 42 of file BesMdcDigi.cc.
43{
44 trackID = right.trackID;
45 layerNo = right.layerNo;
46 cellNo = right.cellNo;
47 edep = right.edep;
48 driftT = right.driftT;
49 return *this;
50}
◆ operator==()
int BesMdcDigi::operator== |
( |
const BesMdcDigi & | right | ) |
const |
|
virtual |
Definition at line 53 of file BesMdcDigi.cc.
54{
55 return (this==&right) ? 1 : 0;
56}
◆ Print()
void BesMdcDigi::Print |
( |
| ) |
|
|
virtual |
Definition at line 75 of file BesMdcDigi.cc.
76{
77 G4cout << " trackID: " << trackID << " layerNo: " << layerNo
78 << " cellNo: " << cellNo
79 << " energy deposit: " << G4BestUnit(edep,"Energy")
80 << " driftT: " << G4BestUnit(driftT,"Time")<<G4endl;
81}
◆ SetCellNo()
void BesMdcDigi::SetCellNo |
( |
G4int | cell | ) |
|
|
inline |
◆ SetDriftT()
void BesMdcDigi::SetDriftT |
( |
G4double | time | ) |
|
|
inline |
◆ SetEdep()
void BesMdcDigi::SetEdep |
( |
G4double | de | ) |
|
|
inline |
◆ SetLayerNo()
void BesMdcDigi::SetLayerNo |
( |
G4int | layer | ) |
|
|
inline |
◆ SetTrackID()
void BesMdcDigi::SetTrackID |
( |
G4int | track | ) |
|
|
inline |
The documentation for this class was generated from the following files: