PandaRoot
ReadMainzProto60.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  * ReadMainzProto60 class to read data files from
15  * the proto60 tests at mami
16  *
17  * author: chammann@hiskp.uni-bonn.de
18  * date: 6.1.2010
19  *
20  * *************************************************/
21 
22 #ifndef ReadMainzProto60_h
23 #define ReadMainzProto60_h
24 #include "TObject.h"
25 
27  public:
28  virtual void GetEnergies(Double_t *energies) = 0; // energies has to be at least 60 long
29  virtual void GetTimes(Double_t *times) = 0; // times has to be at least 60 long
30  virtual void GetADCValues(Double_t *ADCs) = 0; // ADCs has to be at least 60 long
31  virtual void GetTaggerTimes(Double_t *taggertimes) = 0; // taggertimes has to be at least 16 long
32  virtual void GetTaggerEnergies(Double_t *taggerEnergies) = 0; // taggertimes has to be at least 16 long
33 
34  virtual void Reset() = 0;
35 
36  virtual void PrintEvent() = 0;
37 
38  virtual Long_t ReadNextEvent() = 0; // returns total number of events read, -1 if no event could be read (end of file)
39  virtual Long_t GetNumberOfEvents() = 0;
40 
42  virtual ~ReadMainzProto60(){};
43 
44  private:
45  ClassDef(ReadMainzProto60, 1)
46 };
47 #endif
virtual void Reset()=0
virtual void PrintEvent()=0
virtual void GetEnergies(Double_t *energies)=0
virtual Long_t GetNumberOfEvents()=0
virtual void GetTaggerEnergies(Double_t *taggerEnergies)=0
virtual ~ReadMainzProto60()
virtual void GetTaggerTimes(Double_t *taggertimes)=0
virtual void GetADCValues(Double_t *ADCs)=0
virtual Long_t ReadNextEvent()=0
virtual void GetTimes(Double_t *times)=0