19 #include <momemta/Particle.h> 23 Particle::Particle(
const std::string& name_)
24 : name(name_),
type(0) {}
26 Particle::Particle(
const std::string& name_,
const LorentzVector& p4_)
27 : name(name_), p4(p4_),
type(0) {}
29 Particle::Particle(
const std::string& name_,
const LorentzVector& p4_, int64_t type_)
30 : name(name_), p4(p4_),
type(type_) {}
32 void swap(Particle& a, Particle& b) {
Type type(lua_State *L, int index)
Extract the type of a lua value.