SND@LHC Software
Loading...
Searching...
No Matches
ShipTargetStation.h
Go to the documentation of this file.
1
#ifndef TargetStation_H
2
#define TargetStation_H
3
4
#include "FairModule.h"
// for FairModule
5
#include "Rtypes.h"
// for ShipTargetStation::Class, Bool_t, etc
6
#include <string>
// for string
7
#include <stdlib.h>
8
9
class
ShipTargetStation
:
public
FairModule
10
{
11
public
:
12
ShipTargetStation
(
const
char
* name,
const
Double_t tl,
const
Double_t al,
const
Double_t tz,
const
Double_t az,
13
const
int
nS,
const
Double_t sl,
const
char
* Title=
"ShipTargetStation"
);
14
ShipTargetStation
(
const
char
* name,
const
Double_t tl,
const
Double_t tz,
15
const
int
nS,
const
Double_t sl,
const
char
* Title=
"ShipTargetStation"
);
16
ShipTargetStation
();
17
virtual
~ShipTargetStation
();
18
void
ConstructGeometry
();
19
void
SetLayerPosMat
(Float_t d, std::vector<float> L, std::vector<std::string> M){
20
fDiameter
= d;
21
fL
= L;
22
fM
= M;
23
}
24
ClassDef(
ShipTargetStation
,4)
25
protected:
26
27
Double_t fTargetLength;
//
28
Double_t
fAbsorberLength
;
//
29
Double_t
fAbsorberZ
;
//
30
Double_t
fTargetZ
;
//
31
Double_t
fDiameter
;
//
32
std::vector<
float
>
fL
;
//
33
std::vector<std::
string
>
fM
;
//
34
Int_t
InitMedium
(const
char
* name);
35
Int_t
fnS
;
36
Double_t
fsl
;
37
};
38
#endif
//TargetStation_H
ShipTargetStation
Definition
ShipTargetStation.h:10
ShipTargetStation::InitMedium
Int_t InitMedium(const char *name)
Definition
ShipTargetStation.cxx:58
ShipTargetStation::fDiameter
Double_t fDiameter
Definition
ShipTargetStation.h:31
ShipTargetStation::ShipTargetStation
ShipTargetStation()
Definition
ShipTargetStation.cxx:28
ShipTargetStation::fM
std::vector< std::string > fM
Definition
ShipTargetStation.h:33
ShipTargetStation::~ShipTargetStation
virtual ~ShipTargetStation()
Definition
ShipTargetStation.cxx:25
ShipTargetStation::ConstructGeometry
void ConstructGeometry()
Definition
ShipTargetStation.cxx:78
ShipTargetStation::SetLayerPosMat
void SetLayerPosMat(Float_t d, std::vector< float > L, std::vector< std::string > M)
Definition
ShipTargetStation.h:19
ShipTargetStation::fnS
Int_t fnS
Definition
ShipTargetStation.h:35
ShipTargetStation::fTargetZ
Double_t fTargetZ
Definition
ShipTargetStation.h:30
ShipTargetStation::fL
std::vector< float > fL
Definition
ShipTargetStation.h:32
ShipTargetStation::fsl
Double_t fsl
Definition
ShipTargetStation.h:36
ShipTargetStation::fAbsorberLength
ClassDef(ShipTargetStation, 4) protected Double_t fAbsorberLength
Definition
ShipTargetStation.h:24
ShipTargetStation::fAbsorberZ
Double_t fAbsorberZ
Definition
ShipTargetStation.h:29
passive
ShipTargetStation.h
Generated by
1.9.8