Rivet
1.8.0
|
Calculate the jet shape. More...
#include <JetShape.hh>
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 |
![]() | |
double | rMax () const |
![]() | |
double | ptMin () const |
![]() | |
double | ptMax () const |
![]() | |
double | rBinMin (size_t rbin) const |
Central ![]() | |
double | rBinMax (size_t rbin) const |
Central ![]() | |
double | rBinMid (size_t rbin) const |
Central ![]() | |
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 Projection * | clone () 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. |
Calculate the jet shape.
Calculate the differential and integral jet shapes in 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
jets.
The rapidity scheme ( or
) has to be specified when invoking the constructor.
The differential jet shape around a given jet axis at distance interval is defined as
with and
.
The integral jet shape around a given jet axes until distance is defined as
with and
.
The constructor expects also the binning in radius to be supplied.
void Rivet::JetShape::calc | ( | const Jets & | jets | ) |
Do the calculation directly on a supplied collection of Jet objects.
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.
Implements Rivet::Projection.
References calc().