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

clean (almost parameter-free) tagger searching for the element in the clustering history that maximises a chosen distance More...

#include <fastjet/tools/CASubJetTagger.hh>

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

Classes

class  JetAux
 class that contains the result internally More...
 

Public Types

enum  ScaleChoice {
  kt2_distance , jade_distance , jade2_distance , plain_distance ,
  mass_drop_distance , dot_product_distance
}
 the available choices of auxiliary scale with respect to which to order the splittings More...
 
typedef CASubJetTaggerStructure StructureType
 the type of Structure returned 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

 CASubJetTagger (ScaleChoice scale_choice=jade_distance, double z_threshold=0.1)
 just constructs More...
 
void set_dr_min (double drmin)
 sets a minimum delta R below which spliting will be ignored (only relevant if set prior to calling run()) More...
 
virtual std::string description () const
 returns a textual description of the tagger More...
 
void set_absolute_z_cut (bool abs_z_cut=true)
 If (abs_z_cut) is set to false (the default) then for a splitting to be considered, each subjet must satisfy. More...
 
virtual PseudoJet result (const PseudoJet &jet) const
 runs the tagger on the given jet and returns the tagged PseudoJet if successful, or a PseudoJet==0 otherwise (standard access is through operator()). 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

void _recurse_through_jet (const PseudoJet &current_jet, JetAux &aux_max, const PseudoJet &original_jet) const
 

Protected Attributes

ScaleChoice _scale_choice
 
double _z_threshold
 
double _dr2_min
 
bool _absolute_z_cut
 

Static Protected Attributes

static LimitedWarning _non_ca_warnings
 

Detailed Description

clean (almost parameter-free) tagger searching for the element in the clustering history that maximises a chosen distance

class to help us get a clean (almost parameter-free) handle on substructure inside a C/A jet. It follows the logic described in arXiv:0906.0728 (and is inspired by the original Cambridge algorithm paper in its use of separate angular and dimensionful distances), but provides some extra flexibility.

It searches for all splittings that pass a symmetry cut (zcut) and then selects the one with the largest auxiliary scale choice (e.g. jade distance of the splitting, kt distance of the splitting, etc.)

By default, the zcut is calculated from the fraction of the child pt carried by the parent jet. If one calls set_absolute_z_cut the fraction of transverse momentum will be computed wrt the original jet.

original code copyright (C) 2009 by Gavin Salam, released under the GPL.

Options

Input conditions

Output/structure

Definition at line 106 of file CASubJetTagger.hh.

Member Typedef Documentation

◆ StructureType

the type of Structure returned

Definition at line 154 of file CASubJetTagger.hh.

Member Enumeration Documentation

◆ ScaleChoice

the available choices of auxiliary scale with respect to which to order the splittings

Definition at line 111 of file CASubJetTagger.hh.

Constructor & Destructor Documentation

◆ CASubJetTagger()

fastjet::CASubJetTagger::CASubJetTagger ( ScaleChoice  scale_choice = jade_distance,
double  z_threshold = 0.1 
)
inline

just constructs

Definition at line 121 of file CASubJetTagger.hh.

Member Function Documentation

◆ set_dr_min()

void fastjet::CASubJetTagger::set_dr_min ( double  drmin)
inline

sets a minimum delta R below which spliting will be ignored (only relevant if set prior to calling run())

Definition at line 128 of file CASubJetTagger.hh.

◆ description()

string fastjet::CASubJetTagger::description ( ) const
virtual

returns a textual description of the tagger

Implements fastjet::Transformer.

Definition at line 47 of file CASubJetTagger.cc.

◆ set_absolute_z_cut()

void fastjet::CASubJetTagger::set_absolute_z_cut ( bool  abs_z_cut = true)
inline

If (abs_z_cut) is set to false (the default) then for a splitting to be considered, each subjet must satisfy.

   p_{t,sub} > z_threshold * p_{t,parent}

whereas if it is set to true, then each subject must satisfy

   p_{t,sub} > z_threshold * p_{t,original-jet}

where parent is the immediate parent of the splitting, and original jet is the one supplied to the run() function.

Only relevant is called prior to run().

Definition at line 146 of file CASubJetTagger.hh.

◆ result()

PseudoJet fastjet::CASubJetTagger::result ( const PseudoJet jet) const
virtual

runs the tagger on the given jet and returns the tagged PseudoJet if successful, or a PseudoJet==0 otherwise (standard access is through operator()).

Implements fastjet::Transformer.

Definition at line 69 of file CASubJetTagger.cc.

◆ _recurse_through_jet()

void fastjet::CASubJetTagger::_recurse_through_jet ( const PseudoJet jet,
JetAux aux,
const PseudoJet original_jet 
) const
inlineprotected

work through the jet, establishing a distance at each branching

make sure the objects are not too close together

Definition at line 105 of file CASubJetTagger.cc.

Member Data Documentation

◆ _scale_choice

ScaleChoice fastjet::CASubJetTagger::_scale_choice
protected

Definition at line 171 of file CASubJetTagger.hh.

◆ _z_threshold

double fastjet::CASubJetTagger::_z_threshold
protected

Definition at line 172 of file CASubJetTagger.hh.

◆ _dr2_min

double fastjet::CASubJetTagger::_dr2_min
protected

Definition at line 173 of file CASubJetTagger.hh.

◆ _absolute_z_cut

bool fastjet::CASubJetTagger::_absolute_z_cut
protected

Definition at line 174 of file CASubJetTagger.hh.

◆ _non_ca_warnings

LimitedWarning fastjet::CASubJetTagger::_non_ca_warnings
staticprotected

Definition at line 176 of file CASubJetTagger.hh.


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