Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
F03CalorHit Class Reference

#include <F03CalorHit.hh>

Inheritance diagram for F03CalorHit:
Collaboration diagram for F03CalorHit:

Public Member Functions

 F03CalorHit ()
 
 F03CalorHit (const F03CalorHit &)
 
virtual ~F03CalorHit ()
 
const F03CalorHitoperator= (const F03CalorHit &)
 
G4int operator== (const F03CalorHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
virtual void Print ()
 
void AddAbs (G4double de, G4double dl)
 
void AddGap (G4double de, G4double dl)
 
G4double GetEdepAbs ()
 
G4double GetTrackAbs ()
 
G4double GetEdepGap ()
 
G4double GetTrackGap ()
 
- 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
 

Detailed Description

Definition at line 45 of file F03CalorHit.hh.

Constructor & Destructor Documentation

F03CalorHit::F03CalorHit ( )

Definition at line 42 of file F03CalorHit.cc.

43  : G4VHit(),
44  fEdepAbs(0.),
45  fTrackLengthAbs(0.),
46  fEdepGap(0.),
47  fTrackLengthGap(0.)
48 {;}
G4VHit()
Definition: G4VHit.cc:34
F03CalorHit::F03CalorHit ( const F03CalorHit right)

Definition at line 57 of file F03CalorHit.cc.

58  : G4VHit(),
59  fEdepAbs(right.fEdepAbs),
60  fTrackLengthAbs(right.fTrackLengthAbs),
61  fEdepGap(right.fEdepGap),
62  fTrackLengthGap(right.fTrackLengthGap)
63 {}
G4VHit()
Definition: G4VHit.cc:34
F03CalorHit::~F03CalorHit ( )
virtual

Definition at line 52 of file F03CalorHit.cc.

53 {;}

Member Function Documentation

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

Definition at line 63 of file F03CalorHit.hh.

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

Here is the caller graph for this function:

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

Definition at line 65 of file F03CalorHit.hh.

66  {fEdepGap += de; fTrackLengthGap += dl;};
G4double F03CalorHit::GetEdepAbs ( )
inline

Definition at line 68 of file F03CalorHit.hh.

68 { return fEdepAbs; };
G4double F03CalorHit::GetEdepGap ( )
inline

Definition at line 70 of file F03CalorHit.hh.

70 { return fEdepGap; };
G4double F03CalorHit::GetTrackAbs ( )
inline

Definition at line 69 of file F03CalorHit.hh.

69 { return fTrackLengthAbs; };
G4double F03CalorHit::GetTrackGap ( )
inline

Definition at line 71 of file F03CalorHit.hh.

71 { return fTrackLengthGap; };
void F03CalorHit::operator delete ( void aHit)
inline

Definition at line 97 of file F03CalorHit.hh.

98 {
99  F03CalorHitAllocator->FreeSingle((F03CalorHit*) aHit);
100 }
G4ThreadLocal G4Allocator< F03CalorHit > * F03CalorHitAllocator
Definition: F03CalorHit.cc:38
void * F03CalorHit::operator new ( size_t  )
inline

Definition at line 88 of file F03CalorHit.hh.

89 {
92  return (void*) F03CalorHitAllocator->MallocSingle();
93 }
G4ThreadLocal G4Allocator< F03CalorHit > * F03CalorHitAllocator
Definition: F03CalorHit.cc:38
const F03CalorHit & F03CalorHit::operator= ( const F03CalorHit right)

Definition at line 67 of file F03CalorHit.cc.

68 {
69  fEdepAbs = right.fEdepAbs; fTrackLengthAbs = right.fTrackLengthAbs;
70  fEdepGap = right.fEdepGap; fTrackLengthGap = right.fTrackLengthGap;
71  return *this;
72 }
G4int F03CalorHit::operator== ( const F03CalorHit right) const

Definition at line 76 of file F03CalorHit.cc.

77 {
78  return (this==&right) ? 1 : 0;
79 }
void F03CalorHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 83 of file F03CalorHit.cc.

84 {;}

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