PandaRoot
PndDrcBarPoint.h
Go to the documentation of this file.
1
// -------------------------------------------------------------------------
2
// ----- PndDrcBarPoint header file -----
3
// ----- Created 09/04/08 by E. Fioravanti and A. Cecchi -----
4
// -------------------------------------------------------------------------
5
9
#ifndef PNDDRCBARPOINT_H
10
#define PNDDRCBARPOINT_H
11
12
#include "TObject.h"
13
#include "TVector3.h"
14
#include "FairMCPoint.h"
15
16
class
PndDrcBarPoint
:
public
FairMCPoint {
17
18
public
:
20
PndDrcBarPoint
();
21
23
PndDrcBarPoint
(Int_t trackID, Int_t detID, TVector3 pos, TVector3 mom, Double_t tof, Double_t length, Int_t pdgCode, Double_t thetaC, Int_t nBar, Int_t eventID, Double_t mass);
24
26
// PndDrcBarPoint(const PndDrcBarPoint& point) { *this = point; }; // Not needed
27
29
virtual
~PndDrcBarPoint
();
30
32
Int_t
GetPdgCode
()
const
{
return
fPdgCode
; };
33
Double_t
GetThetaC
()
const
{
return
fThetaC
; };
34
Int_t
GetBarId
()
const
{
return
fBarN
% 10; };
35
Int_t
GetBoxId
()
const
{
return
fBarN
/ 10; };
36
Double_t
GetMass
()
const
{
return
fMass
; };
37
Int_t
GetTrackStatus
()
const
{
return
fTrackStatus
; };
38
40
void
SetPdgCode
(Int_t
id
) {
fPdgCode
= id; };
41
void
SetThetaC
(Double_t theta) {
fThetaC
= theta; };
42
void
SetBarN
(Int_t bar) {
fBarN
= bar; };
43
void
SetTrackStatus
(Int_t
status
) {
fTrackStatus
=
status
; };
44
46
// virtual void Print(const Option_t* opt = 0) const = 0;
47
virtual
void
Print
(
const
Option_t *opt)
const
;
48
49
protected
:
50
Int_t
fPdgCode
;
// PDG code
51
Double_t
fThetaC
;
// Cherenkov Angle
52
Int_t
fBarN
;
// Bar id number
53
Double_t
fMass
;
// Mass
54
Int_t
fTrackStatus
;
55
56
ClassDef(
PndDrcBarPoint
, 3)
57
};
58
59
#endif
PndDrcBarPoint::fThetaC
Double_t fThetaC
Definition:
PndDrcBarPoint.h:51
PndDrcBarPoint::GetBoxId
Int_t GetBoxId() const
Definition:
PndDrcBarPoint.h:35
PndDrcBarPoint::GetTrackStatus
Int_t GetTrackStatus() const
Definition:
PndDrcBarPoint.h:37
PndDrcBarPoint::GetPdgCode
Int_t GetPdgCode() const
Definition:
PndDrcBarPoint.h:32
PndDrcBarPoint::~PndDrcBarPoint
virtual ~PndDrcBarPoint()
PndDrcBarPoint::GetBarId
Int_t GetBarId() const
Definition:
PndDrcBarPoint.h:34
PndDrcBarPoint::fTrackStatus
Int_t fTrackStatus
Definition:
PndDrcBarPoint.h:54
PndDrcBarPoint::fBarN
Int_t fBarN
Definition:
PndDrcBarPoint.h:52
PndDrcBarPoint::SetBarN
void SetBarN(Int_t bar)
Definition:
PndDrcBarPoint.h:42
PndDrcBarPoint::SetThetaC
void SetThetaC(Double_t theta)
Definition:
PndDrcBarPoint.h:41
PndDrcBarPoint::PndDrcBarPoint
PndDrcBarPoint()
PndDrcBarPoint::SetTrackStatus
void SetTrackStatus(Int_t status)
Definition:
PndDrcBarPoint.h:43
PndDrcBarPoint
Definition:
PndDrcBarPoint.h:16
PndDrcBarPoint::fPdgCode
Int_t fPdgCode
Definition:
PndDrcBarPoint.h:50
PndDrcBarPoint::SetPdgCode
void SetPdgCode(Int_t id)
Definition:
PndDrcBarPoint.h:40
PndDrcBarPoint::Print
virtual void Print(const Option_t *opt) const
PndDrcBarPoint::GetMass
Double_t GetMass() const
Definition:
PndDrcBarPoint.h:36
status
int status[10]
Definition:
f_Init.h:24
PndDrcBarPoint::GetThetaC
Double_t GetThetaC() const
Definition:
PndDrcBarPoint.h:33
PndDrcBarPoint::fMass
Double_t fMass
Definition:
PndDrcBarPoint.h:53
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcBarPoint.h
Generated on Fri Oct 21 2022 07:03:57 for PandaRoot by
1.8.13