EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FairDetParAsciiFileIo.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file FairDetParAsciiFileIo.h
1
#ifndef FAIRDETPARASCIIFILEIO_H
2
#define FAIRDETPARASCIIFILEIO_H
3
4
#include <fstream>
5
#include "
FairDetParIo.h
"
6
#include "TArrayI.h"
7
//#include "hgeomtransform.h"
8
#include "
FairParGenericSet.h
"
9
class
FairDetGeomPar;
10
class
FairGeomShapes;
11
12
class
FairDetParAsciiFileIo
:
public
FairDetParIo
13
{
14
protected
:
15
TString
fHeader
;
16
TString
sepLine
;
17
std::fstream*
pFile
;
18
// virtual Bool_t write(HDetector*) {return kTRUE;}
19
Bool_t
findContainer
(
const
Text_t*
name
);
20
Bool_t
checkAllFound
(Int_t*,Int_t);
21
void
writeHeader
(
const
Text_t*,
const
Text_t* context=
""
,
22
const
Text_t*
author
=
""
,
const
Text_t* description=
""
);
23
void
writeComment
(
FairParSet
*);
24
void
readComment
(
const
Char_t*,
FairParSet
*);
25
// Bool_t readLabPositions(const Text_t*,HDetGeomPar*,Int_t*,Int_t,Int_t);
26
// Bool_t readVolumes(const Text_t*,HDetGeomPar*);
27
// void readTransform(HGeomTransform&);
28
// Bool_t readVolume(HGeomVolume*,HGeomShapes*,Text_t*);
29
// void writeTransform(const HGeomTransform&);
30
// void writeVolume(HGeomVolume*,HGeomShapes*);
31
32
public
:
33
FairDetParAsciiFileIo
(std::fstream* f);
34
virtual
~FairDetParAsciiFileIo
() {}
35
// Bool_t read(HDetGeomPar*,Int_t*);
36
// Int_t writeFile(HDetGeomPar*);
37
38
private
:
39
40
FairDetParAsciiFileIo
&
operator=
(
const
FairDetParAsciiFileIo
&);
41
FairDetParAsciiFileIo
(
const
FairDetParAsciiFileIo
&);
42
43
ClassDef(
FairDetParAsciiFileIo
,0)
// Class for detector parameter I/O from ascii file
44
};
45
46
#endif
/* !FAIRDETPARASCIIFILEIO_H */
EicRoot
blob
master
parbase
FairDetParAsciiFileIo.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:36
using
1.8.2 with
EIC GitHub integration