1 #ifndef RandomtXiGunProducer_H
2 #define RandomtXiGunProducer_H
20 HepMC::FourVector
make_particle(
double t,
double Xi,
double phi,
int PartID,
int direction);
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 &)
virtual void produce(Event &e, const EventSetup &es) override
Geom::Phi< T > phi() const
virtual ~RandomtXiGunProducer()
const HepPDT::ParticleData * PData
double Minimum_t(double xi)
Power< A, B >::type pow(const A &a, const B &b)