GEMC  2.2
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 SetSDID (sensitiveID s)
 
sensitiveID GetSDID ()
 
void setSignal (map< double, double > VT)
 
vector< double > getSignalT ()
 
vector< double > getSignalV ()
 

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 21 of file Hit.cc.

Member Function Documentation

void MHit::Draw ( )

Definition at line 23 of file Hit.cc.

int MHit::GetCharge ( )
inline

Definition at line 108 of file Hit.h.

vector<int> MHit::GetCharges ( )
inline

Definition at line 109 of file Hit.h.

detector MHit::GetDetector ( )
inline

Definition at line 101 of file Hit.h.

vector<detector> MHit::GetDetectors ( )
inline

Definition at line 100 of file Hit.h.

vector<double> MHit::GetDx ( )
inline

Definition at line 79 of file Hit.h.

double MHit::GetE ( )
inline

Definition at line 89 of file Hit.h.

vector<double> MHit::GetEdep ( )
inline

Definition at line 76 of file Hit.h.

vector<double> MHit::GetEs ( )
inline

Definition at line 90 of file Hit.h.

vector<identifier> MHit::GetId ( )
inline

Definition at line 96 of file Hit.h.

G4ThreeVector MHit::GetLastPos ( )
inline

Definition at line 66 of file Hit.h.

vector<G4ThreeVector> MHit::GetLPos ( )
inline

Definition at line 69 of file Hit.h.

G4ThreeVector MHit::GetMom ( )
inline

Definition at line 85 of file Hit.h.

vector<G4ThreeVector> MHit::GetMoms ( )
inline

Definition at line 86 of file Hit.h.

int MHit::GetmPID ( )
inline

Definition at line 124 of file Hit.h.

vector<int> MHit::GetmPIDs ( )
inline

Definition at line 125 of file Hit.h.

int MHit::GetmTrackId ( )
inline

Definition at line 114 of file Hit.h.

vector<int> MHit::GetmTrackIds ( )
inline

Definition at line 115 of file Hit.h.

G4ThreeVector MHit::GetmVert ( )
inline

Definition at line 129 of file Hit.h.

vector<G4ThreeVector> MHit::GetmVerts ( )
inline

Definition at line 130 of file Hit.h.

int MHit::GetoTrackId ( )
inline

Definition at line 119 of file Hit.h.

vector<int> MHit::GetoTrackIds ( )
inline

Definition at line 120 of file Hit.h.

int MHit::GetPID ( )
inline

Definition at line 104 of file Hit.h.

vector<int> MHit::GetPIDs ( )
inline

Definition at line 105 of file Hit.h.

vector<G4ThreeVector> MHit::GetPos ( )
inline

Definition at line 65 of file Hit.h.

sensitiveID MHit::GetSDID ( )
inline

Definition at line 133 of file Hit.h.

vector<double> MHit::getSignalT ( )
inline

Definition at line 148 of file Hit.h.

vector<double> MHit::getSignalV ( )
inline

Definition at line 149 of file Hit.h.

int MHit::GetTId ( )
inline

Definition at line 93 of file Hit.h.

vector<int> MHit::GetTIds ( )
inline

Definition at line 94 of file Hit.h.

vector<double> MHit::GetTime ( )
inline

Definition at line 82 of file Hit.h.

G4ThreeVector MHit::GetVert ( )
inline

Definition at line 72 of file Hit.h.

vector<G4ThreeVector> MHit::GetVerts ( )
inline

Definition at line 73 of file Hit.h.

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

Definition at line 28 of file Hit.h.

void MHit::SetCharge ( int  Q)
inline

Definition at line 107 of file Hit.h.

void MHit::SetDetector ( detector  det)
inline

Definition at line 99 of file Hit.h.

void MHit::SetDx ( double  Dx)
inline

Definition at line 78 of file Hit.h.

void MHit::SetE ( double  ene)
inline

Definition at line 88 of file Hit.h.

void MHit::SetEdep ( double  depe)
inline

Definition at line 75 of file Hit.h.

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

Definition at line 97 of file Hit.h.

void MHit::SetLPos ( G4ThreeVector  xyz)
inline

Definition at line 68 of file Hit.h.

void MHit::SetMom ( G4ThreeVector  pxyz)
inline

Definition at line 84 of file Hit.h.

void MHit::SetmPID ( int  mpid)
inline

Definition at line 122 of file Hit.h.

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

Definition at line 123 of file Hit.h.

void MHit::SetmTrackId ( int  tid)
inline

Definition at line 112 of file Hit.h.

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

Definition at line 113 of file Hit.h.

void MHit::SetmVert ( G4ThreeVector  ver)
inline

Definition at line 127 of file Hit.h.

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

Definition at line 128 of file Hit.h.

void MHit::SetoTrackId ( int  tid)
inline

Definition at line 117 of file Hit.h.

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

Definition at line 118 of file Hit.h.

void MHit::SetPID ( int  pid)
inline

Definition at line 103 of file Hit.h.

void MHit::SetPos ( G4ThreeVector  xyz)
inline

Definition at line 64 of file Hit.h.

void MHit::SetSDID ( sensitiveID  s)
inline

Definition at line 132 of file Hit.h.

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

Definition at line 136 of file Hit.h.

void MHit::SetTime ( double  ctime)
inline

Definition at line 81 of file Hit.h.

void MHit::SetTrackId ( int  tid)
inline

Definition at line 92 of file Hit.h.

void MHit::SetVert ( G4ThreeVector  ver)
inline

Definition at line 71 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.