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

#include <FCALCalorHit.hh>

Inheritance diagram for FCALCalorHit:
G4VHit

Public Member Functions

 FCALCalorHit ()
 
 ~FCALCalorHit ()
 
 FCALCalorHit (const FCALCalorHit &)
 
const FCALCalorHitoperator= (const FCALCalorHit &)
 
int operator== (const FCALCalorHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 
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 const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Detailed Description

Definition at line 42 of file FCALCalorHit.hh.

Constructor & Destructor Documentation

FCALCalorHit::FCALCalorHit ( )

Definition at line 39 of file FCALCalorHit.cc.

40 {
41  EdepAbs = 0.; TrackLengthAbs = 0.;
42  EdepGap = 0.; TrackLengthGap = 0.;
43 }
FCALCalorHit::~FCALCalorHit ( )

Definition at line 47 of file FCALCalorHit.cc.

48 {;}
FCALCalorHit::FCALCalorHit ( const FCALCalorHit right)

Definition at line 52 of file FCALCalorHit.cc.

53  : G4VHit(right)
54 {
55  EdepAbs = right.EdepAbs; TrackLengthAbs = right.TrackLengthAbs;
56  EdepGap = right.EdepGap; TrackLengthGap = right.TrackLengthGap;
57 }
G4VHit()
Definition: G4VHit.cc:34

Member Function Documentation

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

Definition at line 60 of file FCALCalorHit.hh.

60 {EdepAbs += de; TrackLengthAbs += dl;};
void FCALCalorHit::AddGap ( G4double  de,
G4double  dl 
)
inline

Definition at line 61 of file FCALCalorHit.hh.

61 {EdepGap += de; TrackLengthGap += dl;};
void FCALCalorHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 77 of file FCALCalorHit.cc.

78 {;}
G4double FCALCalorHit::GetEdepAbs ( )
inline

Definition at line 63 of file FCALCalorHit.hh.

63 { return EdepAbs; };
G4double FCALCalorHit::GetEdepGap ( )
inline

Definition at line 65 of file FCALCalorHit.hh.

65 { return EdepGap; };
G4double FCALCalorHit::GetTrakAbs ( )
inline

Definition at line 64 of file FCALCalorHit.hh.

64 { return TrackLengthAbs; };
G4double FCALCalorHit::GetTrakGap ( )
inline

Definition at line 66 of file FCALCalorHit.hh.

66 { return TrackLengthGap; };
void FCALCalorHit::operator delete ( void aHit)
inline

Definition at line 92 of file FCALCalorHit.hh.

References G4Allocator< Type >::FreeSingle().

93 {
94  FCALCalorHitAllocator.FreeSingle((FCALCalorHit*) aHit);
95 }
G4Allocator< FCALCalorHit > FCALCalorHitAllocator
Definition: FCALCalorHit.cc:35
void * FCALCalorHit::operator new ( size_t  )
inline

Definition at line 83 of file FCALCalorHit.hh.

References G4Allocator< Type >::MallocSingle().

84 {
85  void* aHit;
86  aHit = (void*) FCALCalorHitAllocator.MallocSingle();
87  return aHit;
88 }
G4Allocator< FCALCalorHit > FCALCalorHitAllocator
Definition: FCALCalorHit.cc:35
const FCALCalorHit & FCALCalorHit::operator= ( const FCALCalorHit right)

Definition at line 61 of file FCALCalorHit.cc.

62 {
63  EdepAbs = right.EdepAbs; TrackLengthAbs = right.TrackLengthAbs;
64  EdepGap = right.EdepGap; TrackLengthGap = right.TrackLengthGap;
65  return *this;
66 }
int FCALCalorHit::operator== ( const FCALCalorHit right) const

Definition at line 70 of file FCALCalorHit.cc.

71 {
72  return (this==&right) ? 1 : 0;
73 }
void FCALCalorHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 82 of file FCALCalorHit.cc.

83 {;}

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