65 for (
int i=0;
i < nobjs-1;
i++)
66 for (
int j=
i+1; j < nobjs; j++) {
72 for (
int k=0;
k < nc;
k++) {
111 assert (pairno <
_pairs.size());
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.
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream...
A lookup table to speed up constraint evaluation using Fourvec_Constrainer.
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.