PandaRoot
PndDrcBarPoint.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
// -------------------------------------------------------------------------
14
// ----- PndDrcBarPoint header file -----
15
// ----- Created 09/04/08 by E. Fioravanti and A. Cecchi -----
16
// -------------------------------------------------------------------------
17
21
#ifndef PNDDRCBARPOINT_H
22
#define PNDDRCBARPOINT_H
23
24
#include "TObject.h"
25
#include "TVector3.h"
26
#include "FairMCPoint.h"
27
28
class
PndDrcBarPoint
:
public
FairMCPoint {
29
30
public
:
32
PndDrcBarPoint
();
33
35
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);
36
38
// PndDrcBarPoint(const PndDrcBarPoint& point) { *this = point; }; // Not needed
39
41
virtual
~PndDrcBarPoint
();
42
44
Int_t
GetPdgCode
()
const
{
return
fPdgCode
; };
45
Double_t
GetThetaC
()
const
{
return
fThetaC
; };
46
Int_t
GetBarId
()
const
{
return
fBarN
% 10; };
47
Int_t
GetBoxId
()
const
{
return
fBarN
/ 10; };
48
Double_t
GetMass
()
const
{
return
fMass
; };
49
Int_t
GetTrackStatus
()
const
{
return
fTrackStatus
; };
50
52
void
SetPdgCode
(Int_t
id
) {
fPdgCode
= id; };
53
void
SetThetaC
(Double_t theta) {
fThetaC
= theta; };
54
void
SetBarN
(Int_t bar) {
fBarN
= bar; };
55
void
SetTrackStatus
(Int_t
status
) {
fTrackStatus
=
status
; };
56
58
// virtual void Print(const Option_t* opt = 0) const = 0;
59
virtual
void
Print
(
const
Option_t *opt)
const
;
60
61
protected
:
62
Int_t
fPdgCode
;
// PDG code
63
Double_t
fThetaC
;
// Cherenkov Angle
64
Int_t
fBarN
;
// Bar id number
65
Double_t
fMass
;
// Mass
66
Int_t
fTrackStatus
;
67
68
ClassDef(
PndDrcBarPoint
, 3)
69
};
70
71
#endif
PndDrcBarPoint::fThetaC
Double_t fThetaC
Definition:
PndDrcBarPoint.h:63
PndDrcBarPoint::GetBoxId
Int_t GetBoxId() const
Definition:
PndDrcBarPoint.h:47
PndDrcBarPoint::GetTrackStatus
Int_t GetTrackStatus() const
Definition:
PndDrcBarPoint.h:49
PndDrcBarPoint::GetPdgCode
Int_t GetPdgCode() const
Definition:
PndDrcBarPoint.h:44
PndDrcBarPoint::~PndDrcBarPoint
virtual ~PndDrcBarPoint()
PndDrcBarPoint::GetBarId
Int_t GetBarId() const
Definition:
PndDrcBarPoint.h:46
PndDrcBarPoint::fTrackStatus
Int_t fTrackStatus
Definition:
PndDrcBarPoint.h:66
PndDrcBarPoint::fBarN
Int_t fBarN
Definition:
PndDrcBarPoint.h:64
PndDrcBarPoint::SetBarN
void SetBarN(Int_t bar)
Definition:
PndDrcBarPoint.h:54
PndDrcBarPoint::SetThetaC
void SetThetaC(Double_t theta)
Definition:
PndDrcBarPoint.h:53
PndDrcBarPoint::PndDrcBarPoint
PndDrcBarPoint()
PndDrcBarPoint::SetTrackStatus
void SetTrackStatus(Int_t status)
Definition:
PndDrcBarPoint.h:55
PndDrcBarPoint
Definition:
PndDrcBarPoint.h:28
PndDrcBarPoint::fPdgCode
Int_t fPdgCode
Definition:
PndDrcBarPoint.h:62
PndDrcBarPoint::SetPdgCode
void SetPdgCode(Int_t id)
Definition:
PndDrcBarPoint.h:52
PndDrcBarPoint::Print
virtual void Print(const Option_t *opt) const
PndDrcBarPoint::GetMass
Double_t GetMass() const
Definition:
PndDrcBarPoint.h:48
status
int status[10]
Definition:
f_Init.h:48
PndDrcBarPoint::GetThetaC
Double_t GetThetaC() const
Definition:
PndDrcBarPoint.h:45
PndDrcBarPoint::fMass
Double_t fMass
Definition:
PndDrcBarPoint.h:65
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
pnddata
DrcData
PndDrcBarPoint.h
Generated on Fri Nov 29 2024 06:04:40 for PandaRoot by
1.8.13