CbmRoot
Loading...
Searching...
No Matches
CbmMuchPixelHit.h
Go to the documentation of this file.
1/* Copyright (C) 2009-2020 GSI/JINR-LIT, Darmstadt/Dubna
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Andrey Lebedev [committer], Mikhail Ryzhinskiy */
4
11#ifndef CBMMUCHPIXELHIT_H_
12#define CBMMUCHPIXELHIT_H_
13
14#include "CbmPixelHit.h" // for CbmPixelHit
15
16#include <Rtypes.h> // for ClassDef
17
18#include <cstdint>
19
20class TVector3;
21
23public:
28
42 CbmMuchPixelHit(int32_t address, double x, double y, double z, double dx, double dy, double dz, double dxy,
43 int32_t refId, int32_t planeId, double time, double dtime);
44
54 CbmMuchPixelHit(int32_t address, const TVector3& pos, const TVector3& err, double dxy, int32_t refId,
55 int32_t planeId);
56
67 CbmMuchPixelHit(int32_t address, const TVector3& pos, const TVector3& err, double dxy, int32_t refId, int32_t planeId,
68 double time, double dtime);
69
73 virtual ~CbmMuchPixelHit();
74
78 virtual int32_t GetPlaneId() const { return fPlaneId; }
79
81 int32_t GetFlag() const { return fFlag; }
82
83
85 void SetFlag(int32_t flag) { fFlag = flag; }
86
87private:
88 int32_t fPlaneId; // Plane number
89 int32_t fFlag; // Flag
90
92};
93
94#endif /* CBMMUCHPIXELHIT_H_ */
int32_t GetFlag() const
virtual ~CbmMuchPixelHit()
Destructor.
ClassDef(CbmMuchPixelHit, 3)
virtual int32_t GetPlaneId() const
Inherited from CbmBaseHit.
void SetFlag(int32_t flag)
CbmMuchPixelHit()
Default constructor.