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, std::vector< CompoundPseudoSubJet > const &subjets)
 
 CompoundPseudoJet (fastjet::PseudoJet const &hardJet, double hardJetArea, 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.

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

60  : hardJet_(hardJet), hardJetArea_(0.0), subjets_(subjets.size()) {
61  copy(subjets.begin(), subjets.end(), subjets_.begin());
62  }
fastjet::PseudoJet hardJet_
std::vector< CompoundPseudoSubJet > const & subjets() const
fastjet::PseudoJet const & hardJet() const
std::vector< CompoundPseudoSubJet > 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.

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

67  copy(subjets.begin(), subjets.end(), subjets_.begin());
68  }
fastjet::PseudoJet hardJet_
std::vector< CompoundPseudoSubJet > const & subjets() const
double hardJetArea() const
fastjet::PseudoJet const & hardJet() const
std::vector< CompoundPseudoSubJet > 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.

References hardJet_.

72 { return hardJet_; }
fastjet::PseudoJet hardJet_

◆ hardJetArea()

double CompoundPseudoJet::hardJetArea ( ) const
inline

Definition at line 73 of file CompoundPseudoJet.h.

References hardJetArea_.

73 { return hardJetArea_; }

◆ subjets()

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

Definition at line 74 of file CompoundPseudoJet.h.

References subjets_.

Referenced by CompoundPseudoJet().

74 { return subjets_; }
std::vector< CompoundPseudoSubJet > subjets_

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().