5#ifndef LUCID_HITIDHELPER
6#define LUCID_HITIDHELPER 1
14#include "G4TouchableHistory.hh"
15#include "G4VTouchable.hh"
18#include "CLHEP/Units/PhysicalConstants.h"
19#include "CLHEP/Units/SystemOfUnits.h"
31 inline G4ThreeVector
GetPreStepPoint (G4Step* aStep)
const {
return aStep->GetPreStepPoint()->GetPosition(); }
32 inline G4ThreeVector
GetPostStepPoint(G4Step* aStep)
const {
return aStep->GetPostStepPoint()->GetPosition(); }
33 inline float GetPreStepTime (G4Step* aStep)
const {
return aStep->GetPreStepPoint()->GetGlobalTime(); }
34 inline float GetPostStepTime (G4Step* aStep)
const {
return aStep->GetPostStepPoint()->GetGlobalTime(); }
36 inline double GetWaveLength(
double energy)
const {
return 2.*
M_PI*CLHEP::hbarc/(CLHEP::eV*CLHEP::nm)/energy; }
37 inline double GetEnergy (
double lambda)
const {
return 2.*
M_PI*CLHEP::hbarc/(CLHEP::eV*CLHEP::nm)/lambda; }
int GetTubNumber(G4Step *) const
float GetPostStepTime(G4Step *aStep) const
static int GetVolNumber(const G4String &)
float GetPreStepTime(G4Step *aStep) const
double GetEnergy(double lambda) const
G4ThreeVector GetPostStepPoint(G4Step *aStep) const
G4ThreeVector GetPreStepPoint(G4Step *aStep) const
double GetWaveLength(double energy) const