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

#include <Doxymodules_field.h>

Inheritance diagram for F01CalorHit:
G4VHit

Public Member Functions

 F01CalorHit ()=default
 
 F01CalorHit (const F01CalorHit &)
 
 ~F01CalorHit () override=default
 
const F01CalorHitoperator= (const F01CalorHit &)
 
G4bool operator== (const F01CalorHit &) 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 33 of file Doxymodules_field.h.

Constructor & Destructor Documentation

◆ F01CalorHit() [1/2]

F01CalorHit::F01CalorHit ( )
default

◆ F01CalorHit() [2/2]

F01CalorHit::F01CalorHit ( const F01CalorHit right)

Definition at line 41 of file F01CalorHit.cc.

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

◆ ~F01CalorHit()

F01CalorHit::~F01CalorHit ( )
overridedefault

Member Function Documentation

◆ operator=()

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

Definition at line 51 of file F01CalorHit.cc.

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

◆ operator==()

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

Definition at line 60 of file F01CalorHit.cc.

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

◆ operator new()

void * F01CalorHit::operator new ( size_t  )
inline

Definition at line 88 of file F01CalorHit.hh.

89{
92 return (void*) F01CalorHitAllocator->MallocSingle();
93}
G4ThreadLocal G4Allocator< F01CalorHit > * F01CalorHitAllocator

◆ operator delete()

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

Definition at line 97 of file F01CalorHit.hh.

98{
99 F01CalorHitAllocator->FreeSingle((F01CalorHit*) aHit);
100}

◆ Print()

void F01CalorHit::Print ( )
override

Definition at line 67 of file F01CalorHit.cc.

68{}

◆ AddAbs()

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

Definition at line 62 of file F01CalorHit.hh.

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

◆ AddGap()

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

Definition at line 64 of file F01CalorHit.hh.

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

◆ GetEdepAbs()

G4double F01CalorHit::GetEdepAbs ( )
inline

Definition at line 67 of file F01CalorHit.hh.

67{ return fEdepAbs; };

◆ GetTrackAbs()

G4double F01CalorHit::GetTrackAbs ( )
inline

Definition at line 68 of file F01CalorHit.hh.

68{ return fTrackLengthAbs; };

◆ GetEdepGap()

G4double F01CalorHit::GetEdepGap ( )
inline

Definition at line 69 of file F01CalorHit.hh.

69{ return fEdepGap; };

◆ GetTrackGap()

G4double F01CalorHit::GetTrackGap ( )
inline

Definition at line 70 of file F01CalorHit.hh.

70{ return fTrackLengthGap; };

Member Data Documentation

◆ fEdepAbs

G4double F01CalorHit::fEdepAbs = 0.
private

Definition at line 74 of file F01CalorHit.hh.

◆ fTrackLengthAbs

G4double F01CalorHit::fTrackLengthAbs = 0.
private

Definition at line 75 of file F01CalorHit.hh.

◆ fEdepGap

G4double F01CalorHit::fEdepGap = 0.
private

Definition at line 76 of file F01CalorHit.hh.

◆ fTrackLengthGap

G4double F01CalorHit::fTrackLengthGap = 0.
private

Definition at line 77 of file F01CalorHit.hh.


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

Applications | User Support | Publications | Collaboration