BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnNdetSurfacePoint.h
Go to the documentation of this file.
1#ifndef BMNNDETSURFACEPOINT_H
2#define BMNNDETSURFACEPOINT_H
3
4#include "FairMCPoint.h"
5
7{
8 int fPdg = 0;
9 uint8_t fArmID = 0;
10 uint8_t fPlaneID = 0;
11 uint8_t fDirectionID = 0;
12
13 public:
15
17 const TVector3& pos,
18 const TVector3& mom,
19 double time,
20 double length,
21 int pdg,
22 unsigned eventID,
23 uint8_t armID,
24 uint8_t planeID,
25 uint8_t directionID)
26 : FairMCPoint(trackID, kNDET, pos, mom, time, length, 0.0, eventID)
27 , fPdg(pdg)
28 , fArmID(armID)
29 , fPlaneID(planeID)
30 , fDirectionID(directionID)
31 {}
32
33 int GetPdg() const { return fPdg; }
34 uint8_t GetArmID() const { return fArmID; }
35 uint8_t GetPlaneID() const { return fPlaneID; }
36 uint8_t GetDirectionID() const { return fDirectionID; }
37
39};
40
41#endif // BMNNDETSURFACEPOINT_H
#define ClassDef(name, id)
@ kNDET
BmnNdetSurfacePoint(int trackID, const TVector3 &pos, const TVector3 &mom, double time, double length, int pdg, unsigned eventID, uint8_t armID, uint8_t planeID, uint8_t directionID)
uint8_t GetDirectionID() const
uint8_t GetPlaneID() const
BmnNdetSurfacePoint()=default