BOSS 7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
BesMdcDigi Class Reference

#include <BesMdcDigi.hh>

+ Inheritance diagram for BesMdcDigi:

Public Member Functions

 BesMdcDigi ()
 
virtual ~BesMdcDigi ()
 
 BesMdcDigi (const BesMdcDigi &)
 
const BesMdcDigioperator= (const BesMdcDigi &)
 
virtual G4int operator== (const BesMdcDigi &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Print ()
 
void SetTrackID (G4int track)
 
void SetLayerNo (G4int layer)
 
void SetCellNo (G4int cell)
 
void SetEdep (G4double de)
 
void SetDriftT (G4double time)
 
G4int GetTrackID ()
 
G4int GetLayerNo ()
 
G4int GetCellNo ()
 
G4double GetEdep ()
 
G4double GetDriftT ()
 
 BesMdcDigi ()
 
virtual ~BesMdcDigi ()
 
 BesMdcDigi (const BesMdcDigi &)
 
const BesMdcDigioperator= (const BesMdcDigi &)
 
virtual G4int operator== (const BesMdcDigi &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
virtual void Print ()
 
void SetTrackID (G4int track)
 
void SetLayerNo (G4int layer)
 
void SetCellNo (G4int cell)
 
void SetEdep (G4double de)
 
void SetDriftT (G4double time)
 
G4int GetTrackID ()
 
G4int GetLayerNo ()
 
G4int GetCellNo ()
 
G4double GetEdep ()
 
G4double GetDriftT ()
 

Detailed Description

Constructor & Destructor Documentation

◆ BesMdcDigi() [1/4]

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

BesMdcDigi::~BesMdcDigi ( )
virtual

Definition at line 29 of file BesMdcDigi.cc.

29{}

◆ BesMdcDigi() [2/4]

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}

◆ BesMdcDigi() [3/4]

BesMdcDigi::BesMdcDigi ( )

◆ ~BesMdcDigi() [2/2]

virtual BesMdcDigi::~BesMdcDigi ( )
virtual

◆ BesMdcDigi() [4/4]

BesMdcDigi::BesMdcDigi ( const BesMdcDigi )

Member Function Documentation

◆ GetCellNo() [1/2]

G4int BesMdcDigi::GetCellNo ( )
inline

Definition at line 45 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

45{ return cellNo;};

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

◆ GetCellNo() [2/2]

G4int BesMdcDigi::GetCellNo ( )
inline

Definition at line 45 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

45{ return cellNo;};

◆ GetDriftT() [1/2]

G4double BesMdcDigi::GetDriftT ( )
inline

Definition at line 47 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

47{ return driftT;};

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

◆ GetDriftT() [2/2]

G4double BesMdcDigi::GetDriftT ( )
inline

Definition at line 47 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

47{ return driftT;};

◆ GetEdep() [1/2]

G4double BesMdcDigi::GetEdep ( )
inline

Definition at line 46 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

46{ return edep; };

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

◆ GetEdep() [2/2]

G4double BesMdcDigi::GetEdep ( )
inline

Definition at line 46 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

46{ return edep; };

◆ GetLayerNo() [1/2]

G4int BesMdcDigi::GetLayerNo ( )
inline

Definition at line 44 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

44{ return layerNo; };

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

◆ GetLayerNo() [2/2]

G4int BesMdcDigi::GetLayerNo ( )
inline

Definition at line 44 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

44{ return layerNo; };

◆ GetTrackID() [1/2]

G4int BesMdcDigi::GetTrackID ( )
inline

Definition at line 43 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

43{ return trackID; };

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

◆ GetTrackID() [2/2]

G4int BesMdcDigi::GetTrackID ( )
inline

Definition at line 43 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

43{ return trackID; };

◆ operator delete() [1/2]

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

Definition at line 70 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

71{
72 BesMdcDigiAllocator.FreeSingle((BesMdcDigi*) aDigi);
73}
G4Allocator< BesMdcDigi > BesMdcDigiAllocator
Definition: BesMdcDigi.cc:18

◆ operator delete() [2/2]

void BesMdcDigi::operator delete ( void *  )
inline

◆ operator new() [1/2]

void * BesMdcDigi::operator new ( size_t  )
inline

Definition at line 63 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

64{
65 void *aDigi;
66 aDigi = (void *) BesMdcDigiAllocator.MallocSingle();
67 return aDigi;
68}

◆ operator new() [2/2]

void * BesMdcDigi::operator new ( size_t  )
inline

◆ operator=() [1/2]

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

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

const BesMdcDigi & BesMdcDigi::operator= ( const BesMdcDigi )

◆ operator==() [1/2]

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

Definition at line 53 of file BesMdcDigi.cc.

54{
55 return (this==&right) ? 1 : 0;
56}

◆ operator==() [2/2]

virtual G4int BesMdcDigi::operator== ( const BesMdcDigi ) const
virtual

◆ Print() [1/2]

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}

◆ Print() [2/2]

virtual void BesMdcDigi::Print ( )
virtual

◆ SetCellNo() [1/2]

void BesMdcDigi::SetCellNo ( G4int  cell)
inline

Definition at line 39 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

39{ cellNo =cell;};

Referenced by BesMdcDigitizer::Digitize().

◆ SetCellNo() [2/2]

void BesMdcDigi::SetCellNo ( G4int  cell)
inline

Definition at line 39 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

39{ cellNo =cell;};

◆ SetDriftT() [1/2]

void BesMdcDigi::SetDriftT ( G4double  time)
inline

Definition at line 41 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

41{ driftT = time;};
Double_t time

Referenced by BesMdcDigitizer::Digitize().

◆ SetDriftT() [2/2]

void BesMdcDigi::SetDriftT ( G4double  time)
inline

Definition at line 41 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

41{ driftT = time;};

◆ SetEdep() [1/2]

void BesMdcDigi::SetEdep ( G4double  de)
inline

Definition at line 40 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

40{ edep = de; };

Referenced by BesMdcDigitizer::Digitize().

◆ SetEdep() [2/2]

void BesMdcDigi::SetEdep ( G4double  de)
inline

Definition at line 40 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

40{ edep = de; };

◆ SetLayerNo() [1/2]

void BesMdcDigi::SetLayerNo ( G4int  layer)
inline

Definition at line 38 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

38{ layerNo = layer; };

Referenced by BesMdcDigitizer::Digitize().

◆ SetLayerNo() [2/2]

void BesMdcDigi::SetLayerNo ( G4int  layer)
inline

Definition at line 38 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

38{ layerNo = layer; };

◆ SetTrackID() [1/2]

void BesMdcDigi::SetTrackID ( G4int  track)
inline

Definition at line 37 of file InstallArea/include/MdcSim/MdcSim/BesMdcDigi.hh.

37{ trackID = track; };

Referenced by BesMdcDigitizer::Digitize().

◆ SetTrackID() [2/2]

void BesMdcDigi::SetTrackID ( G4int  track)
inline

Definition at line 37 of file Simulation/BOOST/MdcSim/MdcSim-00-00-73/MdcSim/BesMdcDigi.hh.

37{ trackID = track; };

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