66 for (
int i=0;
i < nobjs-1;
i++)
67 for (
int j=
i+1;
j < nobjs;
j++) {
73 for (
int k=0;
k < nc;
k++) {
112 assert (pairno < _pairs.size());
113 return _pairs[pairno];
const Objpair & get_pair(std::vector< Objpair >::size_type pairno) const
Get one of the pairs from the table, index starts from 0.
Represent an event for kinematic fitting as a collection of four-momenta. Each object is represented ...
int npairs() const
Return the number of pairs in the table.
const FE_Obj & obj(std::vector< FE_Obj >::size_type i) const
Access object at index i, with the convention that the index starts at 0.
void has_constraint(std::vector< signed char >::size_type k, int val)
Set the value for a constraint to a value.
std::vector< Objpair > _pairs
int nobjs_all() const
Return the number of objects in the event including any neutrinos.
A lookup table to speed up constraint evaluation using Fourvec_Constrainer.
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream...
Pair_Table(const std::vector< Constraint > &cv, const Fourvec_Event &ev)
Constructor, give it the event and the list of constraints.
A lookup table to speed up constraint evaluation.
Represent a pair of objects in Pair_Table.
Represent an event for kinematic fitting as a collection of four-momenta.