Geant4  10.00.p03
ExP01TrackerHit Class Reference

Hit implementation for the persistency example. More...

#include <ExP01TrackerHit.hh>

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

Public Member Functions

 ExP01TrackerHit ()
 
 ~ExP01TrackerHit ()
 
 ExP01TrackerHit (const ExP01TrackerHit &)
 
const ExP01TrackerHitoperator= (const ExP01TrackerHit &)
 
G4int operator== (const ExP01TrackerHit &) const
 
void * operator 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 ()
 
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

Hit implementation for the persistency example.

Definition at line 47 of file ExP01TrackerHit.hh.

Constructor & Destructor Documentation

ExP01TrackerHit::ExP01TrackerHit ( )

Definition at line 46 of file ExP01TrackerHit.cc.

ExP01TrackerHit::~ExP01TrackerHit ( )

Definition at line 51 of file ExP01TrackerHit.cc.

ExP01TrackerHit::ExP01TrackerHit ( const ExP01TrackerHit right)

Definition at line 55 of file ExP01TrackerHit.cc.

References fChamberNb, fEdep, fPos, and fTrackID.

Member Function Documentation

void ExP01TrackerHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 84 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 71 of file ExP01TrackerHit.hh.

References fChamberNb.

G4double ExP01TrackerHit::GetEdep ( )
inline

Definition at line 72 of file ExP01TrackerHit.hh.

References fEdep.

G4ThreeVector ExP01TrackerHit::GetPos ( )
inline

Definition at line 73 of file ExP01TrackerHit.hh.

References fPos.

G4int ExP01TrackerHit::GetTrackID ( )
inline

Definition at line 70 of file ExP01TrackerHit.hh.

References fTrackID.

void ExP01TrackerHit::operator delete ( void *  aHit)
inline

Definition at line 100 of file ExP01TrackerHit.hh.

References G4Allocator< Type >::FreeSingle().

+ Here is the call graph for this function:

void * ExP01TrackerHit::operator new ( size_t  )
inline

Definition at line 91 of file ExP01TrackerHit.hh.

References G4Allocator< Type >::MallocSingle().

+ Here is the call graph for this function:

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

Definition at line 66 of file ExP01TrackerHit.cc.

References fChamberNb, fEdep, fPos, and fTrackID.

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

Definition at line 77 of file ExP01TrackerHit.cc.

void ExP01TrackerHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 101 of file ExP01TrackerHit.cc.

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

void ExP01TrackerHit::SetChamberNb ( G4int  chamb)
inline

Definition at line 66 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 67 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 68 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 65 of file ExP01TrackerHit.hh.

References fTrackID.

Referenced by ExP01TrackerSD::ProcessHits().

+ Here is the caller graph for this function:

Member Data Documentation

G4int ExP01TrackerHit::fChamberNb
private

Definition at line 78 of file ExP01TrackerHit.hh.

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

G4double ExP01TrackerHit::fEdep
private

Definition at line 79 of file ExP01TrackerHit.hh.

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

G4ThreeVector ExP01TrackerHit::fPos
private

Definition at line 80 of file ExP01TrackerHit.hh.

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

G4int ExP01TrackerHit::fTrackID
private

Definition at line 73 of file ExP01TrackerHit.hh.

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


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