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

#include <F01CalorHit.hh>

Inheritance diagram for F01CalorHit:
Collaboration diagram for F01CalorHit:

Public Member Functions

 F01CalorHit ()
 
 F01CalorHit (const F01CalorHit &)
 
virtual ~F01CalorHit ()
 
const F01CalorHitoperator= (const F01CalorHit &)
 
G4int operator== (const F01CalorHit &) 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 F01CalorHit.hh.

Constructor & Destructor Documentation

F01CalorHit::F01CalorHit ( )

Definition at line 42 of file F01CalorHit.cc.

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

Definition at line 57 of file F01CalorHit.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
F01CalorHit::~F01CalorHit ( )
virtual

Definition at line 52 of file F01CalorHit.cc.

53 {;}

Member Function Documentation

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

Definition at line 63 of file F01CalorHit.hh.

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

Here is the caller graph for this function:

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

Definition at line 65 of file F01CalorHit.hh.

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

Definition at line 68 of file F01CalorHit.hh.

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

Definition at line 70 of file F01CalorHit.hh.

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

Definition at line 69 of file F01CalorHit.hh.

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

Definition at line 71 of file F01CalorHit.hh.

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

Definition at line 97 of file F01CalorHit.hh.

98 {
99  F01CalorHitAllocator->FreeSingle((F01CalorHit*) aHit);
100 }
G4ThreadLocal G4Allocator< F01CalorHit > * F01CalorHitAllocator
Definition: F01CalorHit.cc:38
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
Definition: F01CalorHit.cc:38
const F01CalorHit & F01CalorHit::operator= ( const F01CalorHit right)

Definition at line 67 of file F01CalorHit.cc.

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

Definition at line 76 of file F01CalorHit.cc.

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

Reimplemented from G4VHit.

Definition at line 83 of file F01CalorHit.cc.

84 {;}

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