Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
LXeScintHit Class Reference

#include <Doxymodules_optical.h>

Inheritance diagram for LXeScintHit:
G4VHit

Public Member Functions

 LXeScintHit ()=default
 
 LXeScintHit (G4VPhysicalVolume *pVol)
 
 ~LXeScintHit () override=default
 
 LXeScintHit (const LXeScintHit &right)
 
const LXeScintHitoperator= (const LXeScintHit &right)
 
G4bool operator== (const LXeScintHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
void SetEdep (G4double de)
 
void AddEdep (G4double de)
 
G4double GetEdep ()
 
void SetPos (G4ThreeVector xyz)
 
G4ThreeVector GetPos ()
 
const G4VPhysicalVolumeGetPhysV ()
 

Private Attributes

G4double fEdep = 0.
 
G4ThreeVector fPos
 
const G4VPhysicalVolumefPhysVol = nullptr
 

Detailed Description

Definition at line 62 of file Doxymodules_optical.h.

Constructor & Destructor Documentation

◆ LXeScintHit() [1/3]

LXeScintHit::LXeScintHit ( )
default

◆ LXeScintHit() [2/3]

LXeScintHit::LXeScintHit ( G4VPhysicalVolume pVol)

Definition at line 44 of file LXeScintHit.cc.

45 : fPhysVol(pVol)
46{}
const G4VPhysicalVolume * fPhysVol

◆ ~LXeScintHit()

LXeScintHit::~LXeScintHit ( )
overridedefault

◆ LXeScintHit() [3/3]

LXeScintHit::LXeScintHit ( const LXeScintHit right)

Definition at line 50 of file LXeScintHit.cc.

51 : G4VHit()
52{
53 fEdep = right.fEdep;
54 fPos = right.fPos;
55 fPhysVol = right.fPhysVol;
56}
G4ThreeVector fPos
G4double fEdep

Member Function Documentation

◆ operator=()

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

Definition at line 60 of file LXeScintHit.cc.

61{
62 fEdep = right.fEdep;
63 fPos = right.fPos;
64 fPhysVol = right.fPhysVol;
65 return *this;
66}

◆ operator==()

G4bool LXeScintHit::operator== ( const LXeScintHit right) const

Definition at line 70 of file LXeScintHit.cc.

71{
72 return false;
73 // returns false because there currently isn't need to check for equality
74}

◆ operator new()

void * LXeScintHit::operator new ( size_t  )
inline

Definition at line 73 of file LXeScintHit.hh.

74{
77 return (void*) LXeScintHitAllocator->MallocSingle();
78}
G4ThreadLocal G4Allocator< LXeScintHit > * LXeScintHitAllocator

◆ operator delete()

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

Definition at line 80 of file LXeScintHit.hh.

81{
82 LXeScintHitAllocator->FreeSingle((LXeScintHit*) aHit);
83}

◆ SetEdep()

void LXeScintHit::SetEdep ( G4double  de)
inline

Definition at line 54 of file LXeScintHit.hh.

54{ fEdep = de; }

◆ AddEdep()

void LXeScintHit::AddEdep ( G4double  de)
inline

Definition at line 55 of file LXeScintHit.hh.

55{ fEdep += de; }

◆ GetEdep()

G4double LXeScintHit::GetEdep ( )
inline

Definition at line 56 of file LXeScintHit.hh.

56{ return fEdep; }

◆ SetPos()

void LXeScintHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 58 of file LXeScintHit.hh.

58{ fPos = xyz; }

◆ GetPos()

G4ThreeVector LXeScintHit::GetPos ( )
inline

Definition at line 59 of file LXeScintHit.hh.

59{ return fPos; }

◆ GetPhysV()

const G4VPhysicalVolume * LXeScintHit::GetPhysV ( )
inline

Definition at line 61 of file LXeScintHit.hh.

61{ return fPhysVol; }

Member Data Documentation

◆ fEdep

G4double LXeScintHit::fEdep = 0.
private

Definition at line 64 of file LXeScintHit.hh.

◆ fPos

G4ThreeVector LXeScintHit::fPos
private

Definition at line 65 of file LXeScintHit.hh.

◆ fPhysVol

const G4VPhysicalVolume* LXeScintHit::fPhysVol = nullptr
private

Definition at line 66 of file LXeScintHit.hh.


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

Applications | User Support | Publications | Collaboration