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

#include <geant4/tree/geant4-10.6-release/examples/extended/medical/dna/microprox/include/TrackerHit.hh>

+ Inheritance diagram for TrackerHit:
+ Collaboration diagram for TrackerHit:

Public Member Functions

 TrackerHit ()
 
 TrackerHit (const TrackerHit &)
 
virtual ~TrackerHit ()
 
const TrackerHitoperator= (const TrackerHit &)
 
G4int operator== (const TrackerHit &) const
 
voidoperator 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)
 
void SetIncidentEnergy (G4double e)
 
G4int GetTrackID () const
 
G4double GetEdep () const
 
G4ThreeVector GetPos () const
 
G4double GetIncidentEnergy () const
 
 TrackerHit ()
 
 TrackerHit (const TrackerHit &)
 
virtual ~TrackerHit ()
 
const TrackerHitoperator= (const TrackerHit &)
 
G4bool operator== (const TrackerHit &) const
 
voidoperator 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)
 
void SetIncidentEnergy (G4double e)
 
G4int GetTrackID () const
 
G4double GetEdep () const
 
G4ThreeVector GetPos () const
 
G4double GetIncidentEnergy () 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

G4int fTrackID
 
G4double fEdep
 
G4ThreeVector fPos
 
G4double fIncidentEnergy
 

Detailed Description

Tracker hit class

It defines data members to store the trackID, energy deposit, and position of charged particles in a selected volume:

  • fTrackID, fEdep, fPos

Definition at line 52 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 52 of file TrackerHit.hh

Constructor & Destructor Documentation

TrackerHit::TrackerHit ( )

Definition at line 52 of file TrackerHit.cc.

View newest version in sPHENIX GitHub at line 52 of file TrackerHit.cc

TrackerHit::TrackerHit ( const TrackerHit right)

Definition at line 66 of file TrackerHit.cc.

View newest version in sPHENIX GitHub at line 66 of file TrackerHit.cc

References fEdep, fIncidentEnergy, fPos, and fTrackID.

TrackerHit::~TrackerHit ( )
virtual

Definition at line 62 of file TrackerHit.cc.

View newest version in sPHENIX GitHub at line 62 of file TrackerHit.cc

TrackerHit::TrackerHit ( )
TrackerHit::TrackerHit ( const TrackerHit )
virtual TrackerHit::~TrackerHit ( )
virtual

Member Function Documentation

virtual void TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

void TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 96 of file TrackerHit.cc.

View newest version in sPHENIX GitHub at line 96 of file TrackerHit.cc

References G4VVisManager::Draw(), G4VMarker::filled, fPos, G4VVisManager::GetConcreteInstance(), G4VMarker::SetFillStyle(), G4VMarker::SetScreenSize(), and G4Visible::SetVisAttributes().

+ Here is the call graph for this function:

G4double TrackerHit::GetEdep ( ) const
inline

Definition at line 76 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 76 of file TrackerHit.hh

References fEdep.

G4double TrackerHit::GetEdep ( ) const
inline

Definition at line 77 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 77 of file TrackerHit.hh

References fEdep.

G4double TrackerHit::GetIncidentEnergy ( ) const
inline

Definition at line 79 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 79 of file TrackerHit.hh

References fIncidentEnergy.

G4double TrackerHit::GetIncidentEnergy ( ) const
inline

Definition at line 79 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 79 of file TrackerHit.hh

References fIncidentEnergy.

G4ThreeVector TrackerHit::GetPos ( ) const
inline

Definition at line 77 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 77 of file TrackerHit.hh

References fPos.

G4ThreeVector TrackerHit::GetPos ( ) const
inline

Definition at line 78 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 78 of file TrackerHit.hh

References fPos.

G4int TrackerHit::GetTrackID ( ) const
inline

Definition at line 75 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 75 of file TrackerHit.hh

References fTrackID.

G4int TrackerHit::GetTrackID ( ) const
inline

Definition at line 76 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 76 of file TrackerHit.hh

References fTrackID.

void TrackerHit::operator delete ( void )
inline
void TrackerHit::operator delete ( void hit)
inline

Definition at line 106 of file TrackerHit.hh.

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

References TrackerHitAllocator.

void* TrackerHit::operator new ( size_t  )
inline
void * TrackerHit::operator new ( size_t  )
inline

Definition at line 97 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 97 of file TrackerHit.hh

References TrackerHitAllocator.

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

Definition at line 77 of file TrackerHit.cc.

View newest version in sPHENIX GitHub at line 77 of file TrackerHit.cc

References fEdep, fIncidentEnergy, fPos, and fTrackID.

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

Definition at line 89 of file TrackerHit.cc.

View newest version in sPHENIX GitHub at line 89 of file TrackerHit.cc

virtual void TrackerHit::Print ( )
virtual

Reimplemented from G4VHit.

void TrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 113 of file TrackerHit.cc.

View newest version in sPHENIX GitHub at line 113 of file TrackerHit.cc

References fEdep, fIncidentEnergy, fPos, fTrackID, G4BestUnit, G4cout, and G4endl.

void TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 69 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 69 of file TrackerHit.hh

References fEdep.

void TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 72 of file TrackerHit.hh.

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

References fEdep.

Referenced by TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void TrackerHit::SetIncidentEnergy ( G4double  e)
inline

Definition at line 72 of file TrackerHit.hh.

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

References e, and fIncidentEnergy.

void TrackerHit::SetIncidentEnergy ( G4double  e)
inline

Definition at line 74 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 74 of file TrackerHit.hh

References e, and fIncidentEnergy.

Referenced by TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 70 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 70 of file TrackerHit.hh

References fPos.

void TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 73 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 73 of file TrackerHit.hh

References fPos.

Referenced by TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void TrackerHit::SetTrackID ( G4int  track)
inline

Definition at line 68 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 68 of file TrackerHit.hh

References fTrackID, and track.

void TrackerHit::SetTrackID ( G4int  track)
inline

Definition at line 71 of file TrackerHit.hh.

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

References fTrackID, and track.

Referenced by TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4double TrackerHit::fEdep
private

Definition at line 84 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 84 of file TrackerHit.hh

Referenced by GetEdep(), operator=(), Print(), SetEdep(), and TrackerHit().

G4double TrackerHit::fIncidentEnergy
private

Definition at line 86 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 86 of file TrackerHit.hh

Referenced by GetIncidentEnergy(), operator=(), Print(), SetIncidentEnergy(), and TrackerHit().

G4ThreeVector TrackerHit::fPos
private

Definition at line 85 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 85 of file TrackerHit.hh

Referenced by Draw(), GetPos(), operator=(), Print(), SetPos(), and TrackerHit().

G4int TrackerHit::fTrackID
private

Definition at line 79 of file TrackerHit.hh.

View newest version in sPHENIX GitHub at line 79 of file TrackerHit.hh

Referenced by GetTrackID(), operator=(), Print(), SetTrackID(), and TrackerHit().


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