PandaRoot
PndSttParAsciiFileIo.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 #ifndef PNDSTTPARASCIIFILEIO_H
14 #define PNDSTTPARASCIIFILEIO_H
15 
16 #include <fstream>
17 
18 #include "TObject.h"
19 #include "TArrayI.h"
20 #include "FairDetParAsciiFileIo.h"
21 
22 class FairParSet;
23 
24 class PndSttParAsciiFileIo : public FairDetParAsciiFileIo {
25  public:
26  PndSttParAsciiFileIo(std::fstream *);
28  Bool_t init(FairParSet *);
29  Int_t write(FairParSet *);
30  template <class T>
31  Bool_t read(T *, Int_t *, Bool_t needsClear = kFALSE);
32  template <class T>
33  Int_t writeFile2(T *);
34  ClassDef(PndSttParAsciiFileIo, 0) // Class for STT parameter I/O from Ascii files
35 };
36 
37 #endif /* !PNDSTTPARASCIIFILEIO_H */
Bool_t init(FairParSet *)
PndSttParAsciiFileIo(std::fstream *)
Int_t write(FairParSet *)
Bool_t read(T *, Int_t *, Bool_t needsClear=kFALSE)