1 #ifndef MU_END_CSC_GAS_COLLISIONS_H 2 #define MU_END_CSC_GAS_COLLISIONS_H 24 class HepRandomEngine;
37 CLHEP::HepRandomEngine *);
50 float lnEnergyLoss(
float,
const std::vector<float> &)
const;
51 double generateStep(
double avCollisions, CLHEP::HepRandomEngine *)
const;
55 const std::vector<float> &collisions,
56 CLHEP::HepRandomEngine *)
const;
60 void writeSummary(
int n_try,
int n_steps,
double sum_steps,
float dedx,
const PSimHit &simhit)
const;
float generateEnergyLoss(double avCollisions, double anmin, double anmax, const std::vector< float > &collisions, CLHEP::HepRandomEngine *) const
HepPDT::ParticleDataTable ParticleDataTable
void writeSummary(int n_try, int n_steps, double sum_steps, float dedx, const PSimHit &simhit) const
static const int N_ENERGY
float lnEnergyLoss(float, const std::vector< float > &) const
CSCGasCollisions(const edm::ParameterSet &pset)
std::vector< float > theGammaBins
bool dumpGasCollisions(void) const
const ParticleDataTable * theParticleDataTable
double generateStep(double avCollisions, CLHEP::HepRandomEngine *) const
static const int MAX_STEPS
void setParticleDataTable(const ParticleDataTable *pdt)
static const int N_ENTRIES
void readCollisionTable()
void fillCollisionsForThisGamma(float, std::vector< float > &) const
std::vector< float > theCollisionTable
std::vector< float > theEnergyBins
void ionize(double energyTransferred, LocalPoint startHere) const
CSCCrossGap * theCrossGap
void simulate(const PSimHit &, std::vector< LocalPoint > &clusters, std::vector< int > &electrons, CLHEP::HepRandomEngine *)
virtual ~CSCGasCollisions()
bool saveGasCollisions(void) const