rivet is hosted by Hepforge, IPPP Durham
Rivet  2.7.0
Inheritance diagram for Rivet::JetShape:
Rivet::Projection Rivet::ProjectionApplier

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. More...
 
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.
 
 DEFAULT_RIVET_PROJ_CLONE (JetShape)
 Clone on the heap.
 
- Public Member Functions inherited from Rivet::Projection
virtual std::string name () const
 Get the name of the projection.
 
 Projection ()
 The default constructor.
 
virtual unique_ptr< Projectionclone () const =0
 Clone on the heap.
 
virtual ~Projection ()
 The destructor.
 
bool before (const Projection &p) const
 
virtual const std::set< PdgIdPair > beamPairs () const
 
ProjectionaddPdgIdPair (PdgId beam1, PdgId beam2)
 
- Public Member Functions inherited from Rivet::ProjectionApplier
 ProjectionApplier ()
 Constructor.
 
void markAsOwned () const
 Mark this object as owned by a proj-handler.
 
std::set< ConstProjectionPtr > getProjections () const
 Get the contained projections, including recursion.
 
bool hasProjection (const std::string &name) const
 Does this applier have a projection registered under the name name?
 
template<typename PROJ >
const PROJ & getProjection (const std::string &name) const
 
template<typename PROJ >
const PROJ & get (const std::string &name) const
 
const ProjectiongetProjection (const std::string &name) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const Projection &proj) const
 Apply the supplied projection on event evt. More...
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const Projection &proj) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const PROJ &proj) const
 Apply the supplied projection on event evt. More...
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const PROJ &proj) const
 
template<typename PROJ >
const PROJ & applyProjection (const Event &evt, const std::string &name) const
 
template<typename PROJ >
const PROJ & apply (const Event &evt, const std::string &name) const
 
template<typename PROJ >
const PROJ & apply (const std::string &name, const Event &evt) const
 

Protected Member Functions

void project (const Event &e)
 Apply the projection to the event. More...
 
int compare (const Projection &p) const
 Compare projections.
 
- Protected Member Functions inherited from Rivet::Projection
LoggetLog () const
 Get a Log object based on the getName() property of the calling projection object.
 
void setName (const std::string &name)
 Used by derived classes to set their name.
 
Cmp< ProjectionmkNamedPCmp (const Projection &otherparent, const std::string &pname) const
 
Cmp< ProjectionmkPCmp (const Projection &otherparent, const std::string &pname) const
 
virtual Projectionoperator= (const Projection &)
 Block Projection copying.
 
- Protected Member Functions inherited from Rivet::ProjectionApplier
LoggetLog () const
 
ProjectionHandlergetProjHandler () const
 Get a reference to the ProjectionHandler for this thread.
 
template<typename PROJ >
const PROJ & declareProjection (const PROJ &proj, const std::string &name)
 Register a contained projection. More...
 
template<typename PROJ >
const PROJ & declare (const PROJ &proj, const std::string &name)
 Register a contained projection (user-facing version) More...
 
template<typename PROJ >
const PROJ & declare (const std::string &name, const PROJ &proj)
 Register a contained projection (user-facing, arg-reordered version) More...
 
template<typename PROJ >
const PROJ & addProjection (const PROJ &proj, const std::string &name)
 Register a contained projection (user-facing version) More...
 

Member Function Documentation

◆ calc()

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

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

Todo:
Use Cut for better eta/y selection

< Out of histo range

References Rivet::binIndex(), clear(), Rivet::deltaR(), Rivet::FourVector::eta(), Rivet::inRange(), numBins(), Rivet::FourMomentum::pT(), and Rivet::FourMomentum::rapidity().

Referenced by project().

◆ project()

void Rivet::JetShape::project ( const Event e)
protectedvirtual

Apply the projection to the event.

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

Implements Rivet::Projection.

References calc().

Referenced by intJetShape().


The documentation for this class was generated from the following files:
  • include/Rivet/Projections/JetShape.hh
  • src/Projections/JetShape.cc