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

Example of hit. More...

#include <geant4/tree/geant4-10.6-release/examples/extended/persistency/P03/include/ExTGTrackerHit.hh>

+ Inheritance diagram for ExTGTrackerHit:
+ Collaboration diagram for ExTGTrackerHit:

Public Member Functions

 ExTGTrackerHit ()
 
 ~ExTGTrackerHit ()
 
 ExTGTrackerHit (const ExTGTrackerHit &)
 
const ExTGTrackerHitoperator= (const ExTGTrackerHit &)
 
G4bool operator== (const ExTGTrackerHit &) const
 
voidoperator new (size_t)
 
void operator delete (void *)
 
void Draw ()
 
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

Example of hit.

Definition at line 40 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 40 of file ExTGTrackerHit.hh

Constructor & Destructor Documentation

ExTGTrackerHit::ExTGTrackerHit ( )

Definition at line 41 of file ExTGTrackerHit.cc.

View newest version in sPHENIX GitHub at line 41 of file ExTGTrackerHit.cc

ExTGTrackerHit::~ExTGTrackerHit ( )

Definition at line 46 of file ExTGTrackerHit.cc.

View newest version in sPHENIX GitHub at line 46 of file ExTGTrackerHit.cc

ExTGTrackerHit::ExTGTrackerHit ( const ExTGTrackerHit right)

Definition at line 51 of file ExTGTrackerHit.cc.

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

References fChamberNb, fEdep, fPos, and fTrackID.

Member Function Documentation

void ExTGTrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 77 of file ExTGTrackerHit.cc.

View newest version in sPHENIX GitHub at line 77 of file ExTGTrackerHit.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 ExTGTrackerHit::GetChamberNb ( )
inline

Definition at line 62 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 62 of file ExTGTrackerHit.hh

References fChamberNb.

G4double ExTGTrackerHit::GetEdep ( )
inline

Definition at line 63 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 63 of file ExTGTrackerHit.hh

References fEdep.

G4ThreeVector ExTGTrackerHit::GetPos ( )
inline

Definition at line 64 of file ExTGTrackerHit.hh.

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

References fPos.

G4int ExTGTrackerHit::GetTrackID ( )
inline

Definition at line 61 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 61 of file ExTGTrackerHit.hh

References fTrackID.

void ExTGTrackerHit::operator delete ( void hit)
inline

Definition at line 91 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 91 of file ExTGTrackerHit.hh

References ExTGTrackerHitAllocator.

void * ExTGTrackerHit::operator new ( size_t  )
inline

Definition at line 82 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 82 of file ExTGTrackerHit.hh

References ExTGTrackerHitAllocator.

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

Definition at line 61 of file ExTGTrackerHit.cc.

View newest version in sPHENIX GitHub at line 61 of file ExTGTrackerHit.cc

References fChamberNb, fEdep, fPos, and fTrackID.

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

Definition at line 71 of file ExTGTrackerHit.cc.

View newest version in sPHENIX GitHub at line 71 of file ExTGTrackerHit.cc

void ExTGTrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 93 of file ExTGTrackerHit.cc.

View newest version in sPHENIX GitHub at line 93 of file ExTGTrackerHit.cc

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

void ExTGTrackerHit::SetChamberNb ( G4int  chamb)
inline

Definition at line 57 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 57 of file ExTGTrackerHit.hh

References fChamberNb.

Referenced by ExTGTrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void ExTGTrackerHit::SetEdep ( G4double  de)
inline

Definition at line 58 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 58 of file ExTGTrackerHit.hh

References fEdep.

Referenced by ExTGTrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void ExTGTrackerHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 59 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 59 of file ExTGTrackerHit.hh

References fPos.

Referenced by ExTGTrackerSD::ProcessHits().

+ Here is the caller graph for this function:

void ExTGTrackerHit::SetTrackID ( G4int  track)
inline

Definition at line 56 of file ExTGTrackerHit.hh.

View newest version in sPHENIX GitHub at line 56 of file ExTGTrackerHit.hh

References fTrackID, and track.

Referenced by ExTGTrackerSD::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4int ExTGTrackerHit::fChamberNb
private

Definition at line 69 of file ExTGTrackerHit.hh.

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

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

G4double ExTGTrackerHit::fEdep
private

Definition at line 70 of file ExTGTrackerHit.hh.

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

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

G4ThreeVector ExTGTrackerHit::fPos
private

Definition at line 71 of file ExTGTrackerHit.hh.

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

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

G4int ExTGTrackerHit::fTrackID
private

Definition at line 64 of file ExTGTrackerHit.hh.

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

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


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