FastJet 3.4.1
|
class for holding a range definition specification, given by limits on rapidity and azimuth. More...
#include <fastjet/RangeDefinition.hh>
Inherited by fastjet::CircularRange.
Public Member Functions | |
RangeDefinition () | |
default constructor More... | |
RangeDefinition (double rapmax) | |
constructor for a range definition given by |y|<rapmax More... | |
virtual | ~RangeDefinition () |
destructor does nothing More... | |
RangeDefinition (double rapmin, double rapmax, double phimin=0.0, double phimax=twopi) | |
constructor for a range definition given by rapmin <= y <= rapmax, phimin <= phi <= phimax More... | |
virtual bool | is_localizable () const |
returns true if the range is localizable (i.e. More... | |
void | set_position (const double &rap, const double &phi) |
place the range on the rap-phi position More... | |
void | set_position (const PseudoJet &jet) |
place the range on the jet position More... | |
bool | is_in_range (const PseudoJet &jet) const |
return bool according to whether the jet is within the given range More... | |
virtual bool | is_in_range (double rap, double phi) const |
return bool according to whether a (rap,phi) point is in range More... | |
virtual void | get_rap_limits (double &rapmin, double &rapmax) const |
return the minimal and maximal rapidity of this range; remember to replace this if you write a derived class with more complex ranges; More... | |
virtual double | area () const |
area of the range region More... | |
virtual std::string | description () const |
textual description of range More... | |
Protected Member Functions | |
void | _numerical_total_area (double rapmax, int npoints) |
calculate, and set _total_area, by calculating which of points on a grid (npoints * npoints from -rapmax..rapmax,0..2pi) are contained in the range; it takes a reasonable time with rapmax = 10, npoints = 100. More... | |
Protected Attributes | |
double | _total_area |
double | _rapjet |
double | _phijet |
class for holding a range definition specification, given by limits on rapidity and azimuth.
Definition at line 51 of file RangeDefinition.hh.
|
inline |
default constructor
Definition at line 55 of file RangeDefinition.hh.
|
inline |
constructor for a range definition given by |y|<rapmax
Definition at line 59 of file RangeDefinition.hh.
|
inlinevirtual |
destructor does nothing
Definition at line 69 of file RangeDefinition.hh.
|
inline |
constructor for a range definition given by rapmin <= y <= rapmax, phimin <= phi <= phimax
Definition at line 73 of file RangeDefinition.hh.
|
inlinevirtual |
returns true if the range is localizable (i.e.
set_position is meant to do something meaningful).
This version of the class is not localizable and so it returns false.
For localizable classes override this function with a function that returns true
Definition at line 98 of file RangeDefinition.hh.
|
inline |
place the range on the rap-phi position
THIS DOES NOT DO ANYTHING FOR THIS CLASS AND IS ONLY THERE TO FACILITATE DERIVED CLASSES
DON'T NECESSARILY COUNT ON IT IN THE FUTURE EITHER???
Definition at line 107 of file RangeDefinition.hh.
|
inline |
place the range on the jet position
Definition at line 120 of file RangeDefinition.hh.
|
inline |
return bool according to whether the jet is within the given range
Definition at line 125 of file RangeDefinition.hh.
|
inlinevirtual |
return bool according to whether a (rap,phi) point is in range
Definition at line 132 of file RangeDefinition.hh.
|
inlinevirtual |
return the minimal and maximal rapidity of this range; remember to replace this if you write a derived class with more complex ranges;
Definition at line 143 of file RangeDefinition.hh.
|
inlinevirtual |
area of the range region
Definition at line 149 of file RangeDefinition.hh.
|
inlinevirtual |
textual description of range
Definition at line 152 of file RangeDefinition.hh.
|
protected |
calculate, and set _total_area, by calculating which of points on a grid (npoints * npoints from -rapmax..rapmax,0..2pi) are contained in the range; it takes a reasonable time with rapmax = 10, npoints = 100.
Definition at line 41 of file RangeDefinition.cc.
|
protected |
Definition at line 160 of file RangeDefinition.hh.
|
protected |
Definition at line 167 of file RangeDefinition.hh.
|
protected |
Definition at line 167 of file RangeDefinition.hh.