ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
B4cCalorHit Class Reference

#include <geant4/tree/geant4-10.6-release/examples/basic/B4/B4c/include/B4cCalorHit.hh>

+ Inheritance diagram for B4cCalorHit:
+ Collaboration diagram for B4cCalorHit:

Public Member Functions

 B4cCalorHit ()
 
 B4cCalorHit (const B4cCalorHit &)
 
virtual ~B4cCalorHit ()
 
const B4cCalorHitoperator= (const B4cCalorHit &)
 
G4bool operator== (const B4cCalorHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void Add (G4double de, G4double dl)
 
G4double GetEdep () const
 
G4double GetTrackLength () const
 
- Public Member Functions inherited from G4VHit
 G4VHit ()
 
virtual ~G4VHit ()
 
G4bool operator== (const G4VHit &right) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Private Attributes

G4double fEdep
 Energy deposit in the sensitive volume.
 
G4double fTrackLength
 Track length in the sensitive volume.
 

Detailed Description

Calorimeter hit class

It defines data members to store the the energy deposit and track lengths of charged particles in a selected volume:

  • fEdep, fTrackLength

Definition at line 45 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 45 of file B4cCalorHit.hh

Constructor & Destructor Documentation

B4cCalorHit::B4cCalorHit ( )

Definition at line 43 of file B4cCalorHit.cc.

View newest version in sPHENIX GitHub at line 43 of file B4cCalorHit.cc

B4cCalorHit::B4cCalorHit ( const B4cCalorHit right)

Definition at line 55 of file B4cCalorHit.cc.

View newest version in sPHENIX GitHub at line 55 of file B4cCalorHit.cc

References fEdep, and fTrackLength.

B4cCalorHit::~B4cCalorHit ( )
virtual

Definition at line 51 of file B4cCalorHit.cc.

View newest version in sPHENIX GitHub at line 51 of file B4cCalorHit.cc

Member Function Documentation

void B4cCalorHit::Add ( G4double  de,
G4double  dl 
)
inline

Definition at line 101 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 101 of file B4cCalorHit.hh

References fEdep, and fTrackLength.

virtual void B4cCalorHit::Draw ( )
inlinevirtual

Reimplemented from G4VHit.

Definition at line 60 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 60 of file B4cCalorHit.hh

G4double B4cCalorHit::GetEdep ( ) const
inline

Definition at line 106 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 106 of file B4cCalorHit.hh

References fEdep.

G4double B4cCalorHit::GetTrackLength ( ) const
inline

Definition at line 110 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 110 of file B4cCalorHit.hh

References fTrackLength.

void B4cCalorHit::operator delete ( void hit)
inline

Definition at line 93 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 93 of file B4cCalorHit.hh

References B4cCalorHitAllocator.

void * B4cCalorHit::operator new ( size_t  )
inline

Definition at line 83 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 83 of file B4cCalorHit.hh

References B4cCalorHitAllocator.

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

Definition at line 64 of file B4cCalorHit.cc.

View newest version in sPHENIX GitHub at line 64 of file B4cCalorHit.cc

References fEdep, and fTrackLength.

G4bool B4cCalorHit::operator== ( const B4cCalorHit right) const

Definition at line 74 of file B4cCalorHit.cc.

View newest version in sPHENIX GitHub at line 74 of file B4cCalorHit.cc

void B4cCalorHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 81 of file B4cCalorHit.cc.

View newest version in sPHENIX GitHub at line 81 of file B4cCalorHit.cc

References fEdep, fTrackLength, G4BestUnit, G4cout, and G4endl.

Member Data Documentation

G4double B4cCalorHit::fEdep
private

Energy deposit in the sensitive volume.

Definition at line 71 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 71 of file B4cCalorHit.hh

Referenced by Add(), B4cCalorHit(), GetEdep(), operator=(), and Print().

G4double B4cCalorHit::fTrackLength
private

Track length in the sensitive volume.

Definition at line 72 of file B4cCalorHit.hh.

View newest version in sPHENIX GitHub at line 72 of file B4cCalorHit.hh

Referenced by Add(), B4cCalorHit(), GetTrackLength(), operator=(), and Print().


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