template<typename Obj1, typename Obj2>
struct DAS::Di< Obj1, Obj2 >
Generic template class to store of a system of 2 objects and facilitate the handling of the variations as well as the calculation of frequent variables.
Obj1
and Obj2
are expected to be either derivated from PhysicsObjects or other specialisations of Di<>
itself. Such nesting allows for complex objects such as Z+jets or ttbar systems.
The components of the system are not stored directly but are pointers to existing objects to avoid redundancy / inconsistencies and keep the object light.
To obtain variations of the composite system, an instance of DAS::Uncertainties::Variation
may be given as argument of all relevant methods. This object is passed over to the components of the system.