11#ifndef CbmTofInteraction_h
12#define CbmTofInteraction_h 1
28 template<
typename... Args>
44 void Clear(Option_t*);
void AddPoint(const CbmTofPoint *pPoint)
Adds a point to the interaction New point updates the following properties of the interaction: positi...
void SetFromPoint(const CbmTofPoint *pPoint)
Sets parameters from a particular TOF MC-point.
CbmTofInteraction(Args... args)
int fNofPoints
Number of CbmTofPoint objects, from which the interaction is constructed.
int GetNofPoints() const
Gets number of stored points.
const std::vector< const CbmTofPoint * > & GetPoints() const
Gets pointers to points (TMP!!!!)
std::vector< const CbmTofPoint * > fvpPoints
Vector of point pointer (TMP!!!!)
void Clear(Option_t *)
Clears the instance.
std::string ToString() const
Saves content of the class to string.
void UpdateAverage(const T &update, T &property)
Updates average of the property from original TOF MC-point.
~CbmTofInteraction()=default
Destructor.
CbmTofInteraction()
Default constructor.
Geometric intersection of a MC track with a TOFb detector.