Geant4  10.02.p03
Em10CalorHit Class Reference

#include <Em10CalorHit.hh>

Inheritance diagram for Em10CalorHit:
Collaboration diagram for Em10CalorHit:

Public Member Functions

 Em10CalorHit ()
 
 ~Em10CalorHit ()
 
 Em10CalorHit (const Em10CalorHit &)
 
void * operator new (size_t)
 
void operator delete (void *)
 
const Em10CalorHitoperator= (const Em10CalorHit &)
 
void Print ()
 
void AddAbs (G4double de, G4double dl)
 
void AddGap (G4double de, G4double dl)
 
G4double GetEdepAbs ()
 
G4double GetTrakAbs ()
 
G4double GetEdepGap ()
 
G4double GetTrakGap ()
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4int operator== (const G4VHit &right) const
 
virtual void Draw ()
 
virtual const std::map< G4String, G4AttDef > * GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Private Attributes

G4double EdepAbs
 
G4double TrackLengthAbs
 
G4double EdepGap
 
G4double TrackLengthGap
 

Detailed Description

Definition at line 46 of file Em10CalorHit.hh.

Constructor & Destructor Documentation

◆ Em10CalorHit() [1/2]

Em10CalorHit::Em10CalorHit ( )

Definition at line 43 of file Em10CalorHit.cc.

44 {
45  EdepAbs = 0.; TrackLengthAbs = 0.;
46  EdepGap = 0.; TrackLengthGap = 0.;
47 }
G4double TrackLengthAbs
Definition: Em10CalorHit.hh:69
G4double EdepGap
Definition: Em10CalorHit.hh:74
G4double EdepAbs
Definition: Em10CalorHit.hh:69
G4double TrackLengthGap
Definition: Em10CalorHit.hh:74

◆ ~Em10CalorHit()

Em10CalorHit::~Em10CalorHit ( )

Definition at line 51 of file Em10CalorHit.cc.

52 {;}

◆ Em10CalorHit() [2/2]

Em10CalorHit::Em10CalorHit ( const Em10CalorHit )

Member Function Documentation

◆ AddAbs()

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

Definition at line 63 of file Em10CalorHit.hh.

63 {EdepAbs += de; TrackLengthAbs += dl;};
G4double TrackLengthAbs
Definition: Em10CalorHit.hh:69
G4double EdepAbs
Definition: Em10CalorHit.hh:69
Here is the caller graph for this function:

◆ AddGap()

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

Definition at line 64 of file Em10CalorHit.hh.

64 {EdepGap += de; TrackLengthGap += dl;};
G4double EdepGap
Definition: Em10CalorHit.hh:74
G4double TrackLengthGap
Definition: Em10CalorHit.hh:74

◆ GetEdepAbs()

G4double Em10CalorHit::GetEdepAbs ( )
inline

Definition at line 66 of file Em10CalorHit.hh.

66 { return EdepAbs; };
G4double EdepAbs
Definition: Em10CalorHit.hh:69

◆ GetEdepGap()

G4double Em10CalorHit::GetEdepGap ( )
inline

Definition at line 68 of file Em10CalorHit.hh.

68 { return EdepGap; };
G4double EdepGap
Definition: Em10CalorHit.hh:74

◆ GetTrakAbs()

G4double Em10CalorHit::GetTrakAbs ( )
inline

Definition at line 67 of file Em10CalorHit.hh.

67 { return TrackLengthAbs; };
G4double TrackLengthAbs
Definition: Em10CalorHit.hh:69

◆ GetTrakGap()

G4double Em10CalorHit::GetTrakGap ( )
inline

Definition at line 69 of file Em10CalorHit.hh.

69 { return TrackLengthGap; };
G4double TrackLengthGap
Definition: Em10CalorHit.hh:74

◆ operator delete()

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

Definition at line 94 of file Em10CalorHit.hh.

95 {
96  Em10CalorHitAllocator.FreeSingle((Em10CalorHit*) aHit);
97 }
G4Allocator< Em10CalorHit > Em10CalorHitAllocator
Definition: Em10CalorHit.cc:39
Here is the call graph for this function:

◆ operator new()

void * Em10CalorHit::operator new ( size_t  )
inline

Definition at line 85 of file Em10CalorHit.hh.

86 {
87  void* aHit;
88  aHit = (void*) Em10CalorHitAllocator.MallocSingle();
89  return aHit;
90 }
G4Allocator< Em10CalorHit > Em10CalorHitAllocator
Definition: Em10CalorHit.cc:39
Here is the call graph for this function:

◆ operator=()

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

Definition at line 64 of file Em10CalorHit.cc.

65 {
68  return *this;
69 }
G4double TrackLengthAbs
Definition: Em10CalorHit.hh:69
G4double EdepGap
Definition: Em10CalorHit.hh:74
G4double EdepAbs
Definition: Em10CalorHit.hh:69
G4double TrackLengthGap
Definition: Em10CalorHit.hh:74

◆ Print()

void Em10CalorHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 73 of file Em10CalorHit.cc.

74 {;}

Member Data Documentation

◆ EdepAbs

G4double Em10CalorHit::EdepAbs
private

Definition at line 69 of file Em10CalorHit.hh.

◆ EdepGap

G4double Em10CalorHit::EdepGap
private

Definition at line 74 of file Em10CalorHit.hh.

◆ TrackLengthAbs

G4double Em10CalorHit::TrackLengthAbs
private

Definition at line 69 of file Em10CalorHit.hh.

◆ TrackLengthGap

G4double Em10CalorHit::TrackLengthGap
private

Definition at line 74 of file Em10CalorHit.hh.


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