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

#include <BesEmcDigitizer.hh>

Public Member Functions

 CrystalSingle ()
 CrystalSingle (const CrystalSingle &right)
const CrystalSingleoperator= (const CrystalSingle &right)
 ~CrystalSingle ()
G4int GetPartId ()
G4int GetNTheta ()
G4int GetNPhi ()
G4double GetEdep ()
vector< G4int > * GetHitIndexes ()
void SetPartId (G4int id)
void SetNTheta (G4int theta)
void SetNPhi (G4int phi)
void SetEdep (G4double e)
void AddEdep (G4double e)
 CrystalSingle ()
 CrystalSingle (const CrystalSingle &right)
const CrystalSingleoperator= (const CrystalSingle &right)
 ~CrystalSingle ()
G4int GetPartId ()
G4int GetNTheta ()
G4int GetNPhi ()
G4double GetEdep ()
vector< G4int > * GetHitIndexes ()
void SetPartId (G4int id)
void SetNTheta (G4int theta)
void SetNPhi (G4int phi)
void SetEdep (G4double e)
void AddEdep (G4double e)
 CrystalSingle ()
 CrystalSingle (const CrystalSingle &right)
const CrystalSingleoperator= (const CrystalSingle &right)
 ~CrystalSingle ()
G4int GetPartId ()
G4int GetNTheta ()
G4int GetNPhi ()
G4double GetEdep ()
vector< G4int > * GetHitIndexes ()
void SetPartId (G4int id)
void SetNTheta (G4int theta)
void SetNPhi (G4int phi)
void SetEdep (G4double e)
void AddEdep (G4double e)

Friends

class BesEmcDigitizer

Detailed Description

Constructor & Destructor Documentation

◆ CrystalSingle() [1/6]

CrystalSingle::CrystalSingle ( )
inline

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

35{ hitIndexes = new vector<G4int>; }

Referenced by CrystalSingle(), and operator=().

◆ CrystalSingle() [2/6]

CrystalSingle::CrystalSingle ( const CrystalSingle & right)
inline

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

36 {
37 partId = right.partId;
38 nTheta = right.nTheta;
39 nPhi = right.nPhi;
40 edep = right.edep;
41 hitIndexes = right.hitIndexes;
42 }

◆ ~CrystalSingle() [1/3]

CrystalSingle::~CrystalSingle ( )
inline

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

51{ delete hitIndexes; }

◆ CrystalSingle() [3/6]

CrystalSingle::CrystalSingle ( )
inline

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

35{ hitIndexes = new vector<G4int>; }

◆ CrystalSingle() [4/6]

CrystalSingle::CrystalSingle ( const CrystalSingle & right)
inline

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

36 {
37 partId = right.partId;
38 nTheta = right.nTheta;
39 nPhi = right.nPhi;
40 edep = right.edep;
41 hitIndexes = right.hitIndexes;
42 }

◆ ~CrystalSingle() [2/3]

CrystalSingle::~CrystalSingle ( )
inline

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

51{ delete hitIndexes; }

◆ CrystalSingle() [5/6]

CrystalSingle::CrystalSingle ( )
inline

Definition at line 35 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

35{ hitIndexes = new vector<G4int>; }

◆ CrystalSingle() [6/6]

CrystalSingle::CrystalSingle ( const CrystalSingle & right)
inline

Definition at line 36 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

36 {
37 partId = right.partId;
38 nTheta = right.nTheta;
39 nPhi = right.nPhi;
40 edep = right.edep;
41 hitIndexes = right.hitIndexes;
42 }

◆ ~CrystalSingle() [3/3]

CrystalSingle::~CrystalSingle ( )
inline

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

51{ delete hitIndexes; }

Member Function Documentation

◆ AddEdep() [1/3]

void CrystalSingle::AddEdep ( G4double e)
inline

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

63{ edep += e; }

Referenced by BesEmcDigitizer::GroupHits().

◆ AddEdep() [2/3]

void CrystalSingle::AddEdep ( G4double e)
inline

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

63{ edep += e; }

◆ AddEdep() [3/3]

void CrystalSingle::AddEdep ( G4double e)
inline

Definition at line 63 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

63{ edep += e; }

◆ GetEdep() [1/3]

G4double CrystalSingle::GetEdep ( )
inline

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

56{ return edep; }

Referenced by BesEmcDigitizer::Digitize().

◆ GetEdep() [2/3]

G4double CrystalSingle::GetEdep ( )
inline

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

56{ return edep; }

◆ GetEdep() [3/3]

G4double CrystalSingle::GetEdep ( )
inline

Definition at line 56 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

56{ return edep; }

