1 #ifndef MU_END_CSC_GAS_COLLISIONS_H
2 #define MU_END_CSC_GAS_COLLISIONS_H
23 class HepRandomEngine;
35 std::vector<LocalPoint>&
clusters, std::vector<int>&
electrons, CLHEP::HepRandomEngine* );
45 float lnEnergyLoss(
float,
const std::vector<float>& )
const;
46 double generateStep(
double avCollisions, CLHEP::HepRandomEngine* )
const;
48 double anmin,
double anmax,
const std::vector<float>& collisions,
49 CLHEP::HepRandomEngine* )
const;
53 void writeSummary(
int n_steps,
double sum_steps,
float dedx,
float simHiteloss )
const;
HepPDT::ParticleDataTable ParticleDataTable
static const int N_ENERGY
void writeSummary(int n_steps, double sum_steps, float dedx, float simHiteloss) const
std::vector< float > theGammaBins
float lnEnergyLoss(float, const std::vector< float > &) const
const ParticleDataTable * theParticleDataTable
static const int MAX_STEPS
void setParticleDataTable(const ParticleDataTable *pdt)
void ionize(double energyTransferred, LocalPoint startHere) const
static const int N_ENTRIES
void readCollisionTable()
std::vector< float > theCollisionTable
double generateStep(double avCollisions, CLHEP::HepRandomEngine *) const
std::vector< float > theEnergyBins
float generateEnergyLoss(double avCollisions, double anmin, double anmax, const std::vector< float > &collisions, CLHEP::HepRandomEngine *) const
void fillCollisionsForThisGamma(float, std::vector< float > &) const
CSCCrossGap * theCrossGap
void simulate(const PSimHit &, std::vector< LocalPoint > &clusters, std::vector< int > &electrons, CLHEP::HepRandomEngine *)
virtual ~CSCGasCollisions()