BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEmcDigi Class Reference

#include <BesEmcDigi.hh>

Inheritance diagram for BesEmcDigi:

Public Member Functions

 BesEmcDigi ()
virtual ~BesEmcDigi ()
 BesEmcDigi (const BesEmcDigi &)
const BesEmcDigioperator= (const BesEmcDigi &)
virtual BesEmcDigioperator+= (const BesEmcDigi &)
virtual G4int operator== (const BesEmcDigi &) const
void * operator new (size_t)
void operator delete (void *)
virtual void Draw ()
virtual void Print ()
void MakeWaveform ()
void SetPartId (G4int id)
void SetThetaNb (G4int nTheta)
void SetPhiNb (G4int nPhi)
void SetEnergy (G4double energy)
void SetTime (G4double time)
void SetTrackIndex (G4int index)
void SetWaveform (BesEmcWaveform *wave)
G4int GetPartId ()
G4int GetThetaNb ()
G4int GetPhiNb ()
G4double GetEnergy ()
G4double GetTime ()
G4int GetTrackIndex ()
BesEmcWaveformGetWaveform ()
 BesEmcDigi ()
virtual ~BesEmcDigi ()
 BesEmcDigi (const BesEmcDigi &)
const BesEmcDigioperator= (const BesEmcDigi &)
virtual BesEmcDigioperator+= (const BesEmcDigi &)
virtual G4int operator== (const BesEmcDigi &) const
void * operator new (size_t)
void operator delete (void *)
virtual void Draw ()
virtual void Print ()
void MakeWaveform ()
void SetPartId (G4int id)
void SetThetaNb (G4int nTheta)
void SetPhiNb (G4int nPhi)
void SetEnergy (G4double energy)
void SetTime (G4double time)
void SetTrackIndex (G4int index)
void SetWaveform (BesEmcWaveform *wave)
G4int GetPartId ()
G4int GetThetaNb ()
G4int GetPhiNb ()
G4double GetEnergy ()
G4double GetTime ()
G4int GetTrackIndex ()
BesEmcWaveformGetWaveform ()
 BesEmcDigi ()
virtual ~BesEmcDigi ()
 BesEmcDigi (const BesEmcDigi &)
const BesEmcDigioperator= (const BesEmcDigi &)
virtual BesEmcDigioperator+= (const BesEmcDigi &)
virtual G4int operator== (const BesEmcDigi &) const
void * operator new (size_t)
void operator delete (void *)
virtual void Draw ()
virtual void Print ()
void MakeWaveform ()
void SetPartId (G4int id)
void SetThetaNb (G4int nTheta)
void SetPhiNb (G4int nPhi)
void SetEnergy (G4double energy)
void SetTime (G4double time)
void SetTrackIndex (G4int index)
void SetWaveform (BesEmcWaveform *wave)
G4int GetPartId ()
G4int GetThetaNb ()
G4int GetPhiNb ()
G4double GetEnergy ()
G4double GetTime ()
G4int GetTrackIndex ()
BesEmcWaveformGetWaveform ()

Detailed Description

Constructor & Destructor Documentation

◆ BesEmcDigi() [1/6]

BesEmcDigi::BesEmcDigi ( )

Definition at line 16 of file BesEmcDigi.cc.

16 {
17 m_partId = 0;
18 m_nTheta = 0;
19 m_nPhi = 0;
20 m_energy = 0;
21 m_time = 0;
22 digiWaveform = new BesEmcWaveform();
23}

Referenced by BesEmcDigi(), operator delete(), operator+=(), operator=(), and operator==().

◆ ~BesEmcDigi() [1/3]

BesEmcDigi::~BesEmcDigi ( )
virtual

Definition at line 25 of file BesEmcDigi.cc.

25 {
26 if ( digiWaveform ) delete digiWaveform;
27}

◆ BesEmcDigi() [2/6]

