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
9class 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");
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
Int_t InitMedium(const char *name)
std::vector< std::string > fM
void SetLayerPosMat(Float_t d, std::vector< float > L, std::vector< std::string > M)
std::vector< float > fL
ClassDef(ShipTargetStation, 4) protected Double_t fAbsorberLength