Geant4  10.02.p03
FCALCalorHit Class Reference

#include <FCALCalorHit.hh>

Inheritance diagram for FCALCalorHit:
Collaboration diagram for FCALCalorHit:

Public Member Functions

 FCALCalorHit ()
 
 ~FCALCalorHit ()
 
 FCALCalorHit (const FCALCalorHit &)
 
const FCALCalorHitoperator= (const FCALCalorHit &)
 
int operator== (const FCALCalorHit &) const
 
void * operator 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
 

Private Attributes

G4double EdepAbs
 
G4double TrackLengthAbs
 
G4double EdepGap
 
G4double TrackLengthGap
 

Detailed Description

Definition at line 42 of file FCALCalorHit.hh.

Constructor & Destructor Documentation

◆ FCALCalorHit() [1/2]

FCALCalorHit::FCALCalorHit ( )

Definition at line 39 of file FCALCalorHit.cc.

40 {
41  EdepAbs = 0.; TrackLengthAbs = 0.;
42  EdepGap = 0.; TrackLengthGap = 0.;
43 }
G4double EdepAbs
Definition: FCALCalorHit.hh:66
G4double TrackLengthAbs
Definition: FCALCalorHit.hh:66
G4double EdepGap
Definition: FCALCalorHit.hh:71
G4double TrackLengthGap
Definition: FCALCalorHit.hh:71

◆ ~FCALCalorHit()

FCALCalorHit::~FCALCalorHit ( )

Definition at line 47 of file FCALCalorHit.cc.

48 {;}

◆ FCALCalorHit() [2/2]

FCALCalorHit::FCALCalorHit ( const FCALCalorHit right)

Definition at line 52 of file FCALCalorHit.cc.

53  : G4VHit(right)
54 {
57 }
G4VHit()
Definition: G4VHit.cc:34
G4double EdepAbs
Definition: FCALCalorHit.hh:66
G4double TrackLengthAbs
Definition: FCALCalorHit.hh:66
G4double EdepGap
Definition: FCALCalorHit.hh:71
G4double TrackLengthGap
Definition: FCALCalorHit.hh:71

Member Function Documentation

◆ AddAbs()

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

Definition at line 60 of file FCALCalorHit.hh.

60 {EdepAbs += de; TrackLengthAbs += dl;};
G4double EdepAbs
Definition: FCALCalorHit.hh:66
G4double TrackLengthAbs
Definition: FCALCalorHit.hh:66

◆ AddGap()

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

Definition at line 61 of file FCALCalorHit.hh.

61 {EdepGap += de; TrackLengthGap += dl;};
G4double EdepGap
Definition: FCALCalorHit.hh:71
G4double TrackLengthGap
Definition: FCALCalorHit.hh:71

◆ Draw()

void FCALCalorHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 77 of file FCALCalorHit.cc.

78 {;}

◆ GetEdepAbs()

G4double FCALCalorHit::GetEdepAbs ( )
inline

Definition at line 63 of file FCALCalorHit.hh.

63 { return EdepAbs; };
G4double EdepAbs
Definition: FCALCalorHit.hh:66

◆ GetEdepGap()

G4double FCALCalorHit::GetEdepGap ( )
inline

Definition at line 65 of file FCALCalorHit.hh.

65 { return EdepGap; };
G4double EdepGap
Definition: FCALCalorHit.hh:71

◆ GetTrakAbs()

G4double FCALCalorHit::GetTrakAbs ( )
inline

Definition at line 64 of file FCALCalorHit.hh.

64 { return TrackLengthAbs; };
G4double TrackLengthAbs
Definition: FCALCalorHit.hh:66

◆ GetTrakGap()

G4double FCALCalorHit::GetTrakGap ( )
inline

Definition at line 66 of file FCALCalorHit.hh.

66 { return TrackLengthGap; };
G4double TrackLengthGap
Definition: FCALCalorHit.hh:71

◆ operator delete()

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

Definition at line 93 of file FCALCalorHit.hh.

94 {
95  FCALCalorHitAllocator->FreeSingle((FCALCalorHit*) aHit);
96 }
G4ThreadLocal G4Allocator< FCALCalorHit > * FCALCalorHitAllocator
Definition: FCALCalorHit.cc:35

◆ operator new()

void * FCALCalorHit::operator new ( size_t  )
inline

Definition at line 83 of file FCALCalorHit.hh.

84 {
86  void* aHit;
87  aHit = (void*) FCALCalorHitAllocator->MallocSingle();
88  return aHit;
89 }
G4ThreadLocal G4Allocator< FCALCalorHit > * FCALCalorHitAllocator
Definition: FCALCalorHit.cc:35

◆ operator=()

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

Definition at line 61 of file FCALCalorHit.cc.

62 {
65  return *this;
66 }
G4double EdepAbs
Definition: FCALCalorHit.hh:66
G4double TrackLengthAbs
Definition: FCALCalorHit.hh:66
G4double EdepGap
Definition: FCALCalorHit.hh:71
G4double TrackLengthGap
Definition: FCALCalorHit.hh:71

◆ operator==()

int FCALCalorHit::operator== ( const FCALCalorHit right) const

Definition at line 70 of file FCALCalorHit.cc.

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

◆ Print()

void FCALCalorHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 82 of file FCALCalorHit.cc.

83 {;}

Member Data Documentation

◆ EdepAbs

G4double FCALCalorHit::EdepAbs
private

Definition at line 66 of file FCALCalorHit.hh.

◆ EdepGap

G4double FCALCalorHit::EdepGap
private

Definition at line 71 of file FCALCalorHit.hh.

◆ TrackLengthAbs

G4double FCALCalorHit::TrackLengthAbs
private

Definition at line 66 of file FCALCalorHit.hh.

◆ TrackLengthGap

G4double FCALCalorHit::TrackLengthGap
private

Definition at line 71 of file FCALCalorHit.hh.


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