CMS 3D CMS Logo

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

CompoundPseudoJet holds an association of fastjet::PseudoJets that represent a "hard" top jet with subjets. More...

#include <CompoundPseudoJet.h>

Public Member Functions

 CompoundPseudoJet ()
 
 CompoundPseudoJet (fastjet::PseudoJet const &hardJet, double hardJetArea, std::vector< CompoundPseudoSubJet > const &subjets)
 
 CompoundPseudoJet (fastjet::PseudoJet const &hardJet, std::vector< CompoundPseudoSubJet > const &subjets)
 
fastjet::PseudoJet const & hardJet () const
 
double hardJetArea () const
 
std::vector< CompoundPseudoSubJet > const & subjets () const
 
 ~CompoundPseudoJet ()
 

Protected Attributes

fastjet::PseudoJet hardJet_
 
double hardJetArea_
 
std::vector< CompoundPseudoSubJetsubjets_
 

Detailed Description

CompoundPseudoJet holds an association of fastjet::PseudoJets that represent a "hard" top jet with subjets.

Definition at line 56 of file CompoundPseudoJet.h.

Constructor & Destructor Documentation

◆ CompoundPseudoJet() [1/3]

CompoundPseudoJet::CompoundPseudoJet ( )
inline

Definition at line 58 of file CompoundPseudoJet.h.

58 {}

◆ CompoundPseudoJet() [2/3]

CompoundPseudoJet::CompoundPseudoJet ( fastjet::PseudoJet const &  hardJet,
std::vector< CompoundPseudoSubJet > const &  subjets 
)
inline

Definition at line 59 of file CompoundPseudoJet.h.

60  : hardJet_(hardJet), hardJetArea_(0.0), subjets_(subjets.size()) {
61  copy(subjets.begin(), subjets.end(), subjets_.begin());
62  }

References filterCSVwithJSON::copy, subjets(), and subjets_.

◆ CompoundPseudoJet() [3/3]

CompoundPseudoJet::CompoundPseudoJet ( fastjet::PseudoJet const &  hardJet,
double  hardJetArea,
std::vector< CompoundPseudoSubJet > const &  subjets 
)
inline

Definition at line 63 of file CompoundPseudoJet.h.

67  copy(subjets.begin(), subjets.end(), subjets_.begin());
68  }

References filterCSVwithJSON::copy, subjets(), and subjets_.

◆ ~CompoundPseudoJet()

CompoundPseudoJet::~CompoundPseudoJet ( )
inline

Definition at line 70 of file CompoundPseudoJet.h.

70 {}

Member Function Documentation

◆ hardJet()

fastjet::PseudoJet const& CompoundPseudoJet::hardJet ( ) const
inline

Definition at line 72 of file CompoundPseudoJet.h.

72 { return hardJet_; }

References hardJet_.

◆ hardJetArea()

double CompoundPseudoJet::hardJetArea ( ) const
inline

Definition at line 73 of file CompoundPseudoJet.h.

73 { return hardJetArea_; }

References hardJetArea_.

◆ subjets()

std::vector<CompoundPseudoSubJet> const& CompoundPseudoJet::subjets ( ) const
inline

Definition at line 74 of file CompoundPseudoJet.h.

74 { return subjets_; }

References subjets_.

Referenced by CompoundPseudoJet().

Member Data Documentation

◆ hardJet_

fastjet::PseudoJet CompoundPseudoJet::hardJet_
protected

Definition at line 77 of file CompoundPseudoJet.h.

Referenced by hardJet().

◆ hardJetArea_

double CompoundPseudoJet::hardJetArea_
protected

Definition at line 78 of file CompoundPseudoJet.h.

Referenced by hardJetArea().

◆ subjets_

std::vector<CompoundPseudoSubJet> CompoundPseudoJet::subjets_
protected

Definition at line 79 of file CompoundPseudoJet.h.

Referenced by CompoundPseudoJet(), and subjets().

CompoundPseudoJet::hardJetArea_
double hardJetArea_
Definition: CompoundPseudoJet.h:78
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
CompoundPseudoJet::subjets_
std::vector< CompoundPseudoSubJet > subjets_
Definition: CompoundPseudoJet.h:79
CompoundPseudoJet::hardJet_
fastjet::PseudoJet hardJet_
Definition: CompoundPseudoJet.h:77
CompoundPseudoJet::hardJet
fastjet::PseudoJet const & hardJet() const
Definition: CompoundPseudoJet.h:72
CompoundPseudoJet::subjets
std::vector< CompoundPseudoSubJet > const & subjets() const
Definition: CompoundPseudoJet.h:74
CompoundPseudoJet::hardJetArea
double hardJetArea() const
Definition: CompoundPseudoJet.h:73