Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
LXeScintHit Class Reference

#include <LXeScintHit.hh>

Inheritance diagram for LXeScintHit:
G4VHit

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.

References LXeScintHitAllocator.

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.

References LXeScintHitAllocator.

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.

Referenced by LXeScintSD::ProcessHits().

63 { fEdep = de; }
void LXeScintHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 67 of file LXeScintHit.hh.

Referenced by LXeScintSD::ProcessHits().

67 { fPos = xyz; }

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