Go to the documentation of this file. 1 #ifndef __FASTJET_BACKGROUND_EXTRACTOR_HH__
2 #define __FASTJET_BACKGROUND_EXTRACTOR_HH__
4 #include <fastjet/ClusterSequenceAreaBase.hh>
5 #include <fastjet/RangeDefinition.hh>
122 void set_included_jets(
const std::vector<PseudoJet> &included_jets,
bool all_from_inclusive =
true) {
148 const ClusterSequenceAreaBase &
_csa;
void set_excluded_jets(const std::vector< PseudoJet > &excluded_jets)
unsigned int _n_jets_used
number of jets used to estimate the background
double _sigma
background estimated fluctuations
void set_use_area_4vector(bool use_it=true)
unsigned int n_jets_used()
get the number of jets used to actually compute the background properties
double _median_rho
background estimated density per unit area
const ClusterSequenceAreaBase & _csa
cluster sequence to get jets and areas from
std::vector< PseudoJet > _excluded_jets
jets to be excluded
bool _all_from_inclusive
when true, we'll assume that the incl jets are the complete set
double mean_area()
get the median area of the jets used to actually compute the background properties
void set_included_jets(const std::vector< PseudoJet > &included_jets, bool all_from_inclusive=true)
void _recompute_if_needed()
void _compute()
do the actual job
std::vector< PseudoJet > _included_jets
jets to be used
double sigma()
get the sigma
const RangeDefinition & _range
range to compute the background in
unsigned int _n_jets_excluded
number of jets that have explicitly been excluded
double median_rho()
get the median rho
double _n_empty_jets
number of empty (pure-ghost) jets
double _empty_area
the empty (pure-ghost/unclustered) area!
bool _uptodate
true when the background computation is up-to-date
BackgroundEstimator(const ClusterSequenceAreaBase &csa, const RangeDefinition &range)
unsigned int n_jets_excluded()
~BackgroundEstimator()
default dtor
double rho()
synonym for median rho [[do we have this? Both?]]
double _mean_area
mean area of the jets used to estimate the background