BesEmcDigi::BesEmcDigi ( const BesEmcDigi & right)

Definition at line 29 of file BesEmcDigi.cc.

29 : G4VDigi() {
30 m_partId = right.m_partId;
31 m_nTheta = right.m_nTheta;
32 m_nPhi = right.m_nPhi;
33 m_energy = right.m_energy;
34 m_time = right.m_time;
35}

◆ BesEmcDigi() [3/6]

BesEmcDigi::BesEmcDigi ( )

◆ ~BesEmcDigi() [2/3]

virtual BesEmcDigi::~BesEmcDigi ( )
virtual

◆ BesEmcDigi() [4/6]

BesEmcDigi::BesEmcDigi ( const BesEmcDigi & )

◆ BesEmcDigi() [5/6]

BesEmcDigi::BesEmcDigi ( )

◆ ~BesEmcDigi() [3/3]

virtual BesEmcDigi::~BesEmcDigi ( )
virtual

◆ BesEmcDigi() [6/6]

BesEmcDigi::BesEmcDigi ( const BesEmcDigi & )

Member Function Documentation

◆ Draw() [1/3]

void BesEmcDigi::Draw ( )
virtual

Definition at line 61 of file BesEmcDigi.cc.

61{}

◆ Draw() [2/3]

virtual void BesEmcDigi::Draw ( )
virtual

◆ Draw() [3/3]

virtual void BesEmcDigi::Draw ( )
virtual

◆ GetEnergy() [1/3]

◆ GetEnergy() [2/3]

G4double BesEmcDigi::GetEnergy ( )
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

51{ return m_energy; };

◆ GetEnergy() [3/3]

G4double BesEmcDigi::GetEnergy ( )
inline

Definition at line 51 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

51{ return m_energy; };

◆ GetPartId() [1/3]

◆ GetPartId() [2/3]

G4int BesEmcDigi::GetPartId ( )
inline

Definition at line 48 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

48{ return m_partId; };

◆ GetPartId() [3/3]

G4int BesEmcDigi::GetPartId ( )
inline

Definition at line 48 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

48{ return m_partId; };

◆ GetPhiNb() [1/3]

◆ GetPhiNb() [2/3]

G4int BesEmcDigi::GetPhiNb ( )
inline

Definition at line 50 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

50{ return m_nPhi; };

◆ GetPhiNb() [3/3]

G4int BesEmcDigi::GetPhiNb ( )
inline

Definition at line 50 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

50{ return m_nPhi; };

◆ GetThetaNb() [1/3]

◆ GetThetaNb() [2/3]

G4int BesEmcDigi::GetThetaNb ( )
inline

Definition at line 49 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

49{ return m_nTheta; };

◆ GetThetaNb() [3/3]

G4int BesEmcDigi::GetThetaNb ( )
inline

Definition at line 49 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

49{ return m_nTheta; };

◆ GetTime() [1/3]

◆ GetTime() [2/3]

G4double BesEmcDigi::GetTime ( )
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

52{ return m_time; };

◆ GetTime() [3/3]

G4double BesEmcDigi::GetTime ( )
inline

Definition at line 52 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

52{ return m_time; };

◆ GetTrackIndex() [1/3]

G4int BesEmcDigi::GetTrackIndex ( )
inline

◆ GetTrackIndex() [2/3]

G4int BesEmcDigi::GetTrackIndex ( )
inline

Definition at line 53 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

53{ return m_trackIndex; };

◆ GetTrackIndex() [3/3]

G4int BesEmcDigi::GetTrackIndex ( )
inline

Definition at line 53 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

53{ return m_trackIndex; };

◆ GetWaveform() [1/3]

BesEmcWaveform * BesEmcDigi::GetWaveform ( )
inline

◆ GetWaveform() [2/3]

BesEmcWaveform * BesEmcDigi::GetWaveform ( )
inline

Definition at line 54 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

54{ return digiWaveform; };

