PandaRoot
PndMvdPastaTorino.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  * PndMvdPastaTorino.h
15  *
16  * Created on: 23.09.2017
17  * Author: Stockmanns
18  */
19 
20 #ifndef MVD_MVDTESTBEAM_PASTATB_PNDMVDPASTATORINO_H_
21 #define MVD_MVDTESTBEAM_PASTATB_PNDMVDPASTATORINO_H_
22 
23 #include "PndMvdPastaDigi.h"
24 #include "TObject.h"
25 
26 class PndMvdPastaTorino : public TObject {
27  public:
29  virtual ~PndMvdPastaTorino();
30 
31  std::vector<PndMvdPastaDigi> ReadTorinoDaqFrame(std::ifstream &infile);
32 
33  protected:
34  FrameHeader AnalyzeHeader(std::string &line);
35  PndMvdPastaDigi AnalyzeData(std::string &line);
36 
37  private:
38  FrameHeader fCurrentHeader;
39 
40  ClassDef(PndMvdPastaTorino, 1);
41 };
42 
43 #endif /* MVD_MVDTESTBEAM_PASTATB_PNDMVDPASTATORINO_H_ */
virtual ~PndMvdPastaTorino()
PndMvdPastaDigi AnalyzeData(std::string &line)
FrameHeader AnalyzeHeader(std::string &line)
std::vector< PndMvdPastaDigi > ReadTorinoDaqFrame(std::ifstream &infile)