Geant4
10.02.p02
|
Tracker hit class. More...
#include <TrackerHit.hh>
Public Member Functions | |
TrackerHit () | |
TrackerHit (const TrackerHit &) | |
virtual | ~TrackerHit () |
const TrackerHit & | operator= (const TrackerHit &) |
G4int | operator== (const TrackerHit &) const |
void * | operator new (size_t) |
void | operator delete (void *) |
virtual void | Draw () |
virtual void | Print () |
void | SetTrackID (G4int track) |
void | SetEdep (G4double de) |
void | SetPos (G4ThreeVector xyz) |
G4int | GetTrackID () const |
G4double | GetEdep () const |
G4ThreeVector | GetPos () 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 | |
G4int | fTrackID |
G4double | fEdep |
G4ThreeVector | fPos |
Tracker hit class.
It defines data members to store the trackID, energy deposit, and position of charged particles in a selected volume:
Definition at line 50 of file TrackerHit.hh.
TrackerHit::TrackerHit | ( | ) |
Definition at line 50 of file TrackerHit.cc.
TrackerHit::TrackerHit | ( | const TrackerHit & | right | ) |
Definition at line 63 of file TrackerHit.cc.
|
virtual |
Definition at line 59 of file TrackerHit.cc.
|
virtual |
Reimplemented from G4VHit.
Definition at line 91 of file TrackerHit.cc.
References G4VVisManager::Draw(), G4VMarker::filled, fPos, G4VVisManager::GetConcreteInstance(), G4VMarker::SetFillStyle(), G4VMarker::SetScreenSize(), and G4Visible::SetVisAttributes().
|
inline |
Definition at line 75 of file TrackerHit.hh.
References fEdep.
|
inline |
Definition at line 76 of file TrackerHit.hh.
References fPos.
|
inline |
Definition at line 74 of file TrackerHit.hh.
References fTrackID.
|
inline |
Definition at line 102 of file TrackerHit.hh.
References TrackerHitAllocator.
|
inline |
Definition at line 93 of file TrackerHit.hh.
References TrackerHitAllocator.
const TrackerHit & TrackerHit::operator= | ( | const TrackerHit & | right | ) |
Definition at line 73 of file TrackerHit.cc.
G4int TrackerHit::operator== | ( | const TrackerHit & | right | ) | const |
Definition at line 84 of file TrackerHit.cc.
|
virtual |
Reimplemented from G4VHit.
Definition at line 108 of file TrackerHit.cc.
References fEdep, fPos, fTrackID, G4BestUnit, G4cout, and G4endl.
|
inline |
Definition at line 70 of file TrackerHit.hh.
References fEdep.
Referenced by TrackerSD::ProcessHits().
|
inline |
Definition at line 71 of file TrackerHit.hh.
References fPos.
Referenced by TrackerSD::ProcessHits().
|
inline |
Definition at line 69 of file TrackerHit.hh.
References fTrackID.
Referenced by TrackerSD::ProcessHits().
|
private |
Definition at line 81 of file TrackerHit.hh.
Referenced by GetEdep(), operator=(), Print(), SetEdep(), and TrackerHit().
|
private |
Definition at line 82 of file TrackerHit.hh.
Referenced by Draw(), GetPos(), operator=(), Print(), SetPos(), and TrackerHit().
|
private |
Definition at line 76 of file TrackerHit.hh.
Referenced by GetTrackID(), operator=(), Print(), SetTrackID(), and TrackerHit().