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 using namespace std;
00043
00048 class ClusterSequencePassiveArea : public ClusterSequence1GhostPassiveArea {
00049 public:
00050
00052 template<class L> ClusterSequencePassiveArea
00053 (const std::vector<L> & pseudojets,
00054 const JetDefinition & jet_def,
00055 const GhostedAreaSpec & area_spec,
00056 const bool & writeout_combinations = false) ;
00057
00060 virtual double empty_area(const RangeDefinition & range) const;
00061
00062 private:
00063
00066 void _initialise_and_run_PA (const JetDefinition & jet_def,
00067 const GhostedAreaSpec & area_spec,
00068 const bool & writeout_combinations = false);
00069
00070 };
00071
00072
00073
00074
00075 template<class L> ClusterSequencePassiveArea::ClusterSequencePassiveArea
00076 (const std::vector<L> & pseudojets,
00077 const JetDefinition & jet_def,
00078 const GhostedAreaSpec & area_spec,
00079 const bool & writeout_combinations) {
00080
00081
00082 _transfer_input_jets(pseudojets);
00083
00084
00085 _initialise_and_run_PA(jet_def, area_spec, writeout_combinations);
00086
00087 }
00088
00089
00090
00091 FASTJET_END_NAMESPACE
00092
00093 #endif // __FASTJET_CLUSTERSEQUENCEPASSIVEAREA_HH__