CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
external::HEPTopTagger Class Reference

Public Types

typedef fastjet::ClusterSequence ClusterSequence
 
typedef fastjet::JetAlgorithm JetAlgorithm
 
typedef fastjet::JetDefinition JetDefinition
 
typedef fastjet::PseudoJet PseudoJet
 

Public Member Functions

const std::vector< std::vector
< PseudoJet > > & 
candjets () const
 
double cos_theta_h () const
 
double delta_top () const
 
double dr_bjj () const
 
std::vector< double > dr_values () const
 
void get_info () const
 
void get_setting () const
 
const std::vector< PseudoJet > & hardparts () const
 
 HEPTopTagger (const fastjet::ClusterSequence &cs, const fastjet::PseudoJet &jet)
 
 HEPTopTagger (const fastjet::ClusterSequence &cs, const fastjet::PseudoJet &jet, double mtmass, double mwmass)
 
bool is_masscut_passed () const
 
bool is_maybe_top () const
 
unsigned parts_size () const
 
void run_tagger ()
 
void set_filtering_jetalgorithm (JetAlgorithm jet_algorithm)
 
void set_mass_drop_threshold (double x)
 
void set_mass_ratio_cut (double m23cut, double m13cutmin, double m13cutmax)
 
void set_mass_ratio_range (double rmin, double rmax)
 
void set_max_subjet_mass (double x)
 
void set_nfilt (unsigned nfilt)
 
void set_reclustering_jetalgorithm (JetAlgorithm jet_algorithm)
 
void set_top_range (double xmin, double xmax)
 
const PseudoJettop_candidate () const
 
unsigned top_count () const
 
const std::vector< PseudoJet > & top_hadrons () const
 
const std::vector< PseudoJet > & top_subjets () const
 

Private Member Functions

double check_cos_theta (const PseudoJet &jet, const PseudoJet &subj1, const PseudoJet &subj2) const
 
bool check_mass_criteria (const std::vector< fastjet::PseudoJet > &top_subs) const
 
std::vector< PseudoJetFiltering (const std::vector< PseudoJet > &top_constits, const JetDefinition &filtering_def)
 
void FindHardSubst (const PseudoJet &jet, std::vector< fastjet::PseudoJet > &t_parts)
 
double r_max_3jets (const fastjet::PseudoJet &jet1, const fastjet::PseudoJet &jet2, const fastjet::PseudoJet &jet3) const
 
void store_topsubjets (const std::vector< PseudoJet > &top_subs)
 
PseudoJet Sum (const std::vector< PseudoJet > &)
 

Private Attributes

std::vector< std::vector
< PseudoJet > > 
_candjets
 
const ClusterSequence_cs
 
double _delta_top
 
bool _is_masscut_passed
 
bool _is_maybe_top
 
const PseudoJet _jet
 
JetAlgorithm _jet_algorithm
 
JetAlgorithm _jet_algorithm_recluster
 
double _m13cutmax
 
double _m13cutmin
 
double _m23cut
 
double _mass_drop_threshold
 
double _max_subjet_mass
 
const double _mtmass
 
double _mtmax
 
double _mtmin
 
const double _mwmass
 
size_t _nfilt
 
unsigned _parts_size
 
double _rmax
 
double _rmin
 
PseudoJet _top_candidate
 
unsigned _top_count
 
std::vector< PseudoJet_top_hadrons
 
std::vector< PseudoJet_top_parts
 
std::vector< PseudoJet_top_subjets
 
bool debugg
 

Detailed Description

Definition at line 5 of file HEPTopTaggerWrapper.cc.

Member Typedef Documentation

typedef fastjet::ClusterSequence external::HEPTopTagger::ClusterSequence

Definition at line 8 of file HEPTopTaggerWrapper.cc.

typedef fastjet::JetAlgorithm external::HEPTopTagger::JetAlgorithm

Definition at line 9 of file HEPTopTaggerWrapper.cc.

typedef fastjet::JetDefinition external::HEPTopTagger::JetDefinition

Definition at line 10 of file HEPTopTaggerWrapper.cc.

typedef fastjet::PseudoJet external::HEPTopTagger::PseudoJet

Definition at line 11 of file HEPTopTaggerWrapper.cc.

Constructor & Destructor Documentation

