/** * @file * @author Christian Simon * @since 2018-05-08 */ #ifndef CBMTOFPOINTCLUSTER_H #define CBMTOFPOINTCLUSTER_H 1 #include "Rtypes.h" #include /** * @brief ... * @author Christian Simon * @since 2018-05-08 * @version 1.0 * @details ... */ class CbmTofPointCluster { public: CbmTofPointCluster(); virtual ~CbmTofPointCluster() {} Bool_t IsCharged() const {return fbCharged;} Bool_t IsDirect() const {return fbDirect;} Int_t GetNPoints() const {return fiNPoints;} const std::tuple& GetReferencePoint() const; void AddPoint(Int_t iFile, Int_t iEvent, Int_t iIndex, Double_t dTime, Bool_t bDirect = kFALSE); void SetCharged(Bool_t bCharged = kTRUE) {fbCharged = bCharged;} protected: private: Bool_t fbCharged; Bool_t fbDirect; Int_t fiNPoints; Double_t fdEarliestPointTime; std::tuple fEarliestPoint; std::tuple fDirectPoint; ClassDef(CbmTofPointCluster, 0) }; #endif