1 #ifndef MU_END_CSC_GAS_COLLISIONS_H
2 #define MU_END_CSC_GAS_COLLISIONS_H
19 #include "CLHEP/Random/RandFlat.h"
20 #include "CLHEP/Random/RandExponential.h"
36 std::vector<LocalPoint>& clusters, std::vector<int>& electrons );
46 float lnEnergyLoss(
float,
const std::vector<float>& )
const;
49 double anmin,
double anmax,
const std::vector<float>& collisions )
const;
53 void writeSummary(
int n_steps,
double sum_steps,
float dedx )
const;
HepPDT::ParticleDataTable ParticleDataTable
static const int N_ENERGY
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 simulate(const PSimHit &, const CSCLayer *layer, std::vector< LocalPoint > &clusters, std::vector< int > &electrons)
CLHEP::RandExponential * theRandExponential
void readCollisionTable()
std::vector< float > theCollisionTable
double generateStep(double avCollisions) const
std::vector< float > theEnergyBins
float generateEnergyLoss(double avCollisions, double anmin, double anmax, const std::vector< float > &collisions) const
void fillCollisionsForThisGamma(float, std::vector< float > &) const
CSCCrossGap * theCrossGap
virtual ~CSCGasCollisions()
void writeSummary(int n_steps, double sum_steps, float dedx) const
CLHEP::RandFlat * theRandFlat
void setRandomEngine(CLHEP::HepRandomEngine &engine)