31#include "fastjet/tools/TopTaggerBase.hh"
33FASTJET_BEGIN_NAMESPACE
52double TopTaggerBase::_cos_theta_W(
const PseudoJet & res)
const{
55 vector<PseudoJet> W_pieces = W.
pieces();
56 assert(W_pieces.size() == 2);
60 PseudoJet W2 = (W_pieces[0].perp2() < W_pieces[1].perp2())
69 return (W2.px()*top.px() + W2.py()*top.py() + W2.pz()*top.pz())/
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
const TransformerType::StructureType & structure_of() const
this is a helper to access any structure created by a Transformer (that is, of type Transformer::Stru...
double modp2() const
return the squared 3-vector modulus = px^2+py^2+pz^2
virtual std::vector< PseudoJet > pieces() const
retrieve the pieces that make up the jet.
PseudoJet & unboost(const PseudoJet &prest)
transform this jet (given in lab) into a jet in the rest frame of prest
A base class that provides a common interface for top taggers that are able to return a W (in additio...