Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

KtJets Class Reference

#include <KtJets.hh>

Inheritance diagram for KtJets:

Inheritance graph
[legend]
Collaboration diagram for KtJets:

Collaboration graph
[legend]
List of all members.

Detailed Description

Project out jets based on configurable kT algorithm.

Definition at line 14 of file KtJets.hh.


Public Member Functions

string getName () const
 Return the name of the projection.
vector< double > getYSubJet (const KtJet::KtLorentzVector &jet) const
 Get the subjet splitting variables for the given jet.
bool before (const Projection &p) const
virtual const Cuts getCuts () const
virtual const set< BeamPairgetBeamPairs () const
set< Projection * > getProjections () const
 Get the contained projections, including recursion.
Standard constructors and destructors.
 KtJets (FinalState &fsp)
 Default constructor. Must specify a FinalState projection which is.
 KtJets (FinalState &fsp, int type, int angle, int recom, double rparameter)
virtual ~KtJets ()
 Destructor.
Access the projected NJets.
int getNJets () const
int getNConstituents () const
vector< KtJet::KtLorentzVector > copyConstituents () const
double getETot () const
int getType () const
int getAngle () const
int getRecom () const
bool isInclusive () const
vector< KtJet::KtLorentzVector > getJets () const
vector< KtJet::KtLorentzVector > getJetsE () const
vector< KtJet::KtLorentzVector > getJetsEt () const
vector< KtJet::KtLorentzVector > getJetsPt () const
vector< KtJet::KtLorentzVector > getJetsRapidity () const
vector< KtJet::KtLorentzVector > getJetsEta () const

Protected Member Functions

void project (const Event &e)
 Perform the projection on the Event.
int compare (const Projection &p) const
 Compare projections.
ProjectionaddProjection (Projection &proj)
 Add a projection dependency to the projection list.
ProjectionaddBeamPair (const ParticleName &beam1, const ParticleName &beam2)
 Add a colliding beam pair.
ProjectionaddCut (const string &quantity, const Comparison &comparison, const double value)
 Add a cut.
LoggetLog ()
 Get a Log object based on the getName() property of the calling projection object.

Protected Attributes

Cuts _cuts
 Parameter constraints.
set< BeamPair_beamPairs
 Beam-type constraint.
set< Projection * > _projections
 Collection of pointers to projections, for automatically combining constraints.

Friends

class Event
 Event is a friend.
class Cmp<Projection>
 The Cmp specialization for Projection is a friend.

Constructor & Destructor Documentation

KtJets FinalState fsp  )  [inline]
 

Default constructor. Must specify a FinalState projection which is.

Definition at line 22 of file KtJets.hh.

KtJets FinalState fsp,
int  type,
int  angle,
int  recom,
double  rparameter
[inline]
 

Argument constructor. Allows the to be run with different parameters. Must specify a FinalState projection which is assumed to live throughout the run.

Definition at line 31 of file KtJets.hh.

virtual ~KtJets  )  [inline, virtual]
 

Destructor.

Definition at line 39 of file KtJets.hh.


Member Function Documentation

Projection& addBeamPair const ParticleName beam1,
const ParticleName beam2
[inline, protected, inherited]
 

Add a colliding beam pair.

Definition at line 145 of file Projection.hh.

References Rivet::BeamPair.

Projection& addCut const string &  quantity,
const Comparison comparison,
const double  value
[inline, protected, inherited]
 

Add a cut.

Definition at line 151 of file Projection.hh.

Projection& addProjection Projection proj  )  [inline, protected, inherited]
 

Add a projection dependency to the projection list.

Definition at line 139 of file Projection.hh.

bool before const Projection p  )  const [inline, inherited]
 

Determine whether this object should be ordered before the object p given as argument. If p is of a different class than this, the before() function of the corresponding type_info objects is used. Otherwise, if the objects are of the same class, the virtual compare(const Projection &) will be returned.

Definition at line 88 of file Projection.hh.

Referenced by less< const Rivet::Projection * >::operator()().

int compare const Projection p  )  const [protected, virtual]
 

Compare projections.

Implements Projection.

Definition at line 10 of file KtJets.cc.

References KtJets::_angle, KtJets::_fsproj, KtJets::_recom, KtJets::_rparameter, KtJets::_type, Rivet::cmp(), and Rivet::pcmp().

