30#include "G4THitsCollection.hh"
31#include "G4Allocator.hh"
32#include "G4ThreeVector.hh"
33#include "G4RotationMatrix.hh"
61 inline void*
operator new(size_t);
62 inline void operator delete(
void* aHit);
67 virtual const std::map<G4String, G4AttDef>*
GetAttDefs()
const;
77 inline void SetRot(G4RotationMatrix aXYZ) {
fRot = aXYZ; }
136inline void* Par03Hit::operator
new(size_t)
143inline void Par03Hit::operator
delete(
void* aHit)
G4THitsCollection< Par03Hit > Par03HitsCollection
G4ThreadLocal G4Allocator< Par03Hit > * Par03HitAllocator
Hit class to store energy deposited in the sensitive detector.
virtual void Print()
Print hit properties.
G4int GetRhoId() const
Get rho id of the cell in the readout segmentation.
G4ThreeVector GetPos() const
Get position.
G4ThreeVector fPos
Position.
void SetPhiId(G4int aPhi)
Set phi id of the cell in the readout segmentation.
void SetZid(G4int aZ)
Set Z id of the cell in the readout segmentation.
G4int fPhiId
Phi ID of readout cell.
G4int fType
Type: 0 = full sim, 1 = fast sim.
virtual void Draw()
Visualise hits.
void SetRhoId(G4int aRho)
Set Rho id of the cell in the readout segmentation.
G4double GetTime() const
Get time.
const G4LogicalVolume * GetLogVol()
void SetEdep(G4double aEdep)
Set energy.
void SetType(G4int aType)
Set type (0 = full sim, 1 = fast sim)
G4RotationMatrix GetRot() const
Get rotation.
void SetTime(G4double aTime)
Set time.
G4double fEdep
Energy deposit.
void SetRot(G4RotationMatrix aXYZ)
Set rotation.
G4LogicalVolume * fLogVol
Pointer to logical volume for visualisation.
G4int GetZid() const
Get Z id of the cell in the readout segmentation.
G4int fRhoId
Rho ID of readout cell.
void AddEdep(G4double aEdep)
Add energy to previous value.
G4int GetType() const
Get type (0 = full sim, 1 = fast sim)
G4int GetPhiId() const
Get phi id of the cell in the readout segmentation.
void SetLogV(G4LogicalVolume *aLogVol)
G4double GetEdep() const
Get energy.
G4RotationMatrix fRot
Rotation.
G4int fZId
Z ID of readout cell.
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.
int operator==(const Par03Hit &aRight) const
void SetPos(G4ThreeVector aXYZ)
Set position.
const Par03Hit & operator=(const Par03Hit &aRight)