20 #ifndef __HEPTOPTAGGER_WRAPPER_HH__
21 #define __HEPTOPTAGGER_WRAPPER_HH__
23 #include <fastjet/tools/TopTaggerBase.hh>
24 #include <fastjet/CompositeJetStructure.hh>
27 FASTJET_BEGIN_NAMESPACE
56 HEPTopTagger(
double mass_drop_threshold=0.8,
double max_subjet_mass=30.,
57 bool use_subjet_mass_cuts=
false)
106 const JetDefinition::Recombiner *recombiner = 0) :
107 CompositeJetStructure(pieces_in, recombiner),
_cos_theta_w(0.0),
W_rec(recombiner),
112 inline PseudoJet
const &
W()
const{
118 inline PseudoJet
W1()
const{
120 return W().pieces()[0];
124 inline PseudoJet
W2()
const{
126 return W().pieces()[1];
133 inline const PseudoJet &
non_W()
const{
147 const JetDefinition::Recombiner *
W_rec;
165 std::ostringstream oss;
169 oss << description_of_selectors();
174 FASTJET_END_NAMESPACE
176 #endif // __HEPTOPTAGGER_HH__
virtual PseudoJet result(const PseudoJet &jet) const
PseudoJet const & W() const
returns the W subjet
fastjet::PseudoJet PseudoJet
HEPTopTagger(double mass_drop_threshold=0.8, double max_subjet_mass=30., bool use_subjet_mass_cuts=false)
virtual std::string description() const
returns a textual description of the tagger
const PseudoJet & non_W() const
HEPTopTaggerStructure StructureType
const JetDefinition::Recombiner * W_rec
static std::string join(char **cmd)
PseudoJet W2() const
returns the second W subjet
double _mass_drop_threshold
double cos_theta_W() const
returns the W helicity angle
double _cos_theta_w
the W helicity angle
tuple size
Write out results.
bool _use_subjet_mass_cuts
whether to include the is_masscut_passed() test
HEPTopTaggerStructure(const std::vector< PseudoJet > &pieces_in, const JetDefinition::Recombiner *recombiner=0)
ctor with pieces initialisation