1 #ifndef RecoJets_JetAlgorithms_CompoundPseudoJet_h 2 #define RecoJets_JetAlgorithms_CompoundPseudoJet_h 31 #include <fastjet/JetDefinition.hh> 32 #include <fastjet/PseudoJet.hh> 75 std::vector<CompoundPseudoSubJet>
const & subjets ) :
78 subjets_(subjets.
size())
80 copy( subjets.begin(), subjets.end(), subjets_.begin() );
84 std::vector<CompoundPseudoSubJet>
const & subjets ) :
86 hardJetArea_(hardJetArea),
87 subjets_(subjets.
size())
89 copy( subjets.begin(), subjets.end(), subjets_.begin() );
94 fastjet::PseudoJet
const &
hardJet()
const {
return hardJet_;}
96 std::vector<CompoundPseudoSubJet>
const&
subjets()
const {
return subjets_; }
108 public std::binary_function<fastjet::PseudoJet const &, fastjet::PseudoJet const &, bool> {
111 bool operator()( fastjet::PseudoJet
const & j1, fastjet::PseudoJet
const & j2 ) {
112 return j1.perp() > j2.perp();
fastjet::PseudoJet hardJet_
double subjetArea() const
fastjet::PseudoJet const & subjet() const
std::vector< CompoundPseudoSubJet > const & subjets() const
fastjet::PseudoJet subjet_
fastjet::PseudoJet const & hardJet() const
CompoundPseudoJet(fastjet::PseudoJet const &hardJet, std::vector< CompoundPseudoSubJet > const &subjets)
CompoundPseudoJet holds an association of fastjet::PseudoJets that represent a "hard" top jet with su...
CompoundPseudoSubJet(fastjet::PseudoJet const &subjet, std::vector< int > const &constituents)
CompoundPseudoSubJet(fastjet::PseudoJet const &subjet, double subjetArea, std::vector< int > const &constituents)
std::vector< CompoundPseudoSubJet > subjets_
std::vector< int > const & constituents() const
CompoundPseudoJet(fastjet::PseudoJet const &hardJet, double hardJetArea, std::vector< CompoundPseudoSubJet > const &subjets)
std::vector< int > constituents_
bool operator()(fastjet::PseudoJet const &j1, fastjet::PseudoJet const &j2)
double hardJetArea() const