gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
BaseCollider.hpp
Go to the documentation of this file.
1 // GAMBIT: Global and Modular BSM Inference Tool
2 // *********************************************
18 
19 #pragma once
20 
21 #include <string>
22 #include <vector>
23 
24 namespace Gambit
25 {
26  namespace ColliderBit
27  {
28 
31  {
32 
33  public:
34 
36  BaseCollider() : partonOnly(false), antiktR(0.4) {}
38  virtual ~BaseCollider() {}
40  virtual void clear() {}
41 
45  virtual double xsec_fb() const = 0;
46  virtual double xsec_fb(int) const = 0;
47  virtual double xsec_pb() const = 0;
48  virtual double xsec_pb(int) const = 0;
50  virtual double xsecErr_fb() const = 0;
51  virtual double xsecErr_fb(int) const = 0;
52  virtual double xsecErr_pb() const = 0;
53  virtual double xsecErr_pb(int) const = 0;
55  virtual int process_code() const = 0;
57  virtual std::vector<int> all_active_process_codes() const = 0;
59 
63  virtual void init(const std::vector<std::string>&) {}
65  virtual void init() {}
67 
69  bool partonOnly;
71  double antiktR;
72 
73  };
74 
75  }
76 }
virtual int process_code() const =0
Report an integer process code for the last generated event.
virtual std::vector< int > all_active_process_codes() const =0
Report the list of all active process codes.
virtual void clear()
Reset this instance for reuse, avoiding the need for "new" or "delete".
bool partonOnly
Flag indicating if events from this collider should be processed as parton-only or full events...
double antiktR
The jet radius used for the anti-kt jet clustering.
virtual void init(const std::vector< std::string > &)
virtual double xsecErr_pb() const =0
virtual ~BaseCollider()
Destructor.
virtual double xsecErr_fb() const =0
Report the uncertainty in the total or process-specific cross section (in fb or pb).
virtual void init()
General init for any collider of this type - no settings version.
virtual double xsec_pb() const =0
An abstract base class for collider simulators within ColliderBit.
TODO: see if we can use this one:
Definition: Analysis.hpp:33
virtual double xsec_fb() const =0