BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnKFStsHit.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- BmnKFStsHit header file -----
3// ----- Created 27/03/21 by A.Zinchenko, D.Zinchenko -----
4// ----- (from CbmKFStsHit.h) -----
5// -------------------------------------------------------------------------
6
7#ifndef BmnKFStsHit_H
8#define BmnKFStsHit_H 1
9
10#include "CbmKFHit.h"
11// #include "CbmKFPixelMeasurement.h"
12#include "CbmKFMaterial.h"
13#include "CbmKFUMeasurement.h"
14
15class CbmStsHit;
16class CbmMvdHit;
17
18class BmnKFStsHit : public CbmKFHit
19{
20
21 public:
23 : FitPoint()
24 , tube(0)
25 , fX(0.0)
26 , fY(0.0)
27 , fZ(0.0) {};
29
30 // CbmKFPixelMeasurement FitPoint;
33 Double_t fX, fY, fZ; // AZ
34 CbmKFTube st_tube; // AZ
35
36 Double_t GetX() const { return fX; }
37 Double_t GetY() const { return fY; }
38 Double_t GetZ() const { return fZ; }
39
40 void Create(CbmStsHit* h);
41 // void Create( CbmMvdHit *h );
43 {
44 printf(" !!!*** BmnKFStsHit::Create - Not implemented for CbmMvdHit \n");
45 exit(0);
46 }
47
48 Int_t Filter(CbmKFTrackInterface& track, Bool_t downstream, Double_t& QP0);
49
50 /*
51 static void FilterPDAF( CbmKFTrackInterface &track,
52 std::vector<CbmKFStsHit*> &vpHits,
53 Bool_t downstream, Double_t *QP0,
54 double gateX, double gateY, int &best_hit_idx );
55 */
56
58 {
59 tube = a.tube;
60 for (int j = 0; j < 2; ++j)
61 FitPoint[j] = a.FitPoint[j];
62 fX = a.fX;
63 fY = a.fY;
64 fZ = a.fZ;
65 return *this;
66 };
67
69 : tube(a.tube)
70 , fX(a.fX)
71 , fY(a.fY)
72 , fZ(a.fZ)
73 {
74 for (int j = 0; j < 2; ++j)
75 FitPoint[j] = a.FitPoint[j];
76 }
77
79};
80
81#endif
bool Bool_t
int Int_t
double Double_t
#define ClassDef(name, id)
Double_t GetY() const
Definition BmnKFStsHit.h:37
Int_t Filter(CbmKFTrackInterface &track, Bool_t downstream, Double_t &QP0)
CbmKFTube * tube
Definition BmnKFStsHit.h:32
Double_t fX
Definition BmnKFStsHit.h:33
const BmnKFStsHit & operator=(const BmnKFStsHit &a)
Definition BmnKFStsHit.h:57
Double_t GetX() const
Definition BmnKFStsHit.h:36
BmnKFStsHit(const BmnKFStsHit &a)
Definition BmnKFStsHit.h:68
void Create(CbmMvdHit *h)
Definition BmnKFStsHit.h:42
Double_t fZ
Definition BmnKFStsHit.h:33
CbmKFUMeasurement FitPoint[2]
Definition BmnKFStsHit.h:31
void Create(CbmStsHit *h)
Double_t GetZ() const
Definition BmnKFStsHit.h:38
Double_t fY
Definition BmnKFStsHit.h:33
Abstract base class for hit is being used by the CbmKF Kalman Filter.
Definition CbmKFHit.h:17
Class for 1-D measurement calculations for CbmKFHit hits.
CbmMvdHit.h.
Definition CbmMvdHit.h:26