FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairDetParIo.h
Go to the documentation of this file.
1
/********************************************************************************
2
* Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
#ifndef FAIRDETPARIO_H
9
#define FAIRDETPARIO_H
10
11
#include <Rtypes.h>
// for Int_t, FairDetParIo::Class, etc
12
#include <TNamed.h>
// for TNamed
13
14
class
FairParSet
;
15
16
class
FairDetParIo
:
public
TNamed
17
{
18
protected
:
19
Int_t
inputNumber
;
// input number (first or second input in runtime database)
20
21
public
:
22
FairDetParIo
();
23
virtual
~FairDetParIo
() { ; }
24
25
// sets the input number
26
void
setInputNumber
(Int_t n) {
inputNumber
= n; }
27
28
// returns the input number
29
Int_t
getInputNumber
() {
return
inputNumber
; }
30
31
// initializes parameter container
32
virtual
Bool_t
init
(
FairParSet
*) {
return
kFALSE; }
33
34
// writes parameter container to output
35
virtual
Int_t
write
(
FairParSet
*) {
return
kFALSE; }
36
37
ClassDef
(
FairDetParIo
, 0);
// Base class for detector parameter IO
38
};
39
40
#endif
/* !HDETPARIO_H */
FairDetParIo::FairDetParIo
FairDetParIo()
Definition:
FairDetParIo.cxx:17
FairDetParIo::setInputNumber
void setInputNumber(Int_t n)
Definition:
FairDetParIo.h:26
FairDetParIo::ClassDef
ClassDef(FairDetParIo, 0)
FairDetParIo::init
virtual Bool_t init(FairParSet *)
Definition:
FairDetParIo.h:32
FairParSet
Definition:
FairParSet.h:18
FairDetParIo::inputNumber
Int_t inputNumber
Definition:
FairDetParIo.h:19
FairDetParIo::~FairDetParIo
virtual ~FairDetParIo()
Definition:
FairDetParIo.h:23
FairDetParIo::getInputNumber
Int_t getInputNumber()
Definition:
FairDetParIo.h:29
FairDetParIo::write
virtual Int_t write(FairParSet *)
Definition:
FairDetParIo.h:35
FairDetParIo
Definition:
FairDetParIo.h:16
FairRoot
parbase
FairDetParIo.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5