PandaRoot
PndMQGapEventBuilderFTS.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
13 /*
14  * PndMQGapEventBuilderFTS.h
15  *
16  * Created on: 14.10.2015
17  * Author: Stockmanns
18  */
19 
20 #ifndef PndMQGapEventBuilderFTS_H_
21 #define PndMQGapEventBuilderFTS_H_
22 
23 #include "FairTimeStamp.h"
24 
26  public:
28  PndMQGapEventBuilderFTS(double timeGap);
29  virtual ~PndMQGapEventBuilderFTS();
30 
31  void FillData(std::vector<FairTimeStamp *> data);
32  std::vector<std::vector<FairTimeStamp *>> GetSeparatedData();
33  std::vector<std::vector<FairTimeStamp *>> GetLastData();
34 
35  private:
36  double fTimeGap;
37  std::vector<FairTimeStamp *> fData;
38  std::vector<FairTimeStamp *> fPreviousData;
39 };
40 
41 #endif /* PndMQGapEventBuilderFTS_H_ */
std::vector< std::vector< FairTimeStamp * > > GetLastData()
std::vector< std::vector< FairTimeStamp * > > GetSeparatedData()
void FillData(std::vector< FairTimeStamp *> data)
virtual ~PndMQGapEventBuilderFTS()