1 #ifndef RandomtXiGunProducer_H 2 #define RandomtXiGunProducer_H 22 double massSQ=
pow(
PData->mass().value(),2);
23 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)