FastJet 3.4.1
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
fastjet::TopTaggerBase Class Reference

A base class that provides a common interface for top taggers that are able to return a W (in addition to the top itself). More...

#include <fastjet/tools/TopTaggerBase.hh>

Inheritance diagram for fastjet::TopTaggerBase:
Inheritance graph
[legend]
Collaboration diagram for fastjet::TopTaggerBase:
Collaboration graph
[legend]

Public Types

typedef TopTaggerBaseStructure StructureType
 the type of the associated structure More...
 
- Public Types inherited from fastjet::Transformer
typedef PseudoJetStructureBase StructureType
 A typedef that is needed to ensure that the PseudoJet::structure_of() template function works. More...
 

Public Member Functions

void set_top_selector (const Selector &sel)
 sets the selector that is applied to the top candidate More...
 
void set_W_selector (const Selector &sel)
 sets the selector that is applied to the W candidate More...
 
virtual std::string description_of_selectors () const
 returns a description of the top and W selectors More...
 
- Public Member Functions inherited from fastjet::Transformer
 Transformer ()
 default ctor More...
 
virtual ~Transformer ()
 default dtor More...
 
virtual PseudoJet result (const PseudoJet &original) const =0
 the result of the Transformer acting on the PseudoJet. More...
 
virtual std::string description () const =0
 This should be overloaded to return a description of the Transformer. More...
 
- Public Member Functions inherited from fastjet::FunctionOfPseudoJet< PseudoJet >
 FunctionOfPseudoJet ()
 default ctor More...
 
virtual ~FunctionOfPseudoJet ()
 default dtor (virtual to allow safe polymorphism) More...
 
virtual std::string description () const
 returns a description of the function (an empty string by default) More...
 
virtual PseudoJet result (const PseudoJet &pj) const=0
 the action of the function this has to be overloaded in derived classes More...
 
PseudoJet operator() (const PseudoJet &pj) const
 apply the function using the "traditional" () operator. More...
 
std::vector< PseudoJetoperator() (const std::vector< PseudoJet > &pjs) const
 apply the function on a vector of PseudoJet, returning a vector of the results. More...
 

Protected Member Functions

double _cos_theta_W (const PseudoJet &result) const
 computes the W helicity angle More...
 

Protected Attributes

Selector _top_selector
 
Selector _W_selector
 
bool _top_selector_set
 
bool _W_selector_set
 

Detailed Description

A base class that provides a common interface for top taggers that are able to return a W (in addition to the top itself).

Top taggers that derive from this should satisfy the following criteria:

Definition at line 55 of file TopTaggerBase.hh.

Member Typedef Documentation

◆ StructureType

the type of the associated structure

Definition at line 63 of file TopTaggerBase.hh.

Constructor & Destructor Documentation

◆ TopTaggerBase()

fastjet::TopTaggerBase::TopTaggerBase ( )
inline

Definition at line 57 of file TopTaggerBase.hh.

Member Function Documentation

◆ set_top_selector()

void fastjet::TopTaggerBase::set_top_selector ( const Selector sel)
inline

sets the selector that is applied to the top candidate

Definition at line 66 of file TopTaggerBase.hh.

◆ set_W_selector()

void fastjet::TopTaggerBase::set_W_selector ( const Selector sel)
inline

sets the selector that is applied to the W candidate

Definition at line 68 of file TopTaggerBase.hh.

◆ description_of_selectors()

virtual std::string fastjet::TopTaggerBase::description_of_selectors ( ) const
inlinevirtual

returns a description of the top and W selectors

Definition at line 71 of file TopTaggerBase.hh.

◆ _cos_theta_W()

double fastjet::TopTaggerBase::_cos_theta_W ( const PseudoJet result) const
protected

computes the W helicity angle

Definition at line 52 of file TopTaggerBase.cc.

Member Data Documentation

◆ _top_selector

Selector fastjet::TopTaggerBase::_top_selector
protected

Definition at line 82 of file TopTaggerBase.hh.

◆ _W_selector

Selector fastjet::TopTaggerBase::_W_selector
protected

Definition at line 82 of file TopTaggerBase.hh.

◆ _top_selector_set

bool fastjet::TopTaggerBase::_top_selector_set
protected

Definition at line 83 of file TopTaggerBase.hh.

◆ _W_selector_set

bool fastjet::TopTaggerBase::_W_selector_set
protected

Definition at line 83 of file TopTaggerBase.hh.


The documentation for this class was generated from the following files: