00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef __FASTJET_CLUSTERSEQUENCEPASSIVEAREA_HH__
00032 #define __FASTJET_CLUSTERSEQUENCEPASSIVEAREA_HH__
00033
00034
00035 #include "fastjet/PseudoJet.hh"
00036 #include "fastjet/ClusterSequence1GhostPassiveArea.hh"
00037 #include<iostream>
00038 #include<vector>
00039
00040 FASTJET_BEGIN_NAMESPACE
00041
00042
00043
00055 class ClusterSequencePassiveArea : public ClusterSequence1GhostPassiveArea {
00056 public:
00057
00059 template<class L> ClusterSequencePassiveArea
00060 (const std::vector<L> & pseudojets,
00061 const JetDefinition & jet_def,
00062 const GhostedAreaSpec & area_spec,
00063 const bool & writeout_combinations = false) ;
00064
00067 virtual double empty_area(const RangeDefinition & range) const;
00068
00069 private:
00070
00073 void _initialise_and_run_PA (const JetDefinition & jet_def,
00074 const GhostedAreaSpec & area_spec,
00075 const bool & writeout_combinations = false);
00076
00077 };
00078
00079
00080
00081
00082 template<class L> ClusterSequencePassiveArea::ClusterSequencePassiveArea
00083 (const std::vector<L> & pseudojets,
00084 const JetDefinition & jet_def,
00085 const GhostedAreaSpec & area_spec,
00086 const bool & writeout_combinations) {
00087
00088
00089 _transfer_input_jets(pseudojets);
00090
00091
00092 _initialise_and_run_PA(jet_def, area_spec, writeout_combinations);
00093
00094 }
00095
00096
00097
00098 FASTJET_END_NAMESPACE
00099
00100 #endif // __FASTJET_CLUSTERSEQUENCEPASSIVEAREA_HH__