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

Hit implementation for the persistency example. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/P01/include/ExP01TrackerHit.hh>

+ Inheritance diagram for ExP01TrackerHit:
+ Collaboration diagram for ExP01TrackerHit:

Public Member Functions

 ExP01TrackerHit ()
 
 ~ExP01TrackerHit ()
 
 ExP01TrackerHit (const ExP01TrackerHit &)
 
const ExP01TrackerHitoperator= (const ExP01TrackerHit &)
 
G4bool operator== (const ExP01TrackerHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
virtual void Draw ()
 
virtual void Print ()
 
void SetTrackID (G4int track)
 
void SetChamberNb (G4int chamb)
 
void SetEdep (G4double de)
 
void SetPos (G4ThreeVector xyz)
 
G4int GetTrackID ()
 
G4int GetChamberNb ()
 
G4double GetEdep ()
 
G4ThreeVector GetPos ()
 
- 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
 
G4int fChamberNb
 
G4double fEdep
 
G4ThreeVector fPos
 

Detailed Description

Hit implementation for the persistency example.

Definition at line 46 of file ExP01TrackerHit.hh.

View newest version in sPHENIX GitHub at line 46 of file ExP01TrackerHit.hh

Constructor & Destructor Documentation

ExP01TrackerHit::ExP01TrackerHit ( )

Definition at line 45 of file ExP01TrackerHit.cc.

View newest version in sPHENIX GitHub at line 45 of file ExP01TrackerHit.cc

ExP01TrackerHit::~ExP01TrackerHit ( )

Definition at line 50 of file ExP01TrackerHit.cc.

View newest version in sPHENIX GitHub at line 50 of file ExP01TrackerHit.cc

ExP01TrackerHit::ExP01TrackerHit ( const ExP01TrackerHit right)

Definition at line 54 of file ExP01TrackerHit.cc.

View newest version in sPHENIX GitHub at line 54 of file ExP01TrackerHit.cc

References fChamberNb, fEdep, fPos, and fTrackID.

Member Function Documentation

void ExP01TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 83 of file ExP01TrackerHit.cc.

View newest version in sPHENIX GitHub at line 83 of file ExP01TrackerHit.cc

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

+ Here is the call graph for this function:

G4int ExP01TrackerHit::GetChamberNb ( )
inline

Definition at line 70 of file ExP01TrackerHit.hh.

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

References fChamberNb.

G4double ExP01TrackerHit::GetEdep ( )
inline

Definition at line 71 of file ExP01TrackerHit.hh.

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

References fEdep.

G4ThreeVector ExP01TrackerHit::GetPos ( )
inline

Definition at line 72 of file ExP01TrackerHit.hh.

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

References fPos.

G4int ExP01TrackerHit::GetTrackID ( )
inline

Definition at line 69 of file ExP01TrackerHit.hh.

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

References fTrackID.

void ExP01TrackerHit::operator delete ( void aHit)
inline

Definition at line 101 of file ExP01TrackerHit.hh.

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

References ExP01TrackerHitAllocator.

void * ExP01TrackerHit::operator new ( size_t  )
inline

Definition at line 90 of file ExP01TrackerHit.hh.

View newest version in sPHENIX GitHub at line 90 of file ExP01TrackerHit.hh

References ExP01TrackerHitAllocator.

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

Definition at line 65 of file ExP01TrackerHit.cc.

View newest version in sPHENIX GitHub at line 65 of file ExP01TrackerHit.cc

References fChamberNb, fEdep, fPos, and fTrackID.

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

Definition at line 76 of file ExP01TrackerHit.cc.

View newest version in sPHENIX GitHub at line 76 of file ExP01TrackerHit.cc

void ExP01TrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 100 of file ExP01TrackerHit.cc.

View newest version in sPHENIX GitHub at line 100 of file ExP01TrackerHit.cc

References fChamberNb, fEdep, fPos, fTrackID, G4cout, and G4endl.

void ExP01TrackerHit::SetChamberNb ( G4int  chamb)
inline

Definition at line 65 of file ExP01TrackerHit.hh.

View newest version in sPHENIX GitHub at line 65 of file ExP01TrackerHit.hh

References fChamberNb.

Referenced by ExP01TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void ExP01TrackerHit::SetEdep ( G4double  de)
inline

Definition at line 66 of file ExP01TrackerHit.hh.

View newest version in sPHENIX GitHub at line 66 of file ExP01TrackerHit.hh

References fEdep.

Referenced by ExP01TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void ExP01TrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 67 of file ExP01TrackerHit.hh.

View newest version in sPHENIX GitHub at line 67 of file ExP01TrackerHit.hh

References fPos.

Referenced by ExP01TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void ExP01TrackerHit::SetTrackID ( G4int  track)
inline

Definition at line 64 of file ExP01TrackerHit.hh.

View newest version in sPHENIX GitHub at line 64 of file ExP01TrackerHit.hh

References fTrackID, and track.

Referenced by ExP01TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4int ExP01TrackerHit::fChamberNb
private

Definition at line 77 of file ExP01TrackerHit.hh.

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

Referenced by ExP01TrackerHit(), GetChamberNb(), operator=(), Print(), and SetChamberNb().

G4double ExP01TrackerHit::fEdep
private

Definition at line 78 of file ExP01TrackerHit.hh.

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

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

G4ThreeVector ExP01TrackerHit::fPos
private

Definition at line 79 of file ExP01TrackerHit.hh.

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

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

G4int ExP01TrackerHit::fTrackID
private

Definition at line 72 of file ExP01TrackerHit.hh.

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

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


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