◆ GetWaveform() [3/3]

BesEmcWaveform * BesEmcDigi::GetWaveform ( )
inline

Definition at line 54 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

54{ return digiWaveform; };

◆ MakeWaveform() [1/3]

void BesEmcDigi::MakeWaveform ( )

Definition at line 65 of file BesEmcDigi.cc.

65{ digiWaveform->updateWaveform( this ); }

◆ MakeWaveform() [2/3]

void BesEmcDigi::MakeWaveform ( )

◆ MakeWaveform() [3/3]

void BesEmcDigi::MakeWaveform ( )

◆ operator delete() [1/3]

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

Definition at line 78 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcSim/BesEmcDigi.hh.

78 {
79 BesEmcDigiAllocator.FreeSingle( (BesEmcDigi*)aDigi );
80}
G4Allocator< BesEmcDigi > BesEmcDigiAllocator
Definition BesEmcDigi.cc:14

◆ operator delete() [2/3]

void BesEmcDigi::operator delete ( void * )
inline

◆ operator delete() [3/3]

void BesEmcDigi::operator delete ( void * )
inline

◆ operator new() [1/3]

void * BesEmcDigi::operator new ( size_t )
inline

Definition at line 72 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcSim/BesEmcDigi.hh.

72 {
73 void* aDigi;
74 aDigi = (void*)BesEmcDigiAllocator.MallocSingle();
75 return aDigi;
76}

◆ operator new() [2/3]

void * BesEmcDigi::operator new ( size_t )
inline

◆ operator new() [3/3]

void * BesEmcDigi::operator new ( size_t )
inline

◆ operator+=() [1/3]

BesEmcDigi & BesEmcDigi::operator+= ( const BesEmcDigi & right)
virtual

Definition at line 46 of file BesEmcDigi.cc.

46 {
47 BesEmcDigi* digi = const_cast<BesEmcDigi*>( &right );
48 digiWaveform->updateWaveform( digi );
49
50 G4long bin;
51 m_energy = digiWaveform->max( bin );
52 m_time = (G4double)bin;
53
54 return *this;
55}
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per bin
Definition FoamA.h:85

◆ operator+=() [2/3]

virtual BesEmcDigi & BesEmcDigi::operator+= ( const BesEmcDigi & )
virtual

◆ operator+=() [3/3]

virtual BesEmcDigi & BesEmcDigi::operator+= ( const BesEmcDigi & )
virtual

◆ operator=() [1/3]

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

Definition at line 37 of file BesEmcDigi.cc.

37 {
38 m_partId = right.m_partId;
39 m_nTheta = right.m_nTheta;
40 m_nPhi = right.m_nPhi;
41 m_energy = right.m_energy;
42 m_time = right.m_time;
43 return *this;
44}

◆ operator=() [2/3]

const BesEmcDigi & BesEmcDigi::operator= ( const BesEmcDigi & )

◆ operator=() [3/3]

const BesEmcDigi & BesEmcDigi::operator= ( const BesEmcDigi & )

◆ operator==() [1/3]

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

Definition at line 57 of file BesEmcDigi.cc.

57 {
58 return ( this == &right ) ? 1 : 0;
59}

◆ operator==() [2/3]

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

◆ operator==() [3/3]

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

◆ Print() [1/3]

void BesEmcDigi::Print ( )
virtual

Definition at line 63 of file BesEmcDigi.cc.

63{}

◆ Print() [2/3]

virtual void BesEmcDigi::Print ( )
virtual

◆ Print() [3/3]

virtual void BesEmcDigi::Print ( )
virtual

◆ SetEnergy() [1/3]

void BesEmcDigi::SetEnergy ( G4double energy)
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/EmcSim/BesEmcDigi.hh.

