StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ClusterSequence Class Reference

Classes

class  _Line
 
class  _Parabola
 
class  Extras
 
struct  history_element
 

Public Types

enum  JetType {
  Invalid =-3, InexistentParent = -2, BeamJet = -1, Invalid =-3,
  InexistentParent = -2, BeamJet = -1, Invalid =-3, InexistentParent = -2,
  BeamJet = -1
}
 
enum  JetType {
  Invalid =-3, InexistentParent = -2, BeamJet = -1, Invalid =-3,
  InexistentParent = -2, BeamJet = -1, Invalid =-3, InexistentParent = -2,
  BeamJet = -1
}
 
enum  JetType {
  Invalid =-3, InexistentParent = -2, BeamJet = -1, Invalid =-3,
  InexistentParent = -2, BeamJet = -1, Invalid =-3, InexistentParent = -2,
  BeamJet = -1
}
 
typedef ClusterSequenceStructure StructureType
 
typedef ClusterSequenceStructure StructureType
 
typedef ClusterSequenceStructure StructureType
 

Public Member Functions

template<class L >
 ClusterSequence (const std::vector< L > &pseudojets, const JetDefinition &jet_def, const bool &writeout_combinations=false)
 
 ClusterSequence (const ClusterSequence &cs)
 
std::vector< PseudoJetinclusive_jets (const double &ptmin=0.0) const
 
int n_exclusive_jets (const double &dcut) const
 
std::vector< PseudoJetexclusive_jets (const double &dcut) const
 
std::vector< PseudoJetexclusive_jets (const int &njets) const
 
std::vector< PseudoJetexclusive_jets_up_to (const int &njets) const
 
double exclusive_dmerge (const int &njets) const
 
double exclusive_dmerge_max (const int &njets) const
 
double exclusive_ymerge (int njets) const
 
double exclusive_ymerge_max (int njets) const
 
int n_exclusive_jets_ycut (double ycut) const
 
std::vector< PseudoJetexclusive_jets_ycut (double ycut) const
 
std::vector< PseudoJetexclusive_subjets (const PseudoJet &jet, const double &dcut) const
 
int n_exclusive_subjets (const PseudoJet &jet, const double &dcut) const
 
std::vector< PseudoJetexclusive_subjets (const PseudoJet &jet, int nsub) const
 
std::vector< PseudoJetexclusive_subjets_up_to (const PseudoJet &jet, int nsub) const
 
double exclusive_subdmerge (const PseudoJet &jet, int nsub) const
 
double exclusive_subdmerge_max (const PseudoJet &jet, int nsub) const
 
double Q () const
 
double Q2 () const
 
bool object_in_jet (const PseudoJet &object, const PseudoJet &jet) const
 
bool has_parents (const PseudoJet &jet, PseudoJet &parent1, PseudoJet &parent2) const
 
bool has_child (const PseudoJet &jet, PseudoJet &child) const
 
bool has_child (const PseudoJet &jet, const PseudoJet *&childp) const
 
bool has_partner (const PseudoJet &jet, PseudoJet &partner) const
 
std::vector< PseudoJetconstituents (const PseudoJet &jet) const
 
void print_jets_for_root (const std::vector< PseudoJet > &jets, std::ostream &ostr=std::cout) const
 
void print_jets_for_root (const std::vector< PseudoJet > &jets, const std::string &filename, const std::string &comment="") const
 
void add_constituents (const PseudoJet &jet, std::vector< PseudoJet > &subjet_vector) const
 
Strategy strategy_used () const
 
std::string strategy_string () const
 
std::string strategy_string (Strategy strategy_in) const
 
const JetDefinitionjet_def () const
 
void delete_self_when_unused ()
 
bool will_delete_self_when_unused () const
 
void signal_imminent_self_deletion () const
 
double jet_scale_for_algorithm (const PseudoJet &jet) const
 
void plugin_record_ij_recombination (int jet_i, int jet_j, double dij, int &newjet_k)
 
void plugin_record_ij_recombination (int jet_i, int jet_j, double dij, const PseudoJet &newjet, int &newjet_k)
 
void plugin_record_iB_recombination (int jet_i, double diB)
 
void plugin_associate_extras (std::auto_ptr< Extras > extras_in)
 
