Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IORTDetectorHit Class Reference

#include <IORTDetectorHit.hh>

Inheritance diagram for IORTDetectorHit:
Collaboration diagram for IORTDetectorHit:

Public Member Functions

 IORTDetectorHit ()
 
 ~IORTDetectorHit ()
 
 IORTDetectorHit (const IORTDetectorHit &right)
 
const IORTDetectorHitoperator= (const IORTDetectorHit &right)
 
int operator== (const IORTDetectorHit &right) const
 
voidoperator new (size_t)
 
void operator delete (void *aHit)
 
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
 

Detailed Description

Definition at line 48 of file IORTDetectorHit.hh.

Constructor & Destructor Documentation

IORTDetectorHit::IORTDetectorHit ( )

Definition at line 45 of file IORTDetectorHit.cc.

46 {
47  energyDeposit = 0;
48 }
IORTDetectorHit::~IORTDetectorHit ( )

Definition at line 50 of file IORTDetectorHit.cc.

51 {
52 }
IORTDetectorHit::IORTDetectorHit ( const IORTDetectorHit right)

Definition at line 54 of file IORTDetectorHit.cc.

55  : G4VHit()
56 {
57  xHitID = right.xHitID;
58  zHitID = right.zHitID;
59  yHitID = right.yHitID;
60  energyDeposit = right.energyDeposit;
61 }
G4VHit()
Definition: G4VHit.cc:34

Member Function Documentation

G4double IORTDetectorHit::GetEdep ( )
inline

Definition at line 82 of file IORTDetectorHit.hh.

83  {return energyDeposit;}
G4int IORTDetectorHit::GetXID ( )
inline

Definition at line 73 of file IORTDetectorHit.hh.

74  {return xHitID;}
G4int IORTDetectorHit::GetYID ( )
inline

Definition at line 79 of file IORTDetectorHit.hh.

80  {return yHitID;}
G4int IORTDetectorHit::GetZID ( )
inline

Definition at line 76 of file IORTDetectorHit.hh.

77  {return zHitID;}
void IORTDetectorHit::operator delete ( void aHit)
inline

Definition at line 107 of file IORTDetectorHit.hh.

108 {
109  IORTDetectorHitAllocator.FreeSingle((IORTDetectorHit*) aHit);
110 }
G4Allocator< IORTDetectorHit > IORTDetectorHitAllocator

Here is the call graph for this function:

void * IORTDetectorHit::operator new ( size_t  )
inline

Definition at line 100 of file IORTDetectorHit.hh.

101 {
102  void *aHit;
103  aHit = (void *) IORTDetectorHitAllocator.MallocSingle();
104  return aHit;
105 }
G4Allocator< IORTDetectorHit > IORTDetectorHitAllocator

Here is the call graph for this function:

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

Definition at line 63 of file IORTDetectorHit.cc.

64 {
65  xHitID = right.xHitID;
66  zHitID = right.zHitID;
67  yHitID = right.yHitID;
68  energyDeposit = right.energyDeposit;
69  return *this;
70 }
int IORTDetectorHit::operator== ( const IORTDetectorHit right) const

Definition at line 72 of file IORTDetectorHit.cc.

73 {
74  return((xHitID==right.xHitID)&&(zHitID==right.zHitID)&&(yHitID==right.yHitID));
75 }
void IORTDetectorHit::SetEdepAndPosition ( G4int  xx,
G4int  yy,
G4int  zz,
G4double  eDep 
)
inline

Definition at line 88 of file IORTDetectorHit.hh.

89  {
90  xHitID = xx;
91  yHitID = yy;
92  zHitID = zz;
93  energyDeposit = eDep;
94  }

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