Geant4  10.02.p03
HadrontherapyDetectorHit Class Reference

#include <HadrontherapyDetectorHit.hh>

Inheritance diagram for HadrontherapyDetectorHit:
Collaboration diagram for HadrontherapyDetectorHit:

Public Member Functions

 HadrontherapyDetectorHit ()
 
 HadrontherapyDetectorHit (const HadrontherapyDetectorHit &)
 
virtual ~HadrontherapyDetectorHit ()
 
const HadrontherapyDetectorHitoperator= (const HadrontherapyDetectorHit &)
 
G4int operator== (const HadrontherapyDetectorHit &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
G4int GetXID ()
 
G4int GetZID ()
 
G4int GetYID ()
 
G4double GetEdep ()
 
void SetEdepAndPosition (G4int xx, G4int yy, G4int zz, G4double eDep)
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 
virtual void Draw ()
 
virtual void Print ()
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Private Attributes

G4int xHitID
 
G4int zHitID
 
G4int yHitID
 
G4double energyDeposit
 

Detailed Description

Definition at line 38 of file HadrontherapyDetectorHit.hh.

Constructor & Destructor Documentation

◆ HadrontherapyDetectorHit() [1/2]

HadrontherapyDetectorHit::HadrontherapyDetectorHit ( )

Definition at line 36 of file HadrontherapyDetectorHit.cc.

37 : G4VHit()
38 {
39  energyDeposit = 0;
40 }
G4VHit()
Definition: G4VHit.cc:34

◆ HadrontherapyDetectorHit() [2/2]

HadrontherapyDetectorHit::HadrontherapyDetectorHit ( const HadrontherapyDetectorHit right)

◆ ~HadrontherapyDetectorHit()

HadrontherapyDetectorHit::~HadrontherapyDetectorHit ( )
virtual

Definition at line 42 of file HadrontherapyDetectorHit.cc.

43 {
44 }

Member Function Documentation

◆ GetEdep()

G4double HadrontherapyDetectorHit::GetEdep ( )
inline

Definition at line 74 of file HadrontherapyDetectorHit.hh.

◆ GetXID()

G4int HadrontherapyDetectorHit::GetXID ( )
inline

Definition at line 65 of file HadrontherapyDetectorHit.hh.

◆ GetYID()

G4int HadrontherapyDetectorHit::GetYID ( )
inline

Definition at line 71 of file HadrontherapyDetectorHit.hh.

◆ GetZID()

G4int HadrontherapyDetectorHit::GetZID ( )
inline

Definition at line 68 of file HadrontherapyDetectorHit.hh.

◆ operator delete()

void HadrontherapyDetectorHit::operator delete ( void *  aHit)
inline

Definition at line 107 of file HadrontherapyDetectorHit.hh.

◆ operator new()

void * HadrontherapyDetectorHit::operator new ( size_t  )
inline

Definition at line 94 of file HadrontherapyDetectorHit.hh.

95 {
96 
97 
100  void *aHit;
101 
102  aHit = (void *) HadrontherapyDetectorHitAllocator->MallocSingle();
103  return aHit;
104 
105 }
G4ThreadLocal G4Allocator< HadrontherapyDetectorHit > * HadrontherapyDetectorHitAllocator

◆ operator=()

const HadrontherapyDetectorHit & HadrontherapyDetectorHit::operator= ( const HadrontherapyDetectorHit right)

Definition at line 55 of file HadrontherapyDetectorHit.cc.

◆ operator==()

G4int HadrontherapyDetectorHit::operator== ( const HadrontherapyDetectorHit right) const

◆ SetEdepAndPosition()

void HadrontherapyDetectorHit::SetEdepAndPosition ( G4int  xx,
G4int  yy,
G4int  zz,
G4double  eDep 
)
inline

Definition at line 80 of file HadrontherapyDetectorHit.hh.

Member Data Documentation

◆ energyDeposit

G4double HadrontherapyDetectorHit::energyDeposit
private

Definition at line 59 of file HadrontherapyDetectorHit.hh.

◆ xHitID

G4int HadrontherapyDetectorHit::xHitID
private

Definition at line 56 of file HadrontherapyDetectorHit.hh.

◆ yHitID

G4int HadrontherapyDetectorHit::yHitID
private

Definition at line 58 of file HadrontherapyDetectorHit.hh.

◆ zHitID

G4int HadrontherapyDetectorHit::zHitID
private

Definition at line 57 of file HadrontherapyDetectorHit.hh.


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