CMS 3D CMS Logo

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

#include <CompoundPseudoJet.h>

Public Member Functions

 CompoundPseudoSubJet ()
 
 CompoundPseudoSubJet (fastjet::PseudoJet const &subjet, std::vector< int > const &constituents)
 
 CompoundPseudoSubJet (fastjet::PseudoJet const &subjet, double subjetArea, std::vector< int > const &constituents)
 
std::vector< int > const & constituents () const
 
fastjet::PseudoJet const & subjet () const
 
double subjetArea () const
 
 ~CompoundPseudoSubJet ()
 

Protected Attributes

std::vector< int > constituents_
 
fastjet::PseudoJet subjet_
 
double subjetArea_
 

Detailed Description

Definition at line 37 of file CompoundPseudoJet.h.

Constructor & Destructor Documentation

CompoundPseudoSubJet::CompoundPseudoSubJet ( )
inline

Definition at line 39 of file CompoundPseudoJet.h.

39 {}
CompoundPseudoSubJet::CompoundPseudoSubJet ( fastjet::PseudoJet const &  subjet,
std::vector< int > const &  constituents 
)
inline

Definition at line 40 of file CompoundPseudoJet.h.

References constituents_, and popcon2dropbox::copy().

41  :
42  subjet_(subjet),
43  subjetArea_(0.0),
44  constituents_(constituents.size() )
45  {
46  copy( constituents.begin(), constituents.end(), constituents_.begin() );
47  }
fastjet::PseudoJet const & subjet() const
fastjet::PseudoJet subjet_
std::vector< int > const & constituents() const
std::vector< int > constituents_
CompoundPseudoSubJet::CompoundPseudoSubJet ( fastjet::PseudoJet const &  subjet,
double  subjetArea,
std::vector< int > const &  constituents 
)
inline

Definition at line 48 of file CompoundPseudoJet.h.

References constituents_, and popcon2dropbox::copy().

50  :
51  subjet_(subjet),
53  constituents_(constituents.size() )
54  {
55  copy( constituents.begin(), constituents.end(), constituents_.begin() );
56  }
double subjetArea() const
fastjet::PseudoJet const & subjet() const
fastjet::PseudoJet subjet_
std::vector< int > const & constituents() const
std::vector< int > constituents_
CompoundPseudoSubJet::~CompoundPseudoSubJet ( )
inline

Definition at line 58 of file CompoundPseudoJet.h.

58 {}

Member Function Documentation

std::vector<int> const& CompoundPseudoSubJet::constituents ( ) const
inline

Definition at line 62 of file CompoundPseudoJet.h.

References constituents_.

62 { return constituents_; }
std::vector< int > constituents_
fastjet::PseudoJet const& CompoundPseudoSubJet::subjet ( ) const
inline

Definition at line 60 of file CompoundPseudoJet.h.

References subjet_.

60 { return subjet_; }
fastjet::PseudoJet subjet_
double CompoundPseudoSubJet::subjetArea ( ) const
inline

Definition at line 61 of file CompoundPseudoJet.h.

References subjetArea_.

61 { return subjetArea_; }

Member Data Documentation

std::vector<int> CompoundPseudoSubJet::constituents_
protected

Definition at line 67 of file CompoundPseudoJet.h.

Referenced by CompoundPseudoSubJet(), and constituents().

fastjet::PseudoJet CompoundPseudoSubJet::subjet_
protected

Definition at line 65 of file CompoundPseudoJet.h.

Referenced by subjet().

double CompoundPseudoSubJet::subjetArea_
protected

Definition at line 66 of file CompoundPseudoJet.h.

Referenced by subjetArea().