1 #ifndef RandomtXiGunProducer_H
2 #define RandomtXiGunProducer_H
17 HepMC::FourVector
make_particle(
double t,
double Xi,
double phi,
int PartID,
int direction);
20 double massSQ =
pow(
PData->mass().value(), 2);
21 double partP =
sqrt(partE * partE - massSQ);
HepMC::FourVector make_particle(double t, double Xi, double phi, int PartID, int direction)
RandomtXiGunProducer(const ParameterSet &)
~RandomtXiGunProducer() override
void produce(Event &e, const EventSetup &es) override
const HepPDT::ParticleData * PData
double Minimum_t(double xi)
Power< A, B >::type pow(const A &a, const B &b)