vector<KtJet::KtLorentzVector> copyConstituents  )  const [inline]
 

Definition at line 64 of file KtJets.hh.

int getAngle  )  const [inline]
 

Definition at line 67 of file KtJets.hh.

virtual const set<BeamPair> getBeamPairs  )  const [inline, virtual, inherited]
 

Return the BeamConstraints for this projection. Derived classes should ensure that all contained projections are registered in the _projections set for the beam constraint chaining to work.

Definition at line 114 of file Projection.hh.

References Cuts::end(), and Rivet::intersection().

virtual const Cuts getCuts  )  const [inline, virtual, inherited]
 

Return the Cuts objects for this projection. Derived classes should ensure that all contained projections are registered in the _projections set for the cut chaining to work.

Definition at line 102 of file Projection.hh.

References Cuts::addCuts().

double getETot  )  const [inline]
 

Definition at line 65 of file KtJets.hh.

vector<KtJet::KtLorentzVector> getJets  )  const [inline]
 

Definition at line 71 of file KtJets.hh.

vector<KtJet::KtLorentzVector> getJetsE  )  const [inline]
 

Definition at line 72 of file KtJets.hh.

vector<KtJet::KtLorentzVector> getJetsEt  )  const [inline]
 

Definition at line 73 of file KtJets.hh.

Referenced by HepEx0112029::analyze(), and ExampleTree::analyze().

vector<KtJet::KtLorentzVector> getJetsEta  )  const [inline]
 

Definition at line 76 of file KtJets.hh.

vector<KtJet::KtLorentzVector> getJetsPt  )  const [inline]
 

Definition at line 74 of file KtJets.hh.

vector<KtJet::KtLorentzVector> getJetsRapidity  )  const [inline]
 

Definition at line 75 of file KtJets.hh.

Log & getLog  )  [protected, inherited]
 

Get a Log object based on the getName() property of the calling projection object.

Definition at line 7 of file Projection.cc.

References Log::getLog(), and Projection::getName().

Referenced by VetoedFinalState::project(), TrackJet::project(), TotalVisibleMomentum::project(), Sphericity::project(), Multiplicity::project(), ChargedLeptons::project(), ChargedFinalState::project(), and Beam::project().

string getName  )  const [inline, virtual]
 

Return the name of the projection.

Reimplemented from Projection.

Definition at line 46 of file KtJets.hh.

int getNConstituents  )  const [inline]
 

Definition at line 63 of file KtJets.hh.

int getNJets  )  const [inline]
 

Definition at line 62 of file KtJets.hh.

Referenced by HepEx0112029::analyze().

set<Projection*> getProjections  )  const [inline, inherited]
 

Get the contained projections, including recursion.

Definition at line 128 of file Projection.hh.

References Cuts::end().

int getRecom  )  const [inline]
 

Definition at line 68 of file KtJets.hh.

int getType  )  const [inline]
 

Definition at line 66 of file KtJets.hh.

vector< double > getYSubJet const KtJet::KtLorentzVector &  jet  )  const
 

Get the subjet splitting variables for the given jet.

Definition at line 38 of file KtJets.cc.

Referenced by ExampleTree::analyze().

bool isInclusive  )  const [inline]
 

Definition at line 69 of file KtJets.hh.

void project const Event e  )  [protected, virtual]
 

Perform the projection on the Event.

Implements Projection.

Definition at line 21 of file KtJets.cc.

References Event::applyProjection(), and FinalState::particles().


Friends And Related Function Documentation

friend class Cmp<Projection> [friend, inherited]
 

The Cmp specialization for Projection is a friend.

Definition at line 31 of file Projection.hh.

friend class Event [friend, inherited]
 

Event is a friend.

Definition at line 28 of file Projection.hh.


Member Data Documentation

set<BeamPair> _beamPairs [protected, inherited]
 

Beam-type constraint.

Definition at line 164 of file Projection.hh.

Cuts _cuts [protected, inherited]
 

Parameter constraints.

Definition at line 161 of file Projection.hh.

set<Projection*> _projections [protected, inherited]
 

Collection of pointers to projections, for automatically combining constraints.

Definition at line 167 of file Projection.hh.


The documentation for this class was generated from the following files: