FairShip
Loading...
Searching...
No Matches
TargetTracker.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//
6// TargetTracker.h
7//
8//
9// Created by Annarita Buonaura on 17/01/15.
10//
11//
12
13#ifndef SND_EMULSIONTARGET_TARGETTRACKER_H_
14#define SND_EMULSIONTARGET_TARGETTRACKER_H_
15
16#include "Detector.h"
17#include "TTPoint.h"
18
19class FairVolume;
20
21class TargetTracker : public SHiP::Detector<TTPoint> {
22 public:
23 TargetTracker(const char* name, Double_t TTX, Double_t TTY, Double_t TTZ,
24 Bool_t Active, const char* Title = "TargetTrackers");
26
27 void ConstructGeometry() override;
28
29 void SetSciFiParam(Double_t scifimat_width_, Double_t scifimat_hor_,
30 Double_t scifimat_vert_, Double_t scifimat_z_,
31 Double_t support_z_, Double_t honeycomb_z_);
32 void SetNumberSciFi(Int_t n_hor_planes_, Int_t n_vert_planes_);
33 void SetTargetTrackerParam(Double_t TTX, Double_t TTY, Double_t TTZ);
34 void SetBrickParam(Double_t CellW);
35 void SetTotZDimension(Double_t Zdim);
36 void DecodeTTID(Int_t detID, Int_t& NTT, int& nplane, Bool_t& ishor);
37 void SetNumberTT(Int_t n);
38 void SetDesign(Int_t Design);
39
43 Bool_t ProcessHits(FairVolume* v = 0) override;
44
45 TargetTracker(const TargetTracker&) = delete;
47
49
50 protected:
51 Double_t TTrackerX;
52 Double_t TTrackerY;
53 Double_t TTrackerZ;
54
56 Double_t scifimat_hor;
57 Double_t scifimat_vert;
58 Double_t scifimat_z;
59 Double_t support_z;
60 Double_t honeycomb_z;
63
64 Double_t CellWidth; // dimension of the cell containing brick and CES
65 Double_t ZDimension; // Dimension of the TTs+bricks total volume
66
67 Int_t fNTT; // number of TT
68
69 Int_t fDesign;
70};
71
72#endif // SND_EMULSIONTARGET_TARGETTRACKER_H_
void SetNumberTT(Int_t n)
Bool_t ProcessHits(FairVolume *v=0) override
ClassDefOverride(TargetTracker, 4)
Double_t ZDimension
Definition: TargetTracker.h:65
Double_t support_z
Definition: TargetTracker.h:59
void DecodeTTID(Int_t detID, Int_t &NTT, int &nplane, Bool_t &ishor)
TargetTracker & operator=(const TargetTracker &)=delete
Double_t TTrackerX
Definition: TargetTracker.h:51
Int_t n_hor_planes
Definition: TargetTracker.h:61
Double_t scifimat_z
Definition: TargetTracker.h:58
Double_t scifimat_width
Definition: TargetTracker.h:55
void SetTotZDimension(Double_t Zdim)
void SetNumberSciFi(Int_t n_hor_planes_, Int_t n_vert_planes_)
TargetTracker(const TargetTracker &)=delete
void SetSciFiParam(Double_t scifimat_width_, Double_t scifimat_hor_, Double_t scifimat_vert_, Double_t scifimat_z_, Double_t support_z_, Double_t honeycomb_z_)
Double_t TTrackerY
Definition: TargetTracker.h:52
Double_t scifimat_vert
Definition: TargetTracker.h:57
void ConstructGeometry() override
void SetDesign(Int_t Design)
Double_t CellWidth
Definition: TargetTracker.h:64
Double_t TTrackerZ
Definition: TargetTracker.h:53
Double_t honeycomb_z
Definition: TargetTracker.h:60
void SetBrickParam(Double_t CellW)
Int_t n_vert_planes
Definition: TargetTracker.h:62
Double_t scifimat_hor
Definition: TargetTracker.h:56
void SetTargetTrackerParam(Double_t TTX, Double_t TTY, Double_t TTZ)