#include <BesEmcDigitizer.hh>
Public Member Functions | |
CrystalSingle () | |
CrystalSingle (const CrystalSingle &right) | |
const CrystalSingle & | operator= (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) |
Private Attributes | |
G4int | partId |
G4int | nTheta |
G4int | nPhi |
G4double | edep |
vector< G4int > * | hitIndexes |
Friends | |
class | BesEmcDigitizer |
Definition at line 26 of file BesEmcDigitizer.hh.
CrystalSingle::CrystalSingle | ( | ) | [inline] |
Definition at line 32 of file BesEmcDigitizer.hh.
References hitIndexes.
00033 { 00034 hitIndexes = new vector<G4int>; 00035 }
CrystalSingle::CrystalSingle | ( | const CrystalSingle & | right | ) | [inline] |
Definition at line 36 of file BesEmcDigitizer.hh.
References edep, hitIndexes, nPhi, nTheta, and partId.
00037 { 00038 partId = right.partId; 00039 nTheta = right.nTheta; 00040 nPhi = right.nPhi; 00041 edep = right.edep; 00042 hitIndexes =right.hitIndexes; 00043 }
CrystalSingle::~CrystalSingle | ( | ) | [inline] |
Definition at line 53 of file BesEmcDigitizer.hh.
References hitIndexes.
00054 { 00055 delete hitIndexes; 00056 }
void CrystalSingle::AddEdep | ( | G4double | e | ) | [inline] |
Definition at line 68 of file BesEmcDigitizer.hh.
References edep.
Referenced by BesEmcDigitizer::GroupHits().
00068 {edep += e;}
G4double CrystalSingle::GetEdep | ( | ) | [inline] |
Definition at line 61 of file BesEmcDigitizer.hh.
References edep.
Referenced by BesEmcDigitizer::Digitize().
00061 {return edep;}
vector<G4int>* CrystalSingle::GetHitIndexes | ( | ) | [inline] |
Definition at line 62 of file BesEmcDigitizer.hh.
References hitIndexes.
Referenced by BesEmcDigitizer::Digitize(), and BesEmcDigitizer::GroupHits().
00062 {return hitIndexes;}
G4int CrystalSingle::GetNPhi | ( | ) | [inline] |
Definition at line 60 of file BesEmcDigitizer.hh.
References nPhi.
Referenced by BesEmcDigitizer::Digitize(), and BesEmcDigitizer::GroupHits().
00060 {return nPhi;}
G4int CrystalSingle::GetNTheta | ( | ) | [inline] |
Definition at line 59 of file BesEmcDigitizer.hh.
References nTheta.
Referenced by BesEmcDigitizer::Digitize(), and BesEmcDigitizer::GroupHits().
00059 {return nTheta;}
G4int CrystalSingle::GetPartId | ( | ) | [inline] |
Definition at line 58 of file BesEmcDigitizer.hh.
References partId.
Referenced by BesEmcDigitizer::Digitize(), and BesEmcDigitizer::GroupHits().
00058 {return partId;}
const CrystalSingle& CrystalSingle::operator= | ( | const CrystalSingle & | right | ) | [inline] |
Definition at line 44 of file BesEmcDigitizer.hh.
References edep, hitIndexes, nPhi, nTheta, and partId.
00045 { 00046 partId = right.partId; 00047 nTheta = right.nTheta; 00048 nPhi = right.nPhi; 00049 edep = right.edep; 00050 hitIndexes =right.hitIndexes; 00051 return *this; 00052 }
void CrystalSingle::SetEdep | ( | G4double | e | ) | [inline] |
Definition at line 67 of file BesEmcDigitizer.hh.
References edep.
Referenced by BesEmcDigitizer::GroupHits().
00067 {edep = e;}
void CrystalSingle::SetNPhi | ( | G4int | phi | ) | [inline] |
Definition at line 66 of file BesEmcDigitizer.hh.
References nPhi.
Referenced by BesEmcDigitizer::GroupHits().
00066 {nPhi = phi;}
void CrystalSingle::SetNTheta | ( | G4int | theta | ) | [inline] |
Definition at line 65 of file BesEmcDigitizer.hh.
References nTheta.
Referenced by BesEmcDigitizer::GroupHits().
00065 {nTheta = theta;}
void CrystalSingle::SetPartId | ( | G4int | id | ) | [inline] |
Definition at line 64 of file BesEmcDigitizer.hh.
References partId.
Referenced by BesEmcDigitizer::GroupHits().
00064 {partId = id;}
friend class BesEmcDigitizer [friend] |
Definition at line 28 of file BesEmcDigitizer.hh.
G4double CrystalSingle::edep [private] |
Definition at line 75 of file BesEmcDigitizer.hh.
Referenced by AddEdep(), CrystalSingle(), GetEdep(), operator=(), and SetEdep().
vector<G4int>* CrystalSingle::hitIndexes [private] |
Definition at line 76 of file BesEmcDigitizer.hh.
Referenced by CrystalSingle(), GetHitIndexes(), operator=(), and ~CrystalSingle().
G4int CrystalSingle::nPhi [private] |
Definition at line 74 of file BesEmcDigitizer.hh.
Referenced by CrystalSingle(), GetNPhi(), operator=(), and SetNPhi().
G4int CrystalSingle::nTheta [private] |
Definition at line 73 of file BesEmcDigitizer.hh.
Referenced by CrystalSingle(), GetNTheta(), operator=(), and SetNTheta().
G4int CrystalSingle::partId [private] |
Definition at line 72 of file BesEmcDigitizer.hh.
Referenced by CrystalSingle(), GetPartId(), operator=(), and SetPartId().