GEMC  2.3
Geant4 Monte-Carlo Framework
Public Member Functions | Data Fields
MHit Class Reference

#include <Hit.h>

+ Inheritance diagram for MHit:
+ Collaboration diagram for MHit:

Public Member Functions

 MHit ()
 
virtual ~MHit ()
 
const MHitoperator= (const MHit &)
 
void Draw ()
 
void SetPos (G4ThreeVector xyz)
 
vector< G4ThreeVector > GetPos ()
 
G4ThreeVector GetLastPos ()
 
void SetLPos (G4ThreeVector xyz)
 
vector< G4ThreeVector > GetLPos ()
 
void SetVert (G4ThreeVector ver)
 
G4ThreeVector GetVert ()
 
vector< G4ThreeVector > GetVerts ()
 
void SetEdep (double depe)
 
vector< double > GetEdep ()
 
void SetDx (double Dx)
 
vector< double > GetDx ()
 
void SetTime (double ctime)
 
vector< double > GetTime ()
 
void SetMom (G4ThreeVector pxyz)
 
G4ThreeVector GetMom ()
 
vector< G4ThreeVector > GetMoms ()
 
void SetE (double ene)
 
double GetE ()
 
vector< double > GetEs ()
 
void SetTrackId (int tid)
 
int GetTId ()
 
vector< int > GetTIds ()
 
vector< identifierGetId ()
 
void SetId (vector< identifier > iden)
 
void SetDetector (detector det)
 
vector< detectorGetDetectors ()
 
detector GetDetector ()
 
void SetPID (int pid)
 
int GetPID ()
 
vector< int > GetPIDs ()
 
void SetCharge (int Q)
 
int GetCharge ()
 
vector< int > GetCharges ()
 
void SetmTrackId (int tid)
 
void SetmTrackIds (vector< int > tid)
 
int GetmTrackId ()
 
vector< int > GetmTrackIds ()
 
void SetoTrackId (int tid)
 
void SetoTrackIds (vector< int > tid)
 
int GetoTrackId ()
 
vector< int > GetoTrackIds ()
 
void SetmPID (int mpid)
 
void SetmPIDs (vector< int > mpid)
 
int GetmPID ()
 
vector< int > GetmPIDs ()
 
void SetmVert (G4ThreeVector ver)
 
void SetmVerts (vector< G4ThreeVector > ver)
 
G4ThreeVector GetmVert ()
 
vector< G4ThreeVector > GetmVerts ()
 
void SetMatName (string mname)
 
void SetMatNames (vector< string > mnames)
 
string GetMatName ()
 
vector< string > GetMatNames ()
 
void SetProcID (int procID)
 
void SetProcID (vector< int > procIDs)
 
int GetProcID ()
 
vector< int > GetProcIDs ()
 
void SetSDID (sensitiveID s)
 
sensitiveID GetSDID ()
 
void setSignal (map< double, double > VT)
 
vector< double > getSignalT ()
 
vector< double > getSignalV ()
 
void setQuantum (map< int, int > QS)
 
vector< int > getQuantumT ()
 
vector< int > getQuantumQ ()
 
vector< int > getQuantumTR ()
 
void setQuantumTR (vector< int > t)
 
void passedTrigger ()
 
int diditpassTrigger ()
 

Data Fields

G4Colour colour_touch
 
G4Colour colour_hit
 
G4Colour colour_passby
 

Detailed Description

Definition at line 22 of file Hit.h.

Constructor & Destructor Documentation

MHit::MHit ( )

Definition at line 10 of file Hit.cc.

MHit::~MHit ( )
virtual

Definition at line 23 of file Hit.cc.

Member Function Documentation

int MHit::diditpassTrigger ( )
inline

Definition at line 187 of file Hit.h.

void MHit::Draw ( )

Definition at line 25 of file Hit.cc.

int MHit::GetCharge ( )
inline

Definition at line 115 of file Hit.h.

vector<int> MHit::GetCharges ( )
inline

Definition at line 116 of file Hit.h.

detector MHit::GetDetector ( )
inline

Definition at line 108 of file Hit.h.

vector<detector> MHit::GetDetectors ( )
inline

Definition at line 107 of file Hit.h.

vector<double> MHit::GetDx ( )
inline

Definition at line 86 of file Hit.h.

double MHit::GetE ( )
inline

Definition at line 96 of file Hit.h.

vector<double> MHit::GetEdep ( )
inline

Definition at line 83 of file Hit.h.

vector<double> MHit::GetEs ( )
inline

Definition at line 97 of file Hit.h.

vector<identifier> MHit::GetId ( )
inline

Definition at line 103 of file Hit.h.

G4ThreeVector MHit::GetLastPos ( )
inline

Definition at line 73 of file Hit.h.

vector<G4ThreeVector> MHit::GetLPos ( )
inline

Definition at line 76 of file Hit.h.

string MHit::GetMatName ( )
inline

Definition at line 141 of file Hit.h.

vector<string> MHit::GetMatNames ( )
inline

Definition at line 142 of file Hit.h.

G4ThreeVector MHit::GetMom ( )
inline

Definition at line 92 of file Hit.h.

vector<G4ThreeVector> MHit::GetMoms ( )
inline

Definition at line 93 of file Hit.h.

int MHit::GetmPID ( )
inline

Definition at line 131 of file Hit.h.

vector<int> MHit::GetmPIDs ( )
inline

Definition at line 132 of file Hit.h.

int MHit::GetmTrackId ( )
inline

