CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes | Friends
HEPTopTaggerStructure Class Reference

#include <HEPTopTaggerWrapper.h>

Inheritance diagram for HEPTopTaggerStructure:

Public Member Functions

double cos_theta_W () const
 returns the W helicity angle More...
 
 HEPTopTaggerStructure (const std::vector< PseudoJet > &pieces_in, const JetDefinition::Recombiner *recombiner=0)
 ctor with pieces initialisation More...
 
const PseudoJet & non_W () const
 
PseudoJet const & W () const
 returns the W subjet More...
 
PseudoJet W1 () const
 
PseudoJet W2 () const
 returns the second W subjet More...
 

Protected Attributes

double _cos_theta_w
 the W helicity angle More...
 
PseudoJet rW_
 
const JetDefinition::Recombiner * W_rec
 

Friends

class HEPTopTagger
 

Detailed Description

Basically just a copy of JHTopTaggerStructure, but this way HEPTopTagger can be a friend.

Definition at line 102 of file HEPTopTaggerWrapper.h.

Constructor & Destructor Documentation

HEPTopTaggerStructure::HEPTopTaggerStructure ( const std::vector< PseudoJet > &  pieces_in,
const JetDefinition::Recombiner *  recombiner = 0 
)
inline

ctor with pieces initialisation

Definition at line 105 of file HEPTopTaggerWrapper.h.

106  :
107  CompositeJetStructure(pieces_in, recombiner), _cos_theta_w(0.0),W_rec(recombiner),
108  rW_()
109  {}
const JetDefinition::Recombiner * W_rec
double _cos_theta_w
the W helicity angle

Member Function Documentation

double HEPTopTaggerStructure::cos_theta_W ( ) const
inline

returns the W helicity angle

Definition at line 138 of file HEPTopTaggerWrapper.h.

References _cos_theta_w.

138 {return _cos_theta_w;}
double _cos_theta_w
the W helicity angle
const PseudoJet& HEPTopTaggerStructure::non_W ( ) const
inline

returns the non-W subjet It will have 1 or 2 pieces depending on whether the tagger has found 3 or 4 pieces

Definition at line 133 of file HEPTopTaggerWrapper.h.

133  {
134  return _pieces[2];
135  }
PseudoJet const& HEPTopTaggerStructure::W ( ) const
inline

returns the W subjet

Definition at line 112 of file HEPTopTaggerWrapper.h.

References join(), rW_, and W_rec.

Referenced by W1(), and W2().

112  {
113  rW_ = join(_pieces[0], _pieces[1], *W_rec);
114  return rW_;
115  }
const JetDefinition::Recombiner * W_rec
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
PseudoJet HEPTopTaggerStructure::W1 ( ) const
inline

Definition at line 118 of file HEPTopTaggerWrapper.h.

References assert(), csv2json::pieces, findQualityFiles::size, and W().

118  {
119  assert(W().pieces().size()>0);
120  return W().pieces()[0];
121  }
tuple pieces
Definition: csv2json.py:31
assert(m_qm.get())
PseudoJet const & W() const
returns the W subjet
tuple size
Write out results.
PseudoJet HEPTopTaggerStructure::W2 ( ) const
inline

returns the second W subjet

Definition at line 124 of file HEPTopTaggerWrapper.h.

References assert(), csv2json::pieces, findQualityFiles::size, and W().

124  {
125  assert(W().pieces().size()>1);
126  return W().pieces()[1];
127  }
tuple pieces
Definition: csv2json.py:31
assert(m_qm.get())
PseudoJet const & W() const
returns the W subjet
tuple size
Write out results.

Friends And Related Function Documentation

friend class HEPTopTagger
friend

Definition at line 155 of file HEPTopTaggerWrapper.h.

Member Data Documentation

double HEPTopTaggerStructure::_cos_theta_w
protected

the W helicity angle

Definition at line 146 of file HEPTopTaggerWrapper.h.

Referenced by cos_theta_W().

PseudoJet HEPTopTaggerStructure::rW_
mutableprotected

Definition at line 152 of file HEPTopTaggerWrapper.h.

Referenced by W().

const JetDefinition::Recombiner* HEPTopTaggerStructure::W_rec
protected

Definition at line 147 of file HEPTopTaggerWrapper.h.

Referenced by W().