|
[Rivet] Prototype improved cuts system for RivetDavid Grellscheid david.grellscheid at durham.ac.ukWed Oct 24 14:32:39 BST 2012
> > Classifier > < > And > < > Classifier<Energy>, > Or > < > Classifier<Eta>, > Classifier<Phi> > > > > > > > In actual use, you don't see the template mess, but just: FinalState( PtGt(500*MeV) && (ModEtaLT(2.5) || NChargedGT(10)) ); The type of the argument here is Classifier< And< PtGt, Or< ModEtaLT, NChargedGT > > > but nobody sees that explicitly, since the declaration of FinalState() is template <typename T> FinalState( typename Classifier<T> ); See you, David
More information about the Rivet mailing list |