Geant4
10.01.p03
|
Calorimeter hit class. More...
#include <B4cCalorHit.hh>
Public Member Functions | |
B4cCalorHit () | |
B4cCalorHit (const B4cCalorHit &) | |
virtual | ~B4cCalorHit () |
const B4cCalorHit & | operator= (const B4cCalorHit &) |
G4int | operator== (const B4cCalorHit &) const |
void * | operator 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 () |
G4int | 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. More... | |
G4double | fTrackLength |
Track length in the sensitive volume. More... | |
Calorimeter hit class.
It defines data members to store the the energy deposit and track lengths of charged particles in a selected volume:
Definition at line 46 of file B4cCalorHit.hh.
B4cCalorHit::B4cCalorHit | ( | ) |
Definition at line 44 of file B4cCalorHit.cc.
B4cCalorHit::B4cCalorHit | ( | const B4cCalorHit & | right | ) |
Definition at line 56 of file B4cCalorHit.cc.
References fEdep, and fTrackLength.
|
virtual |
Definition at line 52 of file B4cCalorHit.cc.
Definition at line 100 of file B4cCalorHit.hh.
References fEdep, and fTrackLength.
Referenced by B4cCalorimeterSD::ProcessHits().
|
inlinevirtual |
Reimplemented from G4VHit.
Definition at line 61 of file B4cCalorHit.hh.
|
inline |
Definition at line 105 of file B4cCalorHit.hh.
References fEdep.
Referenced by B4cEventAction::EndOfEventAction().
|
inline |
Definition at line 109 of file B4cCalorHit.hh.
References fTrackLength.
Referenced by B4cEventAction::EndOfEventAction().
|
inline |
Definition at line 93 of file B4cCalorHit.hh.
References B4cCalorHitAllocator.
|
inline |
Definition at line 84 of file B4cCalorHit.hh.
References B4cCalorHitAllocator.
const B4cCalorHit & B4cCalorHit::operator= | ( | const B4cCalorHit & | right | ) |
Definition at line 65 of file B4cCalorHit.cc.
References fEdep, and fTrackLength.
G4int B4cCalorHit::operator== | ( | const B4cCalorHit & | right | ) | const |
Definition at line 75 of file B4cCalorHit.cc.
|
virtual |
Reimplemented from G4VHit.
Definition at line 82 of file B4cCalorHit.cc.
References fEdep, fTrackLength, G4BestUnit, G4cout, and G4endl.
|
private |
Energy deposit in the sensitive volume.
Definition at line 72 of file B4cCalorHit.hh.
Referenced by Add(), B4cCalorHit(), GetEdep(), operator=(), and Print().
|
private |
Track length in the sensitive volume.
Definition at line 73 of file B4cCalorHit.hh.
Referenced by Add(), B4cCalorHit(), GetTrackLength(), operator=(), and Print().