ComPWA
Common Partial-Wave-Analysis Framework
Kinematics.hpp
Go to the documentation of this file.
1 // Copyright (c) 2015, 2017 The ComPWA Team.
2 // This file is part of the ComPWA framework, check
3 // https://github.com/ComPWA/ComPWA/license.txt for details.
4 
5 #ifndef COMPWA_KINEMATICS_HPP_
6 #define COMPWA_KINEMATICS_HPP_
7 
8 #include "Core/Event.hpp"
9 #include <string>
10 #include <vector>
11 
12 namespace ComPWA {
13 
14 namespace Data {
15 struct DataSet;
16 }
17 
19 class Kinematics {
20 public:
21  virtual ~Kinematics() = default;
22 
23  virtual ComPWA::Data::DataSet
24  convert(const EventCollection &Events) const = 0;
25 
27  virtual EventCollection
28  reduceToPhaseSpace(const EventCollection &Events) const = 0;
29 
30  virtual double phspVolume() const = 0;
31 
35  virtual const std::vector<pid> &getFinalStatePIDs() const = 0;
36 };
37 
38 } // namespace ComPWA
39 #endif
The Kinematics interface defines the conversion of Events to a DataSet.
Definition: Kinematics.hpp:19