|
1 | 1 | /****************************************************************************** |
2 | 2 | * Copyright (C) 2025 GSI Helmholtzzentrum für Schwerionenforschung GmbH * |
3 | | - * Copyright (C) 2025 Members of R3B Collaboration * |
| 3 | + * Copyright (C) 2019-2026 Members of R3B Collaboration * |
4 | 4 | * * |
5 | 5 | * This software is distributed under the terms of the * |
6 | 6 | * GNU General Public Licence (GPL) version 3, * |
|
13 | 13 |
|
14 | 14 | // Created on 16/09/2025 by V.Panin |
15 | 15 |
|
16 | | -#ifndef R3BTRACKINGG249 |
17 | | -#define R3BTRACKINGG249 |
| 16 | +#pragma once |
18 | 17 |
|
19 | 18 | #include "FairTask.h" |
20 | 19 | #include "R3BEventHeader.h" |
@@ -74,6 +73,9 @@ class R3BTrackingG249 : public FairTask |
74 | 73 | void SetAnglesFib33(double x, double y, double z) { f33_angles.SetXYZ(x, y, z); } // rad |
75 | 74 | void SetAnglesTofd(double x, double y, double z) { tofd_angles.SetXYZ(x, y, z); } // rad |
76 | 75 |
|
| 76 | + // Setter for the VFTX number |
| 77 | + void SetVFTXNumber(int nb) { vftxNumber = nb; }; |
| 78 | + |
77 | 79 | // Get lab positions and angles (needed by alignment function) |
78 | 80 | inline TVector3 GetPositionLOS() { return los_position; } // cm |
79 | 81 | inline TVector3 GetPositionF30() { return f30_position; } // cm |
@@ -187,6 +189,8 @@ class R3BTrackingG249 : public FairTask |
187 | 189 | std::unique_ptr<ROOT::Math::Minimizer> minimizer; |
188 | 190 |
|
189 | 191 | private: |
| 192 | + int vftxNumber = 2; |
| 193 | + |
190 | 194 | //-- Input hit data from the TClonesArray |
191 | 195 | // do not change the order, add new det in the end |
192 | 196 | enum DetectorInstances |
@@ -292,7 +296,5 @@ class R3BTrackingG249 : public FairTask |
292 | 296 | TH2F* h2_lab_XZ; |
293 | 297 |
|
294 | 298 | public: |
295 | | - ClassDefOverride(R3BTrackingG249, 1) |
| 299 | + ClassDefOverride(R3BTrackingG249, 2) |
296 | 300 | }; |
297 | | - |
298 | | -#endif |
|
0 commit comments