File indexing completed on 2025-04-19 09:10:08
0001 #ifndef PDF_Main_Jet_Criterion_H
0002 #define PDF_Main_Jet_Criterion_H
0003
0004 #include "ATOOLS/Phys/Cluster_Amplitude.H"
0005 #include "ATOOLS/Org/Getter_Function.H"
0006
0007 namespace PDF {
0008
0009 class Shower_Base;
0010
0011 struct JetCriterion_Key {
0012 std::string m_key;
0013 Shower_Base *p_shower;
0014 JetCriterion_Key(const std::string &key,
0015 Shower_Base *const shower):
0016 m_key(key), p_shower(shower) {}
0017 };
0018
0019 class Jet_Criterion {
0020 public:
0021
0022 inline Jet_Criterion() {}
0023
0024 virtual ~Jet_Criterion();
0025
0026 virtual double Value(ATOOLS::Cluster_Amplitude *ampl,int mode=0) = 0;
0027
0028 };
0029
0030 typedef ATOOLS::Getter_Function
0031 <Jet_Criterion,JetCriterion_Key> JetCriterion_Getter;
0032
0033 }
0034
0035 #endif