12 os <<
"Event: weight=" << ev.
Weight <<
"\n";
13 os <<
"Particle four-momenta (N=" << ev.
FourMomenta.size() <<
"):\n";
28 double MaxWeight(0.0);
30 std::max_element(Sample.
Events.begin(), Sample.
Events.end(),
32 return a.
Weight < b.Weight;
34 if (MaxIterator != Sample.
Events.end())
35 MaxWeight = MaxIterator->Weight;
ComPWA four momentum class.
double invariantMass() const
std::ostream & operator<<(std::ostream &os, const Event &ev)
std::vector< Event > Events
std::vector< FourMomentum > FourMomenta
double calculateInvariantMass(const Event &ev)
Data structure containing all kinematic information of a physics event.
double getMaximumSampleWeight(const EventCollection &Sample)