CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes | Friends
HEPTopTaggerV2Structure Class Reference

#include <HEPTopTaggerWrapperV2.h>

Inheritance diagram for HEPTopTaggerV2Structure:

Public Member Functions

double fj_eta () const
 return the eta of the initial fatjet More...
 
double fj_mass () const
 return the mass of the initial fatjet More...
 
double fj_phi () const
 return the phi of the initial fatjet More...
 
double fj_pt () const
 return the pt of the initial fatjet More...
 
double fRec () const
 returns fRec More...
 
 HEPTopTaggerV2Structure (const std::vector< PseudoJet > &pieces_in, const JetDefinition::Recombiner *recombiner=nullptr)
 ctor with pieces initialisation More...
 
double mass_ratio_passed () const
 returns if 2d-mass plane cuts were passed More...
 
const PseudoJet & non_W () const override
 
double pruned_mass () const
 returns the pruned mass More...
 
double ptForRoptCalc () const
 returns the filtered pT for calculating R_opt More...
 
double qepsilon () const
 
double qsigmaM () const
 
double qweight () const
 
double ropt () const
 returns Ropt More...
 
double roptCalc () const
 returns calculated Ropt More...
 
double Tau1Filtered () const
 
double Tau1Unfiltered () const
 
double Tau2Filtered () const
 
double Tau2Unfiltered () const
 
double Tau3Filtered () const
 
double Tau3Unfiltered () const
 
double top_mass () const
 returns the candidate mass More...
 
double unfiltered_mass () const
 returns the unfiltered mass More...
 
PseudoJet const & W () const override
 
PseudoJet W1 () const
 
PseudoJet W2 () const
 returns the second W subjet More...
 

Protected Attributes

double _fj_eta
 
double _fj_mass
 
double _fj_phi
 
double _fj_pt
 
double _fRec
 
int _mass_ratio_passed
 
double _pruned_mass
 
double _ptForRoptCalc
 
double _qepsilon
 
double _qsigmaM
 
double _qweight
 
double _ropt
 
double _roptCalc
 
double _tau1Filtered
 
double _tau1Unfiltered
 
double _tau2Filtered
 
double _tau2Unfiltered
 
double _tau3Filtered
 
double _tau3Unfiltered
 
double _top_mass
 
double _unfiltered_mass
 
PseudoJet rW_
 
const JetDefinition::Recombiner * W_rec
 

Friends

class HEPTopTaggerV2
 

Detailed Description

Definition at line 138 of file HEPTopTaggerWrapperV2.h.

Constructor & Destructor Documentation

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

ctor with pieces initialisation

Definition at line 142 of file HEPTopTaggerWrapperV2.h.

143  : CompositeJetStructure(pieces_in, recombiner),
144  _fj_mass(0.0),
145  _fj_pt(0.0),
146  _fj_eta(0.0),
147  _fj_phi(0.0),
148  _top_mass(0.0),
149  _unfiltered_mass(0.0),
150  _pruned_mass(0.0),
151  _fRec(-1.),
152  _mass_ratio_passed(-1),
153  _ptForRoptCalc(-1),
154  _tau1Unfiltered(-1.),
155  _tau2Unfiltered(-1.),
156  _tau3Unfiltered(-1.),
157  _tau1Filtered(-1.),
158  _tau2Filtered(-1.),
159  _tau3Filtered(-1.),
160  _qweight(-1.),
161  _qepsilon(-1.),
162  _qsigmaM(-1.),
163  W_rec(recombiner),
164  rW_(){}
const JetDefinition::Recombiner * W_rec

Member Function Documentation

double HEPTopTaggerV2Structure::fj_eta ( ) const
inline

return the eta of the initial fatjet

Definition at line 199 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::fj_mass ( ) const
inline

return the mass of the initial fatjet

Definition at line 193 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::fj_phi ( ) const
inline

return the phi of the initial fatjet

Definition at line 202 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::fj_pt ( ) const
inline

return the pt of the initial fatjet

Definition at line 196 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::fRec ( ) const
inline

returns fRec

Definition at line 214 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::mass_ratio_passed ( ) const
inline

returns if 2d-mass plane cuts were passed

Definition at line 217 of file HEPTopTaggerWrapperV2.h.