HEPTopTagger::HEPTopTagger ( const fastjet::ClusterSequence &  cs,
const fastjet::PseudoJet &  jet 
)

Definition at line 224 of file HEPTopTaggerWrapper.cc.

HEPTopTagger::HEPTopTagger ( const fastjet::ClusterSequence &  cs,
const fastjet::PseudoJet &  jet,
double  mtmass,
double  mwmass 
)

Definition at line 234 of file HEPTopTaggerWrapper.cc.

Member Function Documentation

const std::vector<std::vector<PseudoJet> >& external::HEPTopTagger::candjets ( ) const
inline

Definition at line 30 of file HEPTopTaggerWrapper.cc.

31 {
double HEPTopTagger::check_cos_theta ( const PseudoJet jet,
const PseudoJet subj1,
const PseudoJet subj2 
) const
private

Definition at line 129 of file HEPTopTaggerWrapper.cc.

bool HEPTopTagger::check_mass_criteria ( const std::vector< fastjet::PseudoJet > &  top_subs) const
private

Definition at line 200 of file HEPTopTaggerWrapper.cc.

double HEPTopTagger::cos_theta_h ( ) const

Definition at line 85 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::delta_top ( ) const
inline

Definition at line 29 of file HEPTopTaggerWrapper.cc.

31 {
double HEPTopTagger::dr_bjj ( ) const

Definition at line 89 of file HEPTopTaggerWrapper.cc.

std::vector< double > HEPTopTagger::dr_values ( ) const

Definition at line 94 of file HEPTopTaggerWrapper.cc.

std::vector< fastjet::PseudoJet > HEPTopTagger::Filtering ( const std::vector< PseudoJet > &  top_constits,
const JetDefinition filtering_def 
)
private

Definition at line 324 of file HEPTopTaggerWrapper.cc.

void HEPTopTagger::FindHardSubst ( const PseudoJet jet,
std::vector< fastjet::PseudoJet > &  t_parts 
)
private

Definition at line 152 of file HEPTopTaggerWrapper.cc.

void HEPTopTagger::get_info ( ) const

Definition at line 352 of file HEPTopTaggerWrapper.cc.

void HEPTopTagger::get_setting ( ) const

Definition at line 369 of file HEPTopTaggerWrapper.cc.

const std::vector<PseudoJet>& external::HEPTopTagger::hardparts ( ) const
inline

Definition at line 27 of file HEPTopTaggerWrapper.cc.

31 {
bool external::HEPTopTagger::is_masscut_passed ( ) const
inline

Definition at line 22 of file HEPTopTaggerWrapper.cc.

31 {
bool external::HEPTopTagger::is_maybe_top ( ) const
inline

Definition at line 21 of file HEPTopTaggerWrapper.cc.

31 {
unsigned external::HEPTopTagger::parts_size ( ) const
inline

Definition at line 28 of file HEPTopTaggerWrapper.cc.

31 {
double HEPTopTagger::r_max_3jets ( const fastjet::PseudoJet &  jet1,
const fastjet::PseudoJet &  jet2,
const fastjet::PseudoJet &  jet3 
) const
private

Definition at line 103 of file HEPTopTaggerWrapper.cc.

void HEPTopTagger::run_tagger ( )

Definition at line 247 of file HEPTopTaggerWrapper.cc.

void external::HEPTopTagger::set_filtering_jetalgorithm ( JetAlgorithm  jet_algorithm)
inline

Definition at line 40 of file HEPTopTaggerWrapper.cc.

40 {
void external::HEPTopTagger::set_mass_drop_threshold ( double  x)
inline

Definition at line 35 of file HEPTopTaggerWrapper.cc.

void external::HEPTopTagger::set_mass_ratio_cut ( double  m23cut,
double  m13cutmin,
double  m13cutmax 
)
inline

Definition at line 38 of file HEPTopTaggerWrapper.cc.

void external::HEPTopTagger::set_mass_ratio_range ( double  rmin,
double  rmax 
)
inline

Definition at line 37 of file HEPTopTaggerWrapper.cc.

void external::HEPTopTagger::set_max_subjet_mass ( double  x)
inline

Definition at line 34 of file HEPTopTaggerWrapper.cc.

void external::HEPTopTagger::set_nfilt ( unsigned  nfilt)
inline

Definition at line 39 of file HEPTopTaggerWrapper.cc.

void external::HEPTopTagger::set_reclustering_jetalgorithm ( JetAlgorithm  jet_algorithm)
inline

Definition at line 41 of file HEPTopTaggerWrapper.cc.

44 {
void external::HEPTopTagger::set_top_range ( double  xmin,
double  xmax 
)
inline

Definition at line 36 of file HEPTopTaggerWrapper.cc.

void HEPTopTagger::store_topsubjets ( const std::vector< PseudoJet > &  top_subs)
private

Definition at line 172 of file HEPTopTaggerWrapper.cc.

fastjet::PseudoJet HEPTopTagger::Sum ( const std::vector< PseudoJet > &  vec_pjet)
private

Definition at line 342 of file HEPTopTaggerWrapper.cc.

const PseudoJet& external::HEPTopTagger::top_candidate ( ) const
inline

Definition at line 23 of file HEPTopTaggerWrapper.cc.

31 {
unsigned external::HEPTopTagger::top_count ( ) const
inline

Definition at line 26 of file HEPTopTaggerWrapper.cc.

31 {
const std::vector<PseudoJet>& external::HEPTopTagger::top_hadrons ( ) const
inline

Definition at line 25 of file HEPTopTaggerWrapper.cc.

31 {
const std::vector<PseudoJet>& external::HEPTopTagger::top_subjets ( ) const
inline

Definition at line 24 of file HEPTopTaggerWrapper.cc.

31 {

Member Data Documentation

std::vector<std::vector<PseudoJet> > external::HEPTopTagger::_candjets
private

Definition at line 70 of file HEPTopTaggerWrapper.cc.

const ClusterSequence* external::HEPTopTagger::_cs
private

Definition at line 48 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_delta_top
private

Definition at line 63 of file HEPTopTaggerWrapper.cc.

bool external::HEPTopTagger::_is_masscut_passed
private

Definition at line 61 of file HEPTopTaggerWrapper.cc.

bool external::HEPTopTagger::_is_maybe_top
private

Definition at line 62 of file HEPTopTaggerWrapper.cc.

const PseudoJet external::HEPTopTagger::_jet
private

Definition at line 49 of file HEPTopTaggerWrapper.cc.

JetAlgorithm external::HEPTopTagger::_jet_algorithm
private

Definition at line 58 of file HEPTopTaggerWrapper.cc.

JetAlgorithm external::HEPTopTagger::_jet_algorithm_recluster
private

Definition at line 59 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_m13cutmax
private

Definition at line 55 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_m13cutmin
private

Definition at line 55 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_m23cut
private

Definition at line 55 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_mass_drop_threshold
private

Definition at line 51 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_max_subjet_mass
private

Definition at line 52 of file HEPTopTaggerWrapper.cc.

const double external::HEPTopTagger::_mtmass
private

Definition at line 50 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_mtmax
private

Definition at line 53 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_mtmin
private

Definition at line 53 of file HEPTopTaggerWrapper.cc.

const double external::HEPTopTagger::_mwmass
private

Definition at line 50 of file HEPTopTaggerWrapper.cc.

size_t external::HEPTopTagger::_nfilt
private

Definition at line 56 of file HEPTopTaggerWrapper.cc.

unsigned external::HEPTopTagger::_parts_size
private

Definition at line 65 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_rmax
private

Definition at line 54 of file HEPTopTaggerWrapper.cc.

double external::HEPTopTagger::_rmin
private

Definition at line 54 of file HEPTopTaggerWrapper.cc.

PseudoJet external::HEPTopTagger::_top_candidate
private

Definition at line 66 of file HEPTopTaggerWrapper.cc.

unsigned external::HEPTopTagger::_top_count
private

Definition at line 64 of file HEPTopTaggerWrapper.cc.

std::vector<PseudoJet> external::HEPTopTagger::_top_hadrons
private

Definition at line 68 of file HEPTopTaggerWrapper.cc.

std::vector<PseudoJet> external::HEPTopTagger::_top_parts
private

Definition at line 69 of file HEPTopTaggerWrapper.cc.

std::vector<PseudoJet> external::HEPTopTagger::_top_subjets
private

Definition at line 67 of file HEPTopTaggerWrapper.cc.

bool external::HEPTopTagger::debugg
private

Definition at line 81 of file HEPTopTaggerWrapper.cc.