◆ GetHitIndexes() [1/3]

vector< G4int > * CrystalSingle::GetHitIndexes ( )
inline

◆ GetHitIndexes() [2/3]

vector< G4int > * CrystalSingle::GetHitIndexes ( )
inline

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

57{ return hitIndexes; }

◆ GetHitIndexes() [3/3]

vector< G4int > * CrystalSingle::GetHitIndexes ( )
inline

Definition at line 57 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

57{ return hitIndexes; }

◆ GetNPhi() [1/3]

G4int CrystalSingle::GetNPhi ( )
inline

◆ GetNPhi() [2/3]

G4int CrystalSingle::GetNPhi ( )
inline

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

55{ return nPhi; }

◆ GetNPhi() [3/3]

G4int CrystalSingle::GetNPhi ( )
inline

Definition at line 55 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

55{ return nPhi; }

◆ GetNTheta() [1/3]

G4int CrystalSingle::GetNTheta ( )
inline

◆ GetNTheta() [2/3]

G4int CrystalSingle::GetNTheta ( )
inline

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

54{ return nTheta; }

◆ GetNTheta() [3/3]

G4int CrystalSingle::GetNTheta ( )
inline

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

54{ return nTheta; }

◆ GetPartId() [1/3]

G4int CrystalSingle::GetPartId ( )
inline

◆ GetPartId() [2/3]

G4int CrystalSingle::GetPartId ( )
inline

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

53{ return partId; }

◆ GetPartId() [3/3]

G4int CrystalSingle::GetPartId ( )
inline

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

53{ return partId; }

◆ operator=() [1/3]

const CrystalSingle & CrystalSingle::operator= ( const CrystalSingle & right)
inline

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

43 {
44 partId = right.partId;
45 nTheta = right.nTheta;
46 nPhi = right.nPhi;
47 edep = right.edep;
48 hitIndexes = right.hitIndexes;
49 return *this;
50 }

◆ operator=() [2/3]

const CrystalSingle & CrystalSingle::operator= ( const CrystalSingle & right)
inline

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

43 {
44 partId = right.partId;
45 nTheta = right.nTheta;
46 nPhi = right.nPhi;
47 edep = right.edep;
48 hitIndexes = right.hitIndexes;
49 return *this;
50 }

◆ operator=() [3/3]

const CrystalSingle & CrystalSingle::operator= ( const CrystalSingle & right)
inline

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

43 {
44 partId = right.partId;
45 nTheta = right.nTheta;
46 nPhi = right.nPhi;
47 edep = right.edep;
48 hitIndexes = right.hitIndexes;
49 return *this;
50 }

◆ SetEdep() [1/3]

void CrystalSingle::SetEdep ( G4double e)
inline

◆ SetEdep() [2/3]

void CrystalSingle::SetEdep ( G4double e)
inline

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

62{ edep = e; }

◆ SetEdep() [3/3]

void CrystalSingle::SetEdep ( G4double e)
inline

Definition at line 62 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

62{ edep = e; }

◆ SetNPhi() [1/3]

void CrystalSingle::SetNPhi ( G4int phi)
inline

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

61{ nPhi = phi; }

Referenced by BesEmcDigitizer::GroupHits().

◆ SetNPhi() [2/3]

void CrystalSingle::SetNPhi ( G4int phi)
inline

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

61{ nPhi = phi; }

◆ SetNPhi() [3/3]

void CrystalSingle::SetNPhi ( G4int phi)
inline

Definition at line 61 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

61{ nPhi = phi; }

◆ SetNTheta() [1/3]

void CrystalSingle::SetNTheta ( G4int theta)
inline

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

60{ nTheta = theta; }

Referenced by BesEmcDigitizer::GroupHits().

◆ SetNTheta() [2/3]

void CrystalSingle::SetNTheta ( G4int theta)
inline

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

60{ nTheta = theta; }

◆ SetNTheta() [3/3]

void CrystalSingle::SetNTheta ( G4int theta)
inline

Definition at line 60 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

60{ nTheta = theta; }

◆ SetPartId() [1/3]

void CrystalSingle::SetPartId ( G4int id)
inline

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

59{ partId = id; }

Referenced by BesEmcDigitizer::GroupHits().

◆ SetPartId() [2/3]

void CrystalSingle::SetPartId ( G4int id)
inline

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

59{ partId = id; }

◆ SetPartId() [3/3]

void CrystalSingle::SetPartId ( G4int id)
inline

Definition at line 59 of file Simulation/BOOST/EmcSim/include/EmcSim/BesEmcDigitizer.hh.

59{ partId = id; }

◆ BesEmcDigitizer


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