Rivet  1.8.0
Public Member Functions | Protected Member Functions
Rivet::JetShape Class Reference

Calculate the jet shape. More...

#include <JetShape.hh>

Inheritance diagram for Rivet::JetShape:
Rivet::Projection Rivet::ProjectionApplier

List of all members.

Public Member Functions

void clear ()
 Reset projection between events.
void calc (const Jets &jets)
 Do the calculation directly on a supplied collection of Jet objects.
size_t numBins () const
 Number of equidistant radius bins.
size_t numJets () const
 Number of jets which passed cuts.
double rMin () const
 $ r_\text{min} $ value.
double rMax () const
 $ r_\text{max} $ value.
double ptMin () const
 $ p_\perp^\text{min} $ value.
double ptMax () const
 $ p_\perp^\text{max} $ value.
double rBinMin (size_t rbin) const
 Central $ r $ value for bin rbin.
double rBinMax (size_t rbin) const
 Central $ r $ value for bin rbin.
double rBinMid (size_t rbin) const
 Central $ r $ value for bin rbin.
double diffJetShape (size_t ijet, size_t rbin) const
 Return value of differential jet shape profile histo bin.
double intJetShape (size_t ijet, size_t rbin) const
 Return value of integrated jet shape profile histo bin.
Constructors etc.
 JetShape (const JetAlg &jetalg, double rmin, double rmax, size_t nbins, double ptmin=0, double ptmax=MAXDOUBLE, double absrapmin=-MAXDOUBLE, double absrapmax=-MAXDOUBLE, RapScheme rapscheme=RAPIDITY)
 Constructor from histo range and number of bins.
 JetShape (const JetAlg &jetalg, vector< double > binedges, double ptmin=0, double ptmax=MAXDOUBLE, double absrapmin=-MAXDOUBLE, double absrapmax=-MAXDOUBLE, RapScheme rapscheme=RAPIDITY)
 Constructor from vector of bin edges.
virtual const Projectionclone () const
 Clone on the heap.

Protected Member Functions

void project (const Event &e)
 Apply the projection to the event.
int compare (const Projection &p) const
 Compare projections.

Detailed Description

Calculate the jet shape.

Calculate the differential and integral jet shapes in $P_{\perp}$ for a given set of jets. This particular jet shape projection calculates jet shapes relative to jet centroids, using only the particles associated to each jet, for the hardest $ n $ jets.

The rapidity scheme ( $ \eta $ or $ y $) has to be specified when invoking the constructor.

The differential jet shape around a given jet axis at distance interval $ r \pm \delta{r}/2 $ is defined as

\[ \rho(r) = \frac{1}{\delta r} \frac{1}{N_\mathrm{jets}} \sum_\mathrm{jets} \frac{P_\perp(r - \delta r/2, r+\delta r/2)}{p_\perp(0, R)} \]

with $ 0 \le r \le R $ and $ P_\perp(r_1, r_2) = \sum_{\in [r_1, r_2)} p_\perp $.

The integral jet shape around a given jet axes until distance $ r $ is defined as

\[ \Psi(r) = \frac{1}{N_\mathrm{jets}} \sum_\mathrm{jets} \frac{P_\perp(0, r)}{p_\perp(0, R)} \]

with $ 0 \le r \le R $ and $ P_\perp(r_1, r_2) = \sum_{\in [r_1, r_2)} p_\perp $.

The constructor expects also the binning in radius $ r $ to be supplied.


Member Function Documentation

void Rivet::JetShape::calc ( const Jets jets)

Do the calculation directly on a supplied collection of Jet objects.

Todo:
Introduce a better (i.e. more safe and general) eta/y selection mechanism: MomentumFilter

References clear(), Rivet::FourVector::eta(), Rivet::index_between(), Rivet::inRange(), Rivet::integral(), Rivet::Particle::momentum(), Rivet::Jet::momentum(), numBins(), Rivet::Jet::particles(), Rivet::FourMomentum::pT(), and Rivet::FourMomentum::rapidity().

Referenced by project().

void Rivet::JetShape::project ( const Event e) [protected, virtual]

Apply the projection to the event.

Todo:
Provide int and diff jet shapes with some sort of area normalisation?

Implements Rivet::Projection.

References calc().


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