Geant4  10.00.p01
H02MuonHit Class Reference

#include <H02MuonHit.hh>

+ Inheritance diagram for H02MuonHit:
+ Collaboration diagram for H02MuonHit:

Public Member Functions

 H02MuonHit ()
 
 H02MuonHit (G4int imod, G4String aname, const G4ThreeVector &pxyz, const G4ThreeVector &xyz, G4double atof)
 
 ~H02MuonHit ()
 
 H02MuonHit (const H02MuonHit &right)
 
const H02MuonHitoperator= (const H02MuonHit &right)
 
G4int operator== (const H02MuonHit &right) const
 
void * operator new (size_t)
 
void operator delete (void *aHit)
 
void SetModuleID (G4int i)
 
G4int GetModuleID () const
 
void SetParticle (G4String aname)
 
G4String GetParticle () const
 
void SetMomentum (const G4ThreeVector &pxyz)
 
G4ThreeVector GetMomentum () const
 
void SetPosition (const G4ThreeVector &xyz)
 
G4ThreeVector GetPosition () const
 
void SetTOF (G4double atof)
 
G4double GetTOF () const
 
virtual void Draw ()
 
virtual void Print ()
 
- 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 moduleID
 
G4String pname
 
G4ThreeVector momentum
 
G4ThreeVector position
 
G4double tof
 

Detailed Description

Definition at line 39 of file H02MuonHit.hh.

Constructor & Destructor Documentation

H02MuonHit::H02MuonHit ( )

Definition at line 42 of file H02MuonHit.cc.

H02MuonHit::H02MuonHit ( G4int  imod,
G4String  aname,
const G4ThreeVector pxyz,
const G4ThreeVector xyz,
G4double  atof 
)

Definition at line 48 of file H02MuonHit.cc.

H02MuonHit::~H02MuonHit ( )

Definition at line 57 of file H02MuonHit.cc.

H02MuonHit::H02MuonHit ( const H02MuonHit right)

Definition at line 62 of file H02MuonHit.cc.

References right.

Member Function Documentation

void H02MuonHit::Draw ( )
virtual

Reimplemented from G4VHit.

Definition at line 87 of file H02MuonHit.cc.

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

+ Here is the call graph for this function:

G4int H02MuonHit::GetModuleID ( ) const
inline

Definition at line 83 of file H02MuonHit.hh.

References moduleID.

G4ThreeVector H02MuonHit::GetMomentum ( ) const
inline

Definition at line 90 of file H02MuonHit.hh.

References momentum.

G4String H02MuonHit::GetParticle ( ) const
inline

Definition at line 86 of file H02MuonHit.hh.

References pname.

G4ThreeVector H02MuonHit::GetPosition ( ) const
inline

Definition at line 93 of file H02MuonHit.hh.

References position.

G4double H02MuonHit::GetTOF ( ) const
inline

Definition at line 96 of file H02MuonHit.hh.

References tof.

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

Definition at line 108 of file H02MuonHit.hh.

References G4Allocator< Type >::FreeSingle().

+ Here is the call graph for this function:

void * H02MuonHit::operator new ( size_t  )
inline

Definition at line 101 of file H02MuonHit.hh.

References G4Allocator< Type >::MallocSingle().

+ Here is the call graph for this function:

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

Definition at line 69 of file H02MuonHit.cc.

References moduleID, momentum, pname, position, and tof.

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

Definition at line 81 of file H02MuonHit.cc.

void H02MuonHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 108 of file H02MuonHit.cc.

References G4cout, G4endl, GeV, m, moduleID, momentum, ns, pname, position, and tof.

void H02MuonHit::SetModuleID ( G4int  i)
inline

Definition at line 82 of file H02MuonHit.hh.

References moduleID.

void H02MuonHit::SetMomentum ( const G4ThreeVector pxyz)
inline

Definition at line 88 of file H02MuonHit.hh.

References momentum.

void H02MuonHit::SetParticle ( G4String  aname)
inline

Definition at line 85 of file H02MuonHit.hh.

References pname.

void H02MuonHit::SetPosition ( const G4ThreeVector xyz)
inline

Definition at line 92 of file H02MuonHit.hh.

References position.

void H02MuonHit::SetTOF ( G4double  atof)
inline

Definition at line 95 of file H02MuonHit.hh.

References tof.

Member Data Documentation

G4int H02MuonHit::moduleID
private

Definition at line 74 of file H02MuonHit.hh.

Referenced by GetModuleID(), operator=(), Print(), and SetModuleID().

G4ThreeVector H02MuonHit::momentum
private

Definition at line 76 of file H02MuonHit.hh.

Referenced by Draw(), GetMomentum(), operator=(), Print(), and SetMomentum().

G4String H02MuonHit::pname
private

Definition at line 75 of file H02MuonHit.hh.

Referenced by GetParticle(), operator=(), Print(), and SetParticle().

G4ThreeVector H02MuonHit::position
private

Definition at line 77 of file H02MuonHit.hh.

Referenced by Draw(), GetPosition(), operator=(), Print(), and SetPosition().

G4double H02MuonHit::tof
private

Definition at line 78 of file H02MuonHit.hh.

Referenced by GetTOF(), operator=(), Print(), and SetTOF().


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