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

#include <LXeScintHit.hh>

Inheritance diagram for LXeScintHit:
Collaboration diagram for LXeScintHit:

Public Member Functions

 LXeScintHit ()
 
 LXeScintHit (G4VPhysicalVolume *pVol)
 
virtual ~LXeScintHit ()
 
 LXeScintHit (const LXeScintHit &right)
 
const LXeScintHitoperator= (const LXeScintHit &right)
 
G4int operator== (const LXeScintHit &right) const
 
voidoperator new (size_t)
 
void operator delete (void *aHit)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetEdep (G4double de)
 
void AddEdep (G4double de)
 
G4double GetEdep ()
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos ()
 
const G4VPhysicalVolumeGetPhysV ()
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Detailed Description

Definition at line 46 of file LXeScintHit.hh.

Constructor & Destructor Documentation

LXeScintHit::LXeScintHit ( )

Definition at line 44 of file LXeScintHit.cc.

44 : fEdep(0.), fPos(0.), fPhysVol(0) {}
LXeScintHit::LXeScintHit ( G4VPhysicalVolume pVol)

Definition at line 48 of file LXeScintHit.cc.

48 : fPhysVol(pVol) {}
LXeScintHit::~LXeScintHit ( )
virtual

Definition at line 52 of file LXeScintHit.cc.

52 {}
LXeScintHit::LXeScintHit ( const LXeScintHit right)

Definition at line 56 of file LXeScintHit.cc.

56  : G4VHit()
57 {
58  fEdep = right.fEdep;
59  fPos = right.fPos;
60  fPhysVol = right.fPhysVol;
61 }
G4VHit()
Definition: G4VHit.cc:34

Member Function Documentation

void LXeScintHit::AddEdep ( G4double  de)
inline

Definition at line 64 of file LXeScintHit.hh.

64 { fEdep += de; }
void LXeScintHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 81 of file LXeScintHit.cc.

81 {}
G4double LXeScintHit::GetEdep ( )
inline

Definition at line 65 of file LXeScintHit.hh.

65 { return fEdep; }
const G4VPhysicalVolume* LXeScintHit::GetPhysV ( )
inline

Definition at line 70 of file LXeScintHit.hh.

70 { return fPhysVol; }
G4ThreeVector LXeScintHit::GetPos ( )
inline

Definition at line 68 of file LXeScintHit.hh.

68 { return fPos; }
void LXeScintHit::operator delete ( void aHit)
inline

Definition at line 90 of file LXeScintHit.hh.

91 {
92  LXeScintHitAllocator->FreeSingle((LXeScintHit*) aHit);
93 }
G4ThreadLocal G4Allocator< LXeScintHit > * LXeScintHitAllocator
Definition: LXeScintHit.cc:40
void * LXeScintHit::operator new ( size_t  )
inline

Definition at line 83 of file LXeScintHit.hh.

84 {
87  return (void *) LXeScintHitAllocator->MallocSingle();
88 }
G4ThreadLocal G4Allocator< LXeScintHit > * LXeScintHitAllocator
Definition: LXeScintHit.cc:40
const LXeScintHit & LXeScintHit::operator= ( const LXeScintHit right)

Definition at line 65 of file LXeScintHit.cc.

65  {
66  fEdep = right.fEdep;
67  fPos = right.fPos;
68  fPhysVol = right.fPhysVol;
69  return *this;
70 }
G4int LXeScintHit::operator== ( const LXeScintHit right) const

Definition at line 74 of file LXeScintHit.cc.

74  {
75  return false;
76  //returns false because there currently isnt need to check for equality yet
77 }
void LXeScintHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 85 of file LXeScintHit.cc.

85 {}
void LXeScintHit::SetEdep ( G4double  de)
inline

Definition at line 63 of file LXeScintHit.hh.

63 { fEdep = de; }

Here is the caller graph for this function:

void LXeScintHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 67 of file LXeScintHit.hh.

67 { fPos = xyz; }

Here is the caller graph for this function:


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