43{ m_energy = energy; };
************Class m_ypar INTEGER m_KeyWgt INTEGER m_KeyIHVP INTEGER m_KeyGPS INTEGER m_IsBeamPolarized INTEGER m_EvtGenInterface DOUBLE PRECISION m_Emin DOUBLE PRECISION m_sphot DOUBLE PRECISION m_Xenph DOUBLE PRECISION m_q2 DOUBLE PRECISION m_PolBeam2 DOUBLE PRECISION m_xErrPb *COMMON c_KK2f $ !CMS energy average $ !Spin Polarization vector first beam $ !Spin Polarization vector second beam $ !Beam energy spread[GeV] $ !minimum hadronization energy[GeV] $ !input READ never touch them !$ !debug facility $ !maximum weight $ !inverse alfaQED $ !minimum real photon energy
Definition KK2f.h:50

Referenced by BesEmcDigitizer::AddNoise5x5(), BesEmcDigitizer::AddNoiseAll(), BesEmcDigitizer::Digitize(), and BesTuningIO::GetEmcRootDigi().

◆ SetEnergy() [2/3]

void BesEmcDigi::SetEnergy ( G4double energy)
inline

Definition at line 43 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

43{ m_energy = energy; };

◆ SetEnergy() [3/3]

void BesEmcDigi::SetEnergy ( G4double energy)
inline

Definition at line 43 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

43{ m_energy = energy; };

◆ SetPartId() [1/3]

void BesEmcDigi::SetPartId ( G4int id)
inline

◆ SetPartId() [2/3]

void BesEmcDigi::SetPartId ( G4int id)
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

40{ m_partId = id; };

◆ SetPartId() [3/3]

void BesEmcDigi::SetPartId ( G4int id)
inline

Definition at line 40 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

40{ m_partId = id; };

◆ SetPhiNb() [1/3]

◆ SetPhiNb() [2/3]

void BesEmcDigi::SetPhiNb ( G4int nPhi)
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

42{ m_nPhi = nPhi; };

◆ SetPhiNb() [3/3]

void BesEmcDigi::SetPhiNb ( G4int nPhi)
inline

Definition at line 42 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

42{ m_nPhi = nPhi; };

◆ SetThetaNb() [1/3]

void BesEmcDigi::SetThetaNb ( G4int nTheta)
inline

◆ SetThetaNb() [2/3]

void BesEmcDigi::SetThetaNb ( G4int nTheta)
inline

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

41{ m_nTheta = nTheta; };

◆ SetThetaNb() [3/3]

void BesEmcDigi::SetThetaNb ( G4int nTheta)
inline

Definition at line 41 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

41{ m_nTheta = nTheta; };

◆ SetTime() [1/3]

void BesEmcDigi::SetTime ( G4double time)
inline

◆ SetTime() [2/3]

void BesEmcDigi::SetTime ( G4double time)
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

44{ m_time = time; };

◆ SetTime() [3/3]

void BesEmcDigi::SetTime ( G4double time)
inline

Definition at line 44 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

44{ m_time = time; };

◆ SetTrackIndex() [1/3]

void BesEmcDigi::SetTrackIndex ( G4int index)
inline

◆ SetTrackIndex() [2/3]

void BesEmcDigi::SetTrackIndex ( G4int index)
inline

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

45{ m_trackIndex = index; };

◆ SetTrackIndex() [3/3]

void BesEmcDigi::SetTrackIndex ( G4int index)
inline

Definition at line 45 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

45{ m_trackIndex = index; };

◆ SetWaveform() [1/3]

void BesEmcDigi::SetWaveform ( BesEmcWaveform * wave)
inline

◆ SetWaveform() [2/3]

void BesEmcDigi::SetWaveform ( BesEmcWaveform * wave)
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/EmcSim/BesEmcDigi.hh.

46{ digiWaveform = wave; };

◆ SetWaveform() [3/3]

void BesEmcDigi::SetWaveform ( BesEmcWaveform * wave)
inline

Definition at line 46 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigi.hh.

46{ digiWaveform = wave; };

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