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

#include <geant4/tree/geant4-10.6-release/examples/extended/eventgenerator/HepMC/HepMCEx02/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)
 
G4bool operator== (const H02MuonHit &right) const
 
voidoperator 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 ()
 
G4bool operator== (const G4VHit &right) const
 
virtual const std::map
< G4String, G4AttDef > * 
GetAttDefs () const
 
virtual std::vector< G4AttValue > * CreateAttValues () const
 

Private Attributes

G4int fModuleID
 
G4String fPname
 
G4ThreeVector fMomentum
 
G4ThreeVector fPosition
 
G4double fTof
 

Detailed Description

Definition at line 38 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 38 of file H02MuonHit.hh

Constructor & Destructor Documentation

H02MuonHit::H02MuonHit ( )

Definition at line 41 of file H02MuonHit.cc.

View newest version in sPHENIX GitHub at line 41 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.

View newest version in sPHENIX GitHub at line 48 of file H02MuonHit.cc

H02MuonHit::~H02MuonHit ( )

Definition at line 57 of file H02MuonHit.cc.

View newest version in sPHENIX GitHub at line 57 of file H02MuonHit.cc

H02MuonHit::H02MuonHit ( const H02MuonHit right)

Definition at line 62 of file H02MuonHit.cc.

View newest version in sPHENIX GitHub 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.

View newest version in sPHENIX GitHub at line 87 of file H02MuonHit.cc

References color(), G4VVisManager::Draw(), G4VMarker::filled, fMomentum, fPosition, G4VVisManager::GetConcreteInstance(), GeV, CLHEP::Hep3Vector::perp(), G4VMarker::SetFillStyle(), G4VMarker::SetScreenSize(), and G4Visible::SetVisAttributes().

+ Here is the call graph for this function:

G4int H02MuonHit::GetModuleID ( ) const
inline

Definition at line 82 of file H02MuonHit.hh.

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

References fModuleID.

G4ThreeVector H02MuonHit::GetMomentum ( ) const
inline

Definition at line 89 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 89 of file H02MuonHit.hh

References fMomentum.

G4String H02MuonHit::GetParticle ( ) const
inline

Definition at line 85 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 85 of file H02MuonHit.hh

References fPname.

G4ThreeVector H02MuonHit::GetPosition ( ) const
inline

Definition at line 92 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 92 of file H02MuonHit.hh

References fPosition.

G4double H02MuonHit::GetTOF ( ) const
inline

Definition at line 95 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 95 of file H02MuonHit.hh

References fTof.

void H02MuonHit::operator delete ( void aHit)
inline

Definition at line 107 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 107 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 100 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 100 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.

View newest version in sPHENIX GitHub at line 69 of file H02MuonHit.cc

References fModuleID, fMomentum, fPname, fPosition, and fTof.

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

Definition at line 81 of file H02MuonHit.cc.

View newest version in sPHENIX GitHub at line 81 of file H02MuonHit.cc

void H02MuonHit::Print ( void  )
virtual

Reimplemented from G4VHit.

Definition at line 108 of file H02MuonHit.cc.

View newest version in sPHENIX GitHub at line 108 of file H02MuonHit.cc

References fModuleID, fMomentum, fPname, fPosition, fTof, G4cout, G4endl, GeV, m, ns, and CLHEP::Hep3Vector::perp().

+ Here is the call graph for this function:

void H02MuonHit::SetModuleID ( G4int  i)
inline

Definition at line 81 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 81 of file H02MuonHit.hh

References fModuleID.

void H02MuonHit::SetMomentum ( const G4ThreeVector pxyz)
inline

Definition at line 87 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 87 of file H02MuonHit.hh

References fMomentum.

void H02MuonHit::SetParticle ( G4String  aname)
inline

Definition at line 84 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 84 of file H02MuonHit.hh

References fPname.

void H02MuonHit::SetPosition ( const G4ThreeVector xyz)
inline

Definition at line 91 of file H02MuonHit.hh.

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

References fPosition.

void H02MuonHit::SetTOF ( G4double  atof)
inline

Definition at line 94 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 94 of file H02MuonHit.hh

References fTof.

Member Data Documentation

G4int H02MuonHit::fModuleID
private

Definition at line 73 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 73 of file H02MuonHit.hh

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

G4ThreeVector H02MuonHit::fMomentum
private

Definition at line 75 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 75 of file H02MuonHit.hh

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

G4String H02MuonHit::fPname
private

Definition at line 74 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 74 of file H02MuonHit.hh

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

G4ThreeVector H02MuonHit::fPosition
private

Definition at line 76 of file H02MuonHit.hh.

View newest version in sPHENIX GitHub at line 76 of file H02MuonHit.hh

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

G4double H02MuonHit::fTof
private

Definition at line 77 of file H02MuonHit.hh.

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

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


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