FairRoot
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
FairTutorialDet4MisalignPar.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 FAIRTUTORIALDET4MISSALLIGNPAR_H
9
#define FAIRTUTORIALDET4MISSALLIGNPAR_H
10
11
#include "
FairParGenericSet.h
"
// for FairParGenericSet
12
13
#include <Rtypes.h>
// for ClassDef
14
#include <TArrayD.h>
// for TArrayD
15
16
class
FairParamList
;
17
18
class
FairTutorialDet4MisalignPar
:
public
FairParGenericSet
19
{
20
public
:
21
FairTutorialDet4MisalignPar
(
22
const
char
* name =
"FairTutorialDet4MissallignPar"
,
23
const
char
* title =
"Missalignment parameter for FairTutorialDet4HitProducerIdealMissallign Parameters"
,
24
const
char
* context =
"TestDefaultContext"
);
25
~FairTutorialDet4MisalignPar
(
void
);
26
void
clear
(
void
);
27
void
putParams
(
FairParamList
*);
28
Bool_t
getParams
(
FairParamList
*);
29
30
TArrayD
GetShiftX
() {
return
fShiftX; }
31
TArrayD
GetShiftY
() {
return
fShiftY; }
32
TArrayD
GetShiftZ
() {
return
fShiftZ; }
33
TArrayD
GetRotX
() {
return
fRotX; }
34
TArrayD
GetRotY
() {
return
fRotY; }
35
TArrayD
GetRotZ
() {
return
fRotZ; }
36
Int_t
GetNrOfDetectors
() {
return
fNrOfDetectors; }
37
38
private
:
39
TArrayD fShiftX;
// Array to hold the misalignment in x-direction
40
TArrayD fShiftY;
// Array to hold the misalignment in y-direction
41
TArrayD fShiftZ;
// Array to hold the misalignment in z-direction
42
TArrayD fRotX;
// Array to hold the rotation in x-direction
43
TArrayD fRotY;
// Array to hold the rotation in y-direction
44
TArrayD fRotZ;
// Array to hold the rotation in z-direction
45
Int_t fNrOfDetectors;
// Total number of detectors
46
47
FairTutorialDet4MisalignPar
(
const
FairTutorialDet4MisalignPar
&);
48
FairTutorialDet4MisalignPar
& operator=(
const
FairTutorialDet4MisalignPar
&);
49
50
ClassDef(
FairTutorialDet4MisalignPar
, 1);
51
};
52
53
#endif
FairParamList
Definition:
FairParamList.h:81
FairTutorialDet4MisalignPar::putParams
void putParams(FairParamList *)
Definition:
FairTutorialDet4MisalignPar.cxx:29
FairTutorialDet4MisalignPar::clear
void clear(void)
Definition:
FairTutorialDet4MisalignPar.cxx:27
FairParGenericSet.h
FairTutorialDet4MisalignPar::GetRotX
TArrayD GetRotX()
Definition:
FairTutorialDet4MisalignPar.h:33
FairTutorialDet4MisalignPar::GetRotZ
TArrayD GetRotZ()
Definition:
FairTutorialDet4MisalignPar.h:35
FairTutorialDet4MisalignPar::GetRotY
TArrayD GetRotY()
Definition:
FairTutorialDet4MisalignPar.h:34
FairTutorialDet4MisalignPar::getParams
Bool_t getParams(FairParamList *)
Definition:
FairTutorialDet4MisalignPar.cxx:44
FairTutorialDet4MisalignPar::GetNrOfDetectors
Int_t GetNrOfDetectors()
Definition:
FairTutorialDet4MisalignPar.h:36
FairTutorialDet4MisalignPar::GetShiftX
TArrayD GetShiftX()
Definition:
FairTutorialDet4MisalignPar.h:30
FairParGenericSet
Definition:
FairParGenericSet.h:18
FairTutorialDet4MisalignPar::FairTutorialDet4MisalignPar
FairTutorialDet4MisalignPar(const char *name="FairTutorialDet4MissallignPar", const char *title="Missalignment parameter for FairTutorialDet4HitProducerIdealMissallign Parameters", const char *context="TestDefaultContext")
Definition:
FairTutorialDet4MisalignPar.cxx:14
FairTutorialDet4MisalignPar::~FairTutorialDet4MisalignPar
~FairTutorialDet4MisalignPar(void)
Definition:
FairTutorialDet4MisalignPar.cxx:25
FairTutorialDet4MisalignPar
Definition:
FairTutorialDet4MisalignPar.h:18
FairTutorialDet4MisalignPar::GetShiftY
TArrayD GetShiftY()
Definition:
FairTutorialDet4MisalignPar.h:31
FairTutorialDet4MisalignPar::GetShiftZ
TArrayD GetShiftZ()
Definition:
FairTutorialDet4MisalignPar.h:32
FairRoot
examples
simulation
Tutorial4
src
param
FairTutorialDet4MisalignPar.h
Generated on Mon Mar 8 2021 12:14:06 for FairRoot by
1.8.5