bool plugin_activated () const
 
const Extrasextras () const
 
template<class GBJ >
void plugin_simple_N2_cluster ()
 
const std::vector< PseudoJet > & jets () const
 
const std::vector
< history_element > & 
history () const
 
unsigned int n_particles () const
 
std::vector< int > particle_jet_indices (const std::vector< PseudoJet > &) const
 
std::vector< int > unique_history_order () const
 
std::vector< PseudoJetunclustered_particles () const
 
std::vector< PseudoJetchildless_pseudojets () const
 
bool contains (const PseudoJet &object) const
 
void transfer_from_sequence (const ClusterSequence &from_seq, const FunctionOfPseudoJet< PseudoJet > *action_on_jets=0)
 
const SharedPtr
< PseudoJetStructureBase > & 
structure_shared_ptr () const
 
template<class L >
 ClusterSequence (const std::vector< L > &pseudojets, const JetDefinition &jet_def, const bool &writeout_combinations=false)
 
 ClusterSequence (const ClusterSequence &cs)
 
ClusterSequenceoperator= (const ClusterSequence &cs)
 
std::vector< PseudoJetinclusive_jets (const double ptmin=0.0) const
 
int n_exclusive_jets (const double dcut) const
 
std::vector< PseudoJetexclusive_jets (const double dcut) const
 
std::vector< PseudoJetexclusive_jets (const int njets) const
 
std::vector< PseudoJetexclusive_jets_up_to (const int njets) const
 
double exclusive_dmerge (const int njets) const
 
double exclusive_dmerge_max (const int njets) const
 
double exclusive_ymerge (int njets) const
 
double exclusive_ymerge_max (int njets) const
 
int n_exclusive_jets_ycut (double ycut) const
 
std::vector< PseudoJetexclusive_jets_ycut (double ycut) const
 
std::vector< PseudoJetexclusive_subjets (const PseudoJet &jet, const double dcut) const
 
int n_exclusive_subjets (const PseudoJet &jet, const double dcut) const
 
std::vector< PseudoJetexclusive_subjets (const PseudoJet &jet, int nsub) const
 
std::vector< PseudoJetexclusive_subjets_up_to (const PseudoJet &jet, int nsub) const
 
double exclusive_subdmerge (const PseudoJet &jet, int nsub) const
 
double exclusive_subdmerge_max (const PseudoJet &jet, int nsub) const
 
double Q () const
 
double Q2 () const
 
bool object_in_jet (const PseudoJet &object, const PseudoJet &jet) const
 
bool has_parents (const PseudoJet &jet, PseudoJet &parent1, PseudoJet &parent2) const
 
bool has_child (const PseudoJet &jet, PseudoJet &child) const
 
bool has_child (const PseudoJet &jet, const PseudoJet *&childp) const
 
bool has_partner (const PseudoJet &jet, PseudoJet &partner) const
 
std::vector< PseudoJetconstituents (const PseudoJet &jet) const
 
void print_jets_for_root (const std::vector< PseudoJet > &jets, std::ostream &ostr=std::cout) const
 
void print_jets_for_root (const std::vector< PseudoJet > &jets, const std::string &filename, const std::string &comment="") const
 
void add_constituents (const PseudoJet &jet, std::vector< PseudoJet > &subjet_vector) const
 
Strategy strategy_used () const
 
std::string strategy_string () const
 
std::string strategy_string (Strategy strategy_in) const
 
const JetDefinitionjet_def () const
 
void delete_self_when_unused ()
 
bool will_delete_self_when_unused () const
 
void signal_imminent_self_deletion () const
 
double jet_scale_for_algorithm (const PseudoJet &jet) const
 
void plugin_record_ij_recombination (int jet_i, int jet_j, double dij, int &newjet_k)
 
void plugin_record_ij_recombination (int jet_i, int jet_j, double dij, const PseudoJet &newjet, int &newjet_k)
 
void plugin_record_iB_recombination (int jet_i, double diB)
 
void plugin_associate_extras (Extras *extras_in)
 
bool plugin_activated () const
 
const Extrasextras () const
 
template<class GBJ >
void plugin_simple_N2_cluster ()
 
const std::vector< PseudoJet > & jets () const
 
const std::vector
< history_element > & 
history () const
 