Definition at line 121 of file Hit.h.

vector<int> MHit::GetmTrackIds ( )
inline

Definition at line 122 of file Hit.h.

G4ThreeVector MHit::GetmVert ( )
inline

Definition at line 136 of file Hit.h.

vector<G4ThreeVector> MHit::GetmVerts ( )
inline

Definition at line 137 of file Hit.h.

int MHit::GetoTrackId ( )
inline

Definition at line 126 of file Hit.h.

vector<int> MHit::GetoTrackIds ( )
inline

Definition at line 127 of file Hit.h.

int MHit::GetPID ( )
inline

Definition at line 111 of file Hit.h.

vector<int> MHit::GetPIDs ( )
inline

Definition at line 112 of file Hit.h.

vector<G4ThreeVector> MHit::GetPos ( )
inline

Definition at line 72 of file Hit.h.

int MHit::GetProcID ( )
inline

Definition at line 146 of file Hit.h.

vector<int> MHit::GetProcIDs ( )
inline

Definition at line 147 of file Hit.h.

vector<int> MHit::getQuantumQ ( )
inline

Definition at line 181 of file Hit.h.

vector<int> MHit::getQuantumT ( )
inline

Definition at line 180 of file Hit.h.

vector<int> MHit::getQuantumTR ( )
inline

Definition at line 182 of file Hit.h.

sensitiveID MHit::GetSDID ( )
inline

Definition at line 150 of file Hit.h.

vector<double> MHit::getSignalT ( )
inline

Definition at line 165 of file Hit.h.

vector<double> MHit::getSignalV ( )
inline

Definition at line 166 of file Hit.h.

int MHit::GetTId ( )
inline

Definition at line 100 of file Hit.h.

vector<int> MHit::GetTIds ( )
inline

Definition at line 101 of file Hit.h.

vector<double> MHit::GetTime ( )
inline

Definition at line 89 of file Hit.h.

G4ThreeVector MHit::GetVert ( )
inline

Definition at line 79 of file Hit.h.

vector<G4ThreeVector> MHit::GetVerts ( )
inline

Definition at line 80 of file Hit.h.

const MHit& MHit::operator= ( const MHit )
inline

Definition at line 28 of file Hit.h.

void MHit::passedTrigger ( )
inline

Definition at line 186 of file Hit.h.

void MHit::SetCharge ( int  Q)
inline

Definition at line 114 of file Hit.h.

void MHit::SetDetector ( detector  det)
inline

Definition at line 106 of file Hit.h.

void MHit::SetDx ( double  Dx)
inline

Definition at line 85 of file Hit.h.

void MHit::SetE ( double  ene)
inline

Definition at line 95 of file Hit.h.

void MHit::SetEdep ( double  depe)
inline

Definition at line 82 of file Hit.h.

void MHit::SetId ( vector< identifier iden)
inline

Definition at line 104 of file Hit.h.

void MHit::SetLPos ( G4ThreeVector  xyz)
inline

Definition at line 75 of file Hit.h.

void MHit::SetMatName ( string  mname)
inline

Definition at line 139 of file Hit.h.

void MHit::SetMatNames ( vector< string >  mnames)
inline

Definition at line 140 of file Hit.h.

void MHit::SetMom ( G4ThreeVector  pxyz)
inline

Definition at line 91 of file Hit.h.

void MHit::SetmPID ( int  mpid)
inline

Definition at line 129 of file Hit.h.

void MHit::SetmPIDs ( vector< int >  mpid)
inline

Definition at line 130 of file Hit.h.

void MHit::SetmTrackId ( int  tid)
inline

Definition at line 119 of file Hit.h.

void MHit::SetmTrackIds ( vector< int >  tid)
inline

Definition at line 120 of file Hit.h.

void MHit::SetmVert ( G4ThreeVector  ver)
inline

Definition at line 134 of file Hit.h.

void MHit::SetmVerts ( vector< G4ThreeVector >  ver)
inline

Definition at line 135 of file Hit.h.

void MHit::SetoTrackId ( int  tid)
inline

Definition at line 124 of file Hit.h.

void MHit::SetoTrackIds ( vector< int >  tid)
inline

Definition at line 125 of file Hit.h.

void MHit::SetPID ( int  pid)
inline

Definition at line 110 of file Hit.h.

void MHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 71 of file Hit.h.

void MHit::SetProcID ( int  procID)
inline

Definition at line 144 of file Hit.h.

void MHit::SetProcID ( vector< int >  procIDs)
inline

Definition at line 145 of file Hit.h.

void MHit::setQuantum ( map< int, int >  QS)
inline

Definition at line 168 of file Hit.h.

void MHit::setQuantumTR ( vector< int >  t)
inline

Definition at line 183 of file Hit.h.

void MHit::SetSDID ( sensitiveID  s)
inline

Definition at line 149 of file Hit.h.

void MHit::setSignal ( map< double, double >  VT)
inline

Definition at line 153 of file Hit.h.

void MHit::SetTime ( double  ctime)
inline

Definition at line 88 of file Hit.h.

void MHit::SetTrackId ( int  tid)
inline

Definition at line 99 of file Hit.h.

void MHit::SetVert ( G4ThreeVector  ver)
inline

Definition at line 78 of file Hit.h.

Field Documentation

G4Colour MHit::colour_hit

Definition at line 32 of file Hit.h.

G4Colour MHit::colour_passby

Definition at line 32 of file Hit.h.

G4Colour MHit::colour_touch

Definition at line 32 of file Hit.h.