Hit class to store energy deposited in the sensitive detector. More...
#include <Doxymodules_parameterisations.h>
Public Member Functions | |
Par03Hit () | |
Par03Hit (const Par03Hit &aRight) | |
virtual | ~Par03Hit () |
const Par03Hit & | operator= (const Par03Hit &aRight) |
int | operator== (const Par03Hit &aRight) const |
void * | operator new (size_t) |
void | operator delete (void *aHit) |
virtual void | Draw () |
Visualise hits. | |
virtual const std::map< G4String, G4AttDef > * | GetAttDefs () const |
Retrieve atributes' names in order to allow filtering. | |
virtual std::vector< G4AttValue > * | CreateAttValues () const |
Create attributes for the visualisation. | |
virtual void | Print () |
Print hit properties. | |
void | SetPos (G4ThreeVector aXYZ) |
Set position. | |
G4ThreeVector | GetPos () const |
Get position. | |
void | SetRot (G4RotationMatrix aXYZ) |
Set rotation. | |
G4RotationMatrix | GetRot () const |
Get rotation. | |
void | SetEdep (G4double aEdep) |
Set energy. | |
void | AddEdep (G4double aEdep) |
Add energy to previous value. | |
G4double | GetEdep () const |
Get energy. | |
void | SetZid (G4int aZ) |
Set Z id of the cell in the readout segmentation. | |
G4int | GetZid () const |
Get Z id of the cell in the readout segmentation. | |
void | SetRhoId (G4int aRho) |
Set Rho id of the cell in the readout segmentation. | |
G4int | GetRhoId () const |
Get rho id of the cell in the readout segmentation. | |
void | SetPhiId (G4int aPhi) |
Set phi id of the cell in the readout segmentation. | |
G4int | GetPhiId () const |
Get phi id of the cell in the readout segmentation. | |
void | SetTime (G4double aTime) |
Set time. | |
G4double | GetTime () const |
Get time. | |
void | SetType (G4int aType) |
Set type (0 = full sim, 1 = fast sim) | |
G4int | GetType () const |
Get type (0 = full sim, 1 = fast sim) | |
void | SetLogV (G4LogicalVolume *aLogVol) |
const G4LogicalVolume * | GetLogVol () |
Public Attributes | |
G4double | fEdep = 0 |
Energy deposit. | |
G4int | fZId = -1 |
Z ID of readout cell. | |
G4int | fRhoId = -1 |
Rho ID of readout cell. | |
G4int | fPhiId = -1 |
Phi ID of readout cell. | |
G4ThreeVector | fPos |
Position. | |
G4RotationMatrix | fRot |
Rotation. | |
G4double | fTime = -1 |
Time. | |
G4int | fType = -1 |
Type: 0 = full sim, 1 = fast sim. | |
G4LogicalVolume * | fLogVol = nullptr |
Pointer to logical volume for visualisation. | |
Hit class to store energy deposited in the sensitive detector.
Hit class registers position and energy deposited within the sensitive detector. Cell ID is stored using identifiers of readout segmentation (z, phi, rho). Additionally, pointer to cell logical volume, its position and rotation are saved for visualisation purposes. Time allows to filter hits in visualisation. Type of hit allows to distinguish between hits originating from full simulation (type 0) and fast simulation (type 1).
Definition at line 65 of file Doxymodules_parameterisations.h.
Par03Hit::Par03Hit | ( | ) |
Definition at line 41 of file Par03Hit.cc.
Par03Hit::Par03Hit | ( | const Par03Hit & | aRight | ) |
Definition at line 51 of file Par03Hit.cc.
|
virtualdefault |
int Par03Hit::operator== | ( | const Par03Hit & | aRight | ) | const |
|
inline |
Definition at line 136 of file Par03Hit.hh.
|
inline |
Definition at line 143 of file Par03Hit.hh.
|
virtual |
Visualise hits.
If pointer to the logical volume was set, cell shape is drawn taking into account proper radial position (taken from fRhoId)
Definition at line 91 of file Par03Hit.cc.
Retrieve atributes' names in order to allow filtering.
Definition at line 131 of file Par03Hit.cc.
|
virtual |
Create attributes for the visualisation.
Definition at line 152 of file Par03Hit.cc.
|
virtual |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Set Z id of the cell in the readout segmentation.
Definition at line 87 of file Par03Hit.hh.
|
inline |
|
inline |
Set Rho id of the cell in the readout segmentation.
Definition at line 91 of file Par03Hit.hh.
|
inline |
|
inline |
Set phi id of the cell in the readout segmentation.
Definition at line 95 of file Par03Hit.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Set type (0 = full sim, 1 = fast sim)
Definition at line 103 of file Par03Hit.hh.
|
inline |
|
inline |
Definition at line 107 of file Par03Hit.hh.
|
inline |
Definition at line 109 of file Par03Hit.hh.
G4double Par03Hit::fEdep = 0 |
Energy deposit.
Definition at line 113 of file Par03Hit.hh.
G4int Par03Hit::fZId = -1 |
Z ID of readout cell.
Definition at line 115 of file Par03Hit.hh.
G4int Par03Hit::fRhoId = -1 |
Rho ID of readout cell.
Definition at line 117 of file Par03Hit.hh.
G4int Par03Hit::fPhiId = -1 |
Phi ID of readout cell.
Definition at line 119 of file Par03Hit.hh.
G4ThreeVector Par03Hit::fPos |
Position.
Definition at line 121 of file Par03Hit.hh.
G4RotationMatrix Par03Hit::fRot |
Rotation.
Definition at line 123 of file Par03Hit.hh.
G4double Par03Hit::fTime = -1 |
Time.
Definition at line 125 of file Par03Hit.hh.
G4int Par03Hit::fType = -1 |
Type: 0 = full sim, 1 = fast sim.
Definition at line 127 of file Par03Hit.hh.
G4LogicalVolume* Par03Hit::fLogVol = nullptr |
Pointer to logical volume for visualisation.
Definition at line 129 of file Par03Hit.hh.