unsigned int n_particles () const
 
std::vector< int > particle_jet_indices (const std::vector< PseudoJet > &) const
 
std::vector< int > unique_history_order () const
 
std::vector< PseudoJetunclustered_particles () const
 
std::vector< PseudoJetchildless_pseudojets () const
 
bool contains (const PseudoJet &object) const
 
void transfer_from_sequence (const ClusterSequence &from_seq, const FunctionOfPseudoJet< PseudoJet > *action_on_jets=0)
 
const SharedPtr
< PseudoJetStructureBase > & 
structure_shared_ptr () const
 
template<class L >
 ClusterSequence (const std::vector< L > &pseudojets, const JetDefinition &jet_def, const bool &writeout_combinations=false)
 
 ClusterSequence (const ClusterSequence &cs)
 
ClusterSequenceoperator= (const ClusterSequence &cs)
 
std::vector< PseudoJetinclusive_jets (const double ptmin=0.0) const
 
int n_exclusive_jets (const double dcut) const
 
std::vector< PseudoJetexclusive_jets (const double dcut) const
 
std::vector< PseudoJetexclusive_jets (const int njets) const
 
std::vector< PseudoJetexclusive_jets_up_to (const int njets) const
 
double exclusive_dmerge (const int njets) const
 
double exclusive_dmerge_max (const int njets) const
 
double exclusive_ymerge (int njets) const
 
double exclusive_ymerge_max (int njets) const
 
int n_exclusive_jets_ycut (double ycut) const
 
std::vector< PseudoJetexclusive_jets_ycut (double ycut) const
 
std::vector< PseudoJetexclusive_subjets (const PseudoJet &jet, const double dcut) const
 
int n_exclusive_subjets (const PseudoJet &jet, const double dcut) const
 
std::vector< PseudoJetexclusive_subjets (const PseudoJet &jet, int nsub) const
 
std::vector< PseudoJetexclusive_subjets_up_to (const PseudoJet &jet, int nsub) const
 
double exclusive_subdmerge (const PseudoJet &jet, int nsub) const
 
double exclusive_subdmerge_max (const PseudoJet &jet, int nsub) const
 
double Q () const
 
double Q2 () const
 
bool object_in_jet (const PseudoJet &object, const PseudoJet &jet) const
 
bool has_parents (const PseudoJet &jet, PseudoJet &parent1, PseudoJet &parent2) const
 
bool has_child (const PseudoJet &jet, PseudoJet &child) const
 
bool has_child (const PseudoJet &jet, const PseudoJet *&childp) const
 
bool has_partner (const PseudoJet &jet, PseudoJet &partner) const
 
std::vector< PseudoJetconstituents (const PseudoJet &jet) const
 
void print_jets_for_root (const std::vector< PseudoJet > &jets, std::ostream &ostr=std::cout) const
 
void print_jets_for_root (const std::vector< PseudoJet > &jets, const std::string &filename, const std::string &comment="") const
 
void add_constituents (const PseudoJet &jet, std::vector< PseudoJet > &subjet_vector) const
 
Strategy strategy_used () const
 
std::string strategy_string () const
 
std::string strategy_string (Strategy strategy_in) const
 
const JetDefinitionjet_def () const
 
void delete_self_when_unused ()
 
bool will_delete_self_when_unused () const
 
void signal_imminent_self_deletion () const
 
double jet_scale_for_algorithm (const PseudoJet &jet) const
 
void plugin_record_ij_recombination (int jet_i, int jet_j, double dij, int &newjet_k)
 
void plugin_record_ij_recombination (int jet_i, int jet_j, double dij, const PseudoJet &newjet, int &newjet_k)
 
void plugin_record_iB_recombination (int jet_i, double diB)
 
void plugin_associate_extras (Extras *extras_in)
 
bool plugin_activated () const
 
const Extrasextras () const
 
template<class GBJ >
void plugin_simple_N2_cluster ()
 
const std::vector< PseudoJet > & jets () const
 
const std::vector
< history_element > & 
history () const
 
unsigned int n_particles () const
 
std::vector< int > particle_jet_indices (const std::vector< PseudoJet > &) const
 
std::vector< int > unique_history_order () const
 
std::vector< PseudoJetunclustered_particles () const
 
