BOSS 7.0.4
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)
 

Friends

class BesEmcDigitizer
 

Detailed Description

Constructor & Destructor Documentation

◆ CrystalSingle() [1/4]

CrystalSingle::CrystalSingle ( )
inline

Definition at line 32 of file InstallArea/include/EmcSim/EmcSim/BesEmcDigitizer.hh.

33 {
34 hitIndexes = new vector<G4int>;
35 }

◆ CrystalSingle() [2/4]

CrystalSingle::CrystalSingle ( const CrystalSingle right)
inline

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

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

◆ ~CrystalSingle() [1/2]

CrystalSingle::~CrystalSingle ( )
inline

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

54 {
55 delete hitIndexes;
56 }

◆ CrystalSingle() [3/4]

CrystalSingle::CrystalSingle ( )
inline

Definition at line 32 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

33 {
34 hitIndexes = new vector<G4int>;
35 }

◆ CrystalSingle() [4/4]

CrystalSingle::CrystalSingle ( const CrystalSingle right)
inline

Definition at line 36 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

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

◆ ~CrystalSingle() [2/2]

CrystalSingle::~CrystalSingle ( )
inline

Definition at line 53 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

54 {
55 delete hitIndexes;
56 }

Member Function Documentation

◆ AddEdep() [1/2]

void CrystalSingle::AddEdep ( G4double  e)
inline

Definition at line 68 of file InstallArea/include/EmcSim/EmcSim/BesEmcDigitizer.hh.

68{edep += e;}

Referenced by BesEmcDigitizer::GroupHits().

◆ AddEdep() [2/2]

void CrystalSingle::AddEdep ( G4double  e)
inline

Definition at line 68 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

68{edep += e;}

◆ GetEdep() [1/2]

G4double CrystalSingle::GetEdep ( )
inline

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

61{return edep;}

Referenced by BesEmcDigitizer::Digitize().

◆ GetEdep() [2/2]

G4double CrystalSingle::GetEdep ( )
inline

Definition at line 61 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

61{return edep;}

◆ GetHitIndexes() [1/2]

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

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

62{return hitIndexes;}

Referenced by BesEmcDigitizer::Digitize(), and BesEmcDigitizer::GroupHits().

◆ GetHitIndexes() [2/2]

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

Definition at line 62 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

62{return hitIndexes;}

◆ GetNPhi() [1/2]

G4int CrystalSingle::GetNPhi ( )
inline

◆ GetNPhi() [2/2]

G4int CrystalSingle::GetNPhi ( )
inline

Definition at line 60 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

60{return nPhi;}

◆ GetNTheta() [1/2]

G4int CrystalSingle::GetNTheta ( )
inline

◆ GetNTheta() [2/2]

G4int CrystalSingle::GetNTheta ( )
inline

Definition at line 59 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

59{return nTheta;}

◆ GetPartId() [1/2]

G4int CrystalSingle::GetPartId ( )
inline

◆ GetPartId() [2/2]

G4int CrystalSingle::GetPartId ( )
inline

Definition at line 58 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

58{return partId;}

◆ operator=() [1/2]

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

Definition at line 44 of file InstallArea/include/EmcSim/EmcSim/BesEmcDigitizer.hh.

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

◆ operator=() [2/2]

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

Definition at line 44 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

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

◆ SetEdep() [1/2]

void CrystalSingle::SetEdep ( G4double  e)
inline

Definition at line 67 of file InstallArea/include/EmcSim/EmcSim/BesEmcDigitizer.hh.

67{edep = e;}

Referenced by BesEmcDigitizer::GroupHits().

◆ SetEdep() [2/2]

void CrystalSingle::SetEdep ( G4double  e)
inline

Definition at line 67 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

67{edep = e;}

◆ SetNPhi() [1/2]

void CrystalSingle::SetNPhi ( G4int  phi)
inline

Definition at line 66 of file InstallArea/include/EmcSim/EmcSim/BesEmcDigitizer.hh.

66{nPhi = phi;}

Referenced by BesEmcDigitizer::GroupHits().

◆ SetNPhi() [2/2]

void CrystalSingle::SetNPhi ( G4int  phi)
inline

Definition at line 66 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

66{nPhi = phi;}

◆ SetNTheta() [1/2]

void CrystalSingle::SetNTheta ( G4int  theta)
inline

Definition at line 65 of file InstallArea/include/EmcSim/EmcSim/BesEmcDigitizer.hh.

65{nTheta = theta;}

Referenced by BesEmcDigitizer::GroupHits().

◆ SetNTheta() [2/2]

void CrystalSingle::SetNTheta ( G4int  theta)
inline

Definition at line 65 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

65{nTheta = theta;}

◆ SetPartId() [1/2]

void CrystalSingle::SetPartId ( G4int  id)
inline

Definition at line 64 of file InstallArea/include/EmcSim/EmcSim/BesEmcDigitizer.hh.

64{partId = id;}

Referenced by BesEmcDigitizer::GroupHits().

◆ SetPartId() [2/2]

void CrystalSingle::SetPartId ( G4int  id)
inline

Definition at line 64 of file Simulation/BOOST/EmcSim/EmcSim-00-00-46/EmcSim/BesEmcDigitizer.hh.

64{partId = id;}

Friends And Related Function Documentation

◆ BesEmcDigitizer


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