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