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

#include <Doxymodules_field.h>

Inheritance diagram for F02CalorHit:
G4VHit

Public Member Functions

 F02CalorHit ()=default
 
 F02CalorHit (const F02CalorHit &)
 
 ~F02CalorHit () override=default
 
const F02CalorHitoperator= (const F02CalorHit &)
 
G4bool operator== (const F02CalorHit &) const
 
void * operator new (size_t)
 
void operator delete (void *)
 
void Print () override
 
void AddAbs (G4double de, G4double dl)
 
void AddGap (G4double de, G4double dl)
 
G4double GetEdepAbs ()
 
G4double GetTrackAbs ()
 
G4double GetEdepGap ()
 
G4double GetTrackGap ()
 

Private Attributes

G4double fEdepAbs = 0.
 
G4double fTrackLengthAbs = 0.
 
G4double fEdepGap = 0.
 
G4double fTrackLengthGap = 0.
 

Detailed Description

Definition at line 55 of file Doxymodules_field.h.

Constructor & Destructor Documentation

◆ F02CalorHit() [1/2]

F02CalorHit::F02CalorHit ( )
default

◆ F02CalorHit() [2/2]

F02CalorHit::F02CalorHit ( const F02CalorHit right)

Definition at line 41 of file F02CalorHit.cc.

42 : G4VHit(),
43 fEdepAbs(right.fEdepAbs),
44 fTrackLengthAbs(right.fTrackLengthAbs),
45 fEdepGap(right.fEdepGap),
46 fTrackLengthGap(right.fTrackLengthGap)
47{}
G4double fEdepGap
G4double fTrackLengthGap
G4double fTrackLengthAbs
G4double fEdepAbs

◆ ~F02CalorHit()

F02CalorHit::~F02CalorHit ( )
overridedefault

Member Function Documentation

◆ operator=()

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

Definition at line 51 of file F02CalorHit.cc.

52{
53 fEdepAbs = right.fEdepAbs; fTrackLengthAbs = right.fTrackLengthAbs;
54 fEdepGap = right.fEdepGap; fTrackLengthGap = right.fTrackLengthGap;
55 return *this;
56}

◆ operator==()

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

Definition at line 60 of file F02CalorHit.cc.

61{
62 return (this==&right) ? true : false;
63}

◆ operator new()

void * F02CalorHit::operator new ( size_t  )
inline

Definition at line 86 of file F02CalorHit.hh.

87{
90 return (void*) F02CalorHitAllocator->MallocSingle();
91}
G4ThreadLocal G4Allocator< F02CalorHit > * F02CalorHitAllocator

◆ operator delete()

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

Definition at line 95 of file F02CalorHit.hh.

96{
97 F02CalorHitAllocator->FreeSingle((F02CalorHit*) aHit);
98}

◆ Print()

void F02CalorHit::Print ( )
override

Definition at line 67 of file F02CalorHit.cc.

68{}

◆ AddAbs()

void F02CalorHit::AddAbs ( G4double  de,
G4double  dl 
)
inline

Definition at line 60 of file F02CalorHit.hh.

61 {fEdepAbs += de; fTrackLengthAbs += dl;};

◆ AddGap()

void F02CalorHit::AddGap ( G4double  de,
G4double  dl 
)
inline

Definition at line 62 of file F02CalorHit.hh.

63 {fEdepGap += de; fTrackLengthGap += dl;};

◆ GetEdepAbs()

G4double F02CalorHit::GetEdepAbs ( )
inline

Definition at line 65 of file F02CalorHit.hh.

65{ return fEdepAbs; };

◆ GetTrackAbs()

G4double F02CalorHit::GetTrackAbs ( )
inline

Definition at line 66 of file F02CalorHit.hh.

66{ return fTrackLengthAbs; };

◆ GetEdepGap()

G4double F02CalorHit::GetEdepGap ( )
inline

Definition at line 67 of file F02CalorHit.hh.

67{ return fEdepGap; };

◆ GetTrackGap()

G4double F02CalorHit::GetTrackGap ( )
inline

Definition at line 68 of file F02CalorHit.hh.

68{ return fTrackLengthGap; };

Member Data Documentation

◆ fEdepAbs

G4double F02CalorHit::fEdepAbs = 0.
private

Definition at line 72 of file F02CalorHit.hh.

◆ fTrackLengthAbs

G4double F02CalorHit::fTrackLengthAbs = 0.
private

Definition at line 73 of file F02CalorHit.hh.

◆ fEdepGap

G4double F02CalorHit::fEdepGap = 0.
private

Definition at line 74 of file F02CalorHit.hh.

◆ fTrackLengthGap

G4double F02CalorHit::fTrackLengthGap = 0.
private

Definition at line 75 of file F02CalorHit.hh.


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

Applications | User Support | Publications | Collaboration