const PseudoJet& HEPTopTaggerV2Structure::non_W ( ) const
inlineoverride

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 188 of file HEPTopTaggerWrapperV2.h.

188  {
189  return _pieces[2];
190  }
double HEPTopTaggerV2Structure::pruned_mass ( ) const
inline

returns the pruned mass

Definition at line 211 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::ptForRoptCalc ( ) const
inline

returns the filtered pT for calculating R_opt

Definition at line 226 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::qepsilon ( ) const
inline

Definition at line 237 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::qsigmaM ( ) const
inline

Definition at line 238 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::qweight ( ) const
inline

Definition at line 236 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::ropt ( ) const
inline

returns Ropt

Definition at line 220 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::roptCalc ( ) const
inline

returns calculated Ropt

Definition at line 223 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::Tau1Filtered ( ) const
inline

Definition at line 232 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::Tau1Unfiltered ( ) const
inline

Definition at line 229 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::Tau2Filtered ( ) const
inline

Definition at line 233 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::Tau2Unfiltered ( ) const
inline

Definition at line 230 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::Tau3Filtered ( ) const
inline

Definition at line 234 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::Tau3Unfiltered ( ) const
inline

Definition at line 231 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::top_mass ( ) const
inline

returns the candidate mass

Definition at line 205 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::unfiltered_mass ( ) const
inline

returns the unfiltered mass

Definition at line 208 of file HEPTopTaggerWrapperV2.h.

PseudoJet const& HEPTopTaggerV2Structure::W ( ) const
inlineoverride

Definition at line 167 of file HEPTopTaggerWrapperV2.h.

References join().

167  {
168  rW_ = join(_pieces[0], _pieces[1], *W_rec);
169  return rW_;
170  }
const JetDefinition::Recombiner * W_rec
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
PseudoJet HEPTopTaggerV2Structure::W1 ( ) const
inline

Definition at line 173 of file HEPTopTaggerWrapperV2.h.

References relativeConstraints::empty, and csvLumiCalc::pieces.

173  {
174  assert(!W().pieces().empty());
175  return W().pieces()[0];
176  }
PseudoJet const & W() const override
PseudoJet HEPTopTaggerV2Structure::W2 ( ) const
inline

returns the second W subjet

Definition at line 179 of file HEPTopTaggerWrapperV2.h.

References csvLumiCalc::pieces, and findQualityFiles::size.

179  {
180  assert(W().pieces().size()>1);
181  return W().pieces()[1];
182  }
size
Write out results.
PseudoJet const & W() const override

Friends And Related Function Documentation

friend class HEPTopTaggerV2
friend

Definition at line 271 of file HEPTopTaggerWrapperV2.h.

Member Data Documentation

double HEPTopTaggerV2Structure::_fj_eta
protected

Definition at line 244 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_fj_mass
protected

Definition at line 242 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_fj_phi
protected

Definition at line 245 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_fj_pt
protected

Definition at line 243 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_fRec
protected

Definition at line 250 of file HEPTopTaggerWrapperV2.h.

int HEPTopTaggerV2Structure::_mass_ratio_passed
protected

Definition at line 251 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_pruned_mass
protected

Definition at line 249 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_ptForRoptCalc
protected

Definition at line 252 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_qepsilon
protected

Definition at line 263 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_qsigmaM
protected

Definition at line 264 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_qweight
protected

Definition at line 262 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_ropt
protected

Definition at line 253 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_roptCalc
protected

Definition at line 254 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_tau1Filtered
protected

Definition at line 259 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_tau1Unfiltered
protected

Definition at line 256 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_tau2Filtered
protected

Definition at line 260 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_tau2Unfiltered
protected

Definition at line 257 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_tau3Filtered
protected

Definition at line 261 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_tau3Unfiltered
protected

Definition at line 258 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_top_mass
protected

Definition at line 247 of file HEPTopTaggerWrapperV2.h.

double HEPTopTaggerV2Structure::_unfiltered_mass
protected

Definition at line 248 of file HEPTopTaggerWrapperV2.h.

PseudoJet HEPTopTaggerV2Structure::rW_
mutableprotected

Definition at line 268 of file HEPTopTaggerWrapperV2.h.

const JetDefinition::Recombiner* HEPTopTaggerV2Structure::W_rec
protected

Definition at line 266 of file HEPTopTaggerWrapperV2.h.