FairShip
Loading...
Searching...
No Matches
ShipTAUMagneticSpectrometer.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// SPDX-FileCopyrightText: Copyright CERN for the benefit of the SHiP
3// Collaboration
4
5#ifndef PASSIVE_SHIPTAUMAGNETICSPECTROMETER_H_
6#define PASSIVE_SHIPTAUMAGNETICSPECTROMETER_H_
7
8#include <string> // for string
9
10#include "FairModule.h" // for FairModule
11#include "Rtypes.h" // for ShipMagnet::Class, Bool_t, etc
12
13class ShipTAUMagneticSpectrometer : public FairModule {
14 public:
16 const char* name, const Double_t zLS, const Double_t FeL,
17 const Double_t AirL, const Double_t SpectroL, const Double_t GapV,
18 const Double_t DGap, const Double_t MGap, const Double_t mf,
19 const char* Title = "ShipTAUMagneticSpectrometer");
22 void ConstructGeometry() override;
23 void Initialize();
24
25 protected:
26 Double_t
27 zLastSlab; // z distance of the center of the last Fe slab of the second
28 // spectrometer in cm from the center of the vacuum tube
29 Double_t IronLenght;
30 Double_t AirLenght; // distance between the center of 2 iron slabs
32 Double_t GapFromVacuum;
33 Double_t DriftGap;
34 Double_t MiddleGap;
35 Double_t MagneticField;
36};
37
38#endif // PASSIVE_SHIPTAUMAGNETICSPECTROMETER_H_
ShipTAUMagneticSpectrometer(const char *name, const Double_t zLS, const Double_t FeL, const Double_t AirL, const Double_t SpectroL, const Double_t GapV, const Double_t DGap, const Double_t MGap, const Double_t mf, const char *Title="ShipTAUMagneticSpectrometer")
~ShipTAUMagneticSpectrometer() override