Geant4  10.02.p01
ExTGTrackerHit Class Reference

Example of hit. More...

#include <ExTGTrackerHit.hh>

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

Public Member Functions

 ExTGTrackerHit ()
 
 ~ExTGTrackerHit ()
 
 ExTGTrackerHit (const ExTGTrackerHit &)
 
const ExTGTrackerHitoperator= (const ExTGTrackerHit &)
 
G4int operator== (const ExTGTrackerHit &) const
 
void * operator 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 ()
 
G4int 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 41 of file ExTGTrackerHit.hh.

Constructor & Destructor Documentation

ExTGTrackerHit::ExTGTrackerHit ( )

Definition at line 42 of file ExTGTrackerHit.cc.

ExTGTrackerHit::~ExTGTrackerHit ( )

Definition at line 47 of file ExTGTrackerHit.cc.

ExTGTrackerHit::ExTGTrackerHit ( const ExTGTrackerHit right)

Definition at line 52 of file ExTGTrackerHit.cc.

References fChamberNb, fEdep, fPos, and fTrackID.

Member Function Documentation

void ExTGTrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 78 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 63 of file ExTGTrackerHit.hh.

References fChamberNb.

G4double ExTGTrackerHit::GetEdep ( )
inline

Definition at line 64 of file ExTGTrackerHit.hh.

References fEdep.

G4ThreeVector ExTGTrackerHit::GetPos ( )
inline

Definition at line 65 of file ExTGTrackerHit.hh.

References fPos.

G4int ExTGTrackerHit::GetTrackID ( )
inline

Definition at line 62 of file ExTGTrackerHit.hh.

References fTrackID.

void ExTGTrackerHit::operator delete ( void *  hit)
inline

Definition at line 92 of file ExTGTrackerHit.hh.

References ExTGTrackerHitAllocator.

void * ExTGTrackerHit::operator new ( size_t  )
inline

Definition at line 83 of file ExTGTrackerHit.hh.

References ExTGTrackerHitAllocator.

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

Definition at line 62 of file ExTGTrackerHit.cc.

References fChamberNb, fEdep, fPos, and fTrackID.

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

Definition at line 72 of file ExTGTrackerHit.cc.

void ExTGTrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 94 of file ExTGTrackerHit.cc.

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

void ExTGTrackerHit::SetChamberNb ( G4int  chamb)
inline

Definition at line 58 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 59 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 60 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 57 of file ExTGTrackerHit.hh.

References fTrackID.

Referenced by ExTGTrackerSD::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4int ExTGTrackerHit::fChamberNb
private

Definition at line 70 of file ExTGTrackerHit.hh.

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

G4double ExTGTrackerHit::fEdep
private

Definition at line 71 of file ExTGTrackerHit.hh.

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

G4ThreeVector ExTGTrackerHit::fPos
private

Definition at line 72 of file ExTGTrackerHit.hh.

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

G4int ExTGTrackerHit::fTrackID
private

Definition at line 65 of file ExTGTrackerHit.hh.

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


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