Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
F02CalorHit Class Reference

#include <F02CalorHit.hh>

Inheritance diagram for F02CalorHit:
G4VHit

Public Member Functions

 F02CalorHit ()
 
 F02CalorHit (const F02CalorHit &)
 
virtual ~F02CalorHit ()
 
const F02CalorHitoperator= (const F02CalorHit &)
 
G4int operator== (const F02CalorHit &) 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 43 of file F02CalorHit.hh.

Constructor & Destructor Documentation

F02CalorHit::F02CalorHit ( )

Definition at line 42 of file F02CalorHit.cc.

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

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

Definition at line 52 of file F02CalorHit.cc.

53 {;}

Member Function Documentation

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

Definition at line 61 of file F02CalorHit.hh.

Referenced by F02CalorimeterSD::ProcessHits().

62  {fEdepAbs += de; fTrackLengthAbs += dl;};
void F02CalorHit::AddGap ( G4double  de,
G4double  dl 
)
inline

Definition at line 63 of file F02CalorHit.hh.

64  {fEdepGap += de; fTrackLengthGap += dl;};
G4double F02CalorHit::GetEdepAbs ( )
inline

Definition at line 66 of file F02CalorHit.hh.

66 { return fEdepAbs; };
G4double F02CalorHit::GetEdepGap ( )
inline

Definition at line 68 of file F02CalorHit.hh.

68 { return fEdepGap; };
G4double F02CalorHit::GetTrackAbs ( )
inline

Definition at line 67 of file F02CalorHit.hh.

67 { return fTrackLengthAbs; };
G4double F02CalorHit::GetTrackGap ( )
inline

Definition at line 69 of file F02CalorHit.hh.

69 { return fTrackLengthGap; };
void F02CalorHit::operator delete ( void aHit)
inline

Definition at line 95 of file F02CalorHit.hh.

References F02CalorHitAllocator.

96 {
97  F02CalorHitAllocator->FreeSingle((F02CalorHit*) aHit);
98 }
G4ThreadLocal G4Allocator< F02CalorHit > * F02CalorHitAllocator
Definition: F02CalorHit.cc:38
void * F02CalorHit::operator new ( size_t  )
inline

Definition at line 86 of file F02CalorHit.hh.

References F02CalorHitAllocator.

87 {
90  return (void*) F02CalorHitAllocator->MallocSingle();
91 }
G4ThreadLocal G4Allocator< F02CalorHit > * F02CalorHitAllocator
Definition: F02CalorHit.cc:38
const F02CalorHit & F02CalorHit::operator= ( const F02CalorHit right)

Definition at line 67 of file F02CalorHit.cc.

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

Definition at line 76 of file F02CalorHit.cc.

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

Reimplemented from G4VHit.

Definition at line 83 of file F02CalorHit.cc.

84 {;}

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