std::vector< PseudoJetchildless_pseudojets () const
 
bool contains (const PseudoJet &object) const
 
void transfer_from_sequence (const ClusterSequence &from_seq, const FunctionOfPseudoJet< PseudoJet > *action_on_jets=0)
 
const SharedPtr
< PseudoJetStructureBase > & 
structure_shared_ptr () const
 
template<class BJ >
FJCORE_BEGIN_NAMESPACE void _simple_N2_cluster ()
 
template<>
void _bj_set_jetinfo (EEBriefJet *const jetA, const int _jets_index) const
 
template<>
double _bj_dist (const EEBriefJet *const jeta, const EEBriefJet *const jetb) const
 

Static Public Member Functions

static void print_banner ()
 
static void set_fastjet_banner_stream (std::ostream *ostr)
 
static std::ostream * fastjet_banner_stream ()
 
static void print_banner ()
 
static void set_fastjet_banner_stream (std::ostream *ostr)
 
static std::ostream * fastjet_banner_stream ()
 
static void print_banner ()
 
static void set_fastjet_banner_stream (std::ostream *ostr)
 
static std::ostream * fastjet_banner_stream ()
 

Protected Member Functions

template<class L >
void _transfer_input_jets (const std::vector< L > &pseudojets)
 
void _initialise_and_run (const JetDefinition &jet_def, const bool &writeout_combinations)
 
void _initialise_and_run_no_decant ()
 
void _decant_options (const JetDefinition &jet_def, const bool &writeout_combinations)
 
void _decant_options_partial ()
 
void _fill_initial_history ()
 
void _do_ij_recombination_step (const int &jet_i, const int &jet_j, const double &dij, int &newjet_k)
 
void _do_iB_recombination_step (const int &jet_i, const double &diB)
 
void _set_structure_shared_ptr (PseudoJet &j)
 
void _update_structure_use_count ()
 
void get_subhist_set (std::set< const history_element * > &subhist, const PseudoJet &jet, double dcut, int maxjet) const
 
template<class L >
void _transfer_input_jets (const std::vector< L > &pseudojets)
 
void _initialise_and_run (const JetDefinition &jet_def, const bool &writeout_combinations)
 
void _initialise_and_run_no_decant ()
 
void _decant_options (const JetDefinition &jet_def, const bool &writeout_combinations)
 
void _decant_options_partial ()
 
void _fill_initial_history ()
 
void _do_ij_recombination_step (const int jet_i, const int jet_j, const double dij, int &newjet_k)
 
void _do_iB_recombination_step (const int jet_i, const double diB)
 
void _set_structure_shared_ptr (PseudoJet &j)
 
void _update_structure_use_count ()
 
Strategy _best_strategy () const
 
void get_subhist_set (std::set< const history_element * > &subhist, const PseudoJet &jet, double dcut, int maxjet) const
 
template<class L >
void _transfer_input_jets (const std::vector< L > &pseudojets)
 
void _initialise_and_run (const JetDefinition &jet_def, const bool &writeout_combinations)
 
void _initialise_and_run_no_decant ()
 
void _decant_options (const JetDefinition &jet_def, const bool &writeout_combinations)
 
void _decant_options_partial ()
 
void _fill_initial_history ()
 
void _do_ij_recombination_step (const int jet_i, const int jet_j, const double dij, int &newjet_k)
 
void _do_iB_recombination_step (const int jet_i, const double diB)
 
void _set_structure_shared_ptr (PseudoJet &j)
 
void _update_structure_use_count ()
 
Strategy _best_strategy () const
 
void get_subhist_set (std::set< const history_element * > &subhist, const PseudoJet &jet, double dcut, int maxjet) const
 

Protected Attributes

JetDefinition _jet_def
 
std::vector< PseudoJet_jets
 
std::vector< history_element_history
 
bool _writeout_combinations
 
int _initial_n
 
double _Rparam
 
double _R2
 
double _invR2
 
double _Qtot
 
Strategy _strategy
 
JetAlgorithm _jet_algorithm
 
SharedPtr< PseudoJetStructureBase_structure_shared_ptr
 
int _structure_use_count_after_construction
 
bool _deletes_self_when_unused
 

Detailed Description

Definition at line 1247 of file FJcore.h.


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