CbmRoot
Loading...
Searching...
No Matches
CbmHadron.h
Go to the documentation of this file.
1
/* Copyright (C) 2008-2015 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Dmytro Kresan [committer] */
4
5
// ------------------------------------------------------------------
6
// ----- CbmHadron.h -----
7
// ----- Created 2008-01-18 by D.Kresan -----
8
// ------------------------------------------------------------------
9
10
11
#ifndef CBM_HADRON
12
#define CBM_HADRON
13
14
15
#include "TObject.h"
16
17
18
class
CbmHadron
:
public
TObject {
19
20
public
:
21
CbmHadron
();
22
CbmHadron
(Int_t charge, Double_t p, Double_t pt, Double_t pz, Int_t nMvdHits, Int_t
nStsHits
, Int_t nTrdHits,
23
Double_t b, Double_t length, Double_t mass2, Int_t pdg, Bool_t ghost, Bool_t tdh);
24
virtual
~CbmHadron
();
25
26
private
:
27
Int_t
fCharge
;
28
Double32_t
fP
;
29
Double32_t
fPt
;
30
Double32_t
fPz
;
31
Int_t
fNMvdHits
;
32
Int_t
fNStsHits
;
33
Int_t
fNTrdHits
;
34
Double32_t
fB
;
35
Double32_t
fLength
;
36
Double32_t
fMass2
;
37
Int_t
fPdg
;
38
Bool_t
fGhost
;
39
Bool_t
fTDH
;
40
41
public
:
42
inline
Int_t
GetCharge
()
const
{
return
fCharge
; }
43
inline
Double_t
GetP
()
const
{
return
fP
; }
44
inline
Double_t
GetPt
()
const
{
return
fPt
; }
45
inline
Double_t
GetPz
()
const
{
return
fPz
; }
46
inline
Int_t
GetNMvdHits
()
const
{
return
fNMvdHits
; }
47
inline
Int_t
GetNStsHits
()
const
{
return
fNStsHits
; }
48
inline
Int_t
GetNTrdHits
()
const
{
return
fNTrdHits
; }
49
inline
Double_t
GetB
()
const
{
return
fB
; }
50
inline
Double_t
GetLength
()
const
{
return
fLength
; }
51
inline
Double_t
GetMass2
()
const
{
return
fMass2
; }
52
inline
Int_t
GetPdg
()
const
{
return
fPdg
; }
53
inline
Bool_t
IsGhost
()
const
{
return
fGhost
; }
54
inline
Bool_t
IsTDH
()
const
{
return
fTDH
; }
55
56
inline
void
SetCharge
(Int_t charge) {
fCharge
= charge; }
57
inline
void
SetP
(Double_t p) {
fP
= p; }
58
inline
void
SetPt
(Double_t pt) {
fPt
= pt; }
59
inline
void
SetPz
(Double_t pz) {
fPz
= pz; }
60
inline
void
SetNMvdHits
(Int_t nMvdHits) {
fNMvdHits
= nMvdHits; }
61
inline
void
SetNStsHits
(Int_t
nStsHits
) {
fNStsHits
=
nStsHits
; }
62
inline
void
SetNTrdHits
(Int_t nTrdHits) {
fNTrdHits
= nTrdHits; }
63
inline
void
SetB
(Double_t b) {
fB
= b; }
64
inline
void
SetLength
(Double_t length) {
fLength
= length; }
65
inline
void
SetMass2
(Double_t mass2) {
fMass2
= mass2; }
66
inline
void
SetPdg
(Int_t pdg) {
fPdg
= pdg; }
67
inline
void
SetGhost
(Bool_t ghost) {
fGhost
= ghost; }
68
inline
void
SetTDH
(Bool_t tdh) {
fTDH
= tdh; }
69
70
ClassDef(
CbmHadron
, 1)
71
};
72
73
74
#endif
nStsHits
Int_t nStsHits
Definition
CbmHadronAnalysis.cxx:74
CbmHadron
Definition
CbmHadron.h:18
CbmHadron::GetB
Double_t GetB() const
Definition
CbmHadron.h:49
CbmHadron::fPz
Double32_t fPz
Definition
CbmHadron.h:30
CbmHadron::fP
Double32_t fP
Definition
CbmHadron.h:28
CbmHadron::SetPz
void SetPz(Double_t pz)
Definition
CbmHadron.h:59
CbmHadron::GetMass2
Double_t GetMass2() const
Definition
CbmHadron.h:51
CbmHadron::GetP
Double_t GetP() const
Definition
CbmHadron.h:43
CbmHadron::GetNTrdHits
Int_t GetNTrdHits() const
Definition
CbmHadron.h:48
CbmHadron::fLength
Double32_t fLength
Definition
CbmHadron.h:35
CbmHadron::IsGhost
Bool_t IsGhost() const
Definition
CbmHadron.h:53
CbmHadron::fCharge
Int_t fCharge
Definition
CbmHadron.h:27
CbmHadron::SetPdg
void SetPdg(Int_t pdg)
Definition
CbmHadron.h:66
CbmHadron::GetLength
Double_t GetLength() const
Definition
CbmHadron.h:50
CbmHadron::fB
Double32_t fB
Definition
CbmHadron.h:34
CbmHadron::GetNMvdHits
Int_t GetNMvdHits() const
Definition
CbmHadron.h:46
CbmHadron::SetNStsHits
void SetNStsHits(Int_t nStsHits)
Definition
CbmHadron.h:61
CbmHadron::~CbmHadron
virtual ~CbmHadron()
Definition
CbmHadron.cxx:57
CbmHadron::GetPz
Double_t GetPz() const
Definition
CbmHadron.h:45
CbmHadron::SetNTrdHits
void SetNTrdHits(Int_t nTrdHits)
Definition
CbmHadron.h:62
CbmHadron::CbmHadron
CbmHadron()
Definition
CbmHadron.cxx:14
CbmHadron::GetNStsHits
Int_t GetNStsHits() const
Definition
CbmHadron.h:47
CbmHadron::SetNMvdHits
void SetNMvdHits(Int_t nMvdHits)
Definition
CbmHadron.h:60
CbmHadron::GetPt
Double_t GetPt() const
Definition
CbmHadron.h:44
CbmHadron::fGhost
Bool_t fGhost
Definition
CbmHadron.h:38
CbmHadron::SetPt
void SetPt(Double_t pt)
Definition
CbmHadron.h:58
CbmHadron::GetCharge
Int_t GetCharge() const
Definition
CbmHadron.h:42
CbmHadron::SetMass2
void SetMass2(Double_t mass2)
Definition
CbmHadron.h:65
CbmHadron::SetP
void SetP(Double_t p)
Definition
CbmHadron.h:57
CbmHadron::SetB
void SetB(Double_t b)
Definition
CbmHadron.h:63
CbmHadron::SetGhost
void SetGhost(Bool_t ghost)
Definition
CbmHadron.h:67
CbmHadron::fNMvdHits
Int_t fNMvdHits
Definition
CbmHadron.h:31
CbmHadron::GetPdg
Int_t GetPdg() const
Definition
CbmHadron.h:52
CbmHadron::SetCharge
void SetCharge(Int_t charge)
Definition
CbmHadron.h:56
CbmHadron::fPdg
Int_t fPdg
Definition
CbmHadron.h:37
CbmHadron::SetLength
void SetLength(Double_t length)
Definition
CbmHadron.h:64
CbmHadron::fNStsHits
Int_t fNStsHits
Definition
CbmHadron.h:32
CbmHadron::SetTDH
void SetTDH(Bool_t tdh)
Definition
CbmHadron.h:68
CbmHadron::fMass2
Double32_t fMass2
Definition
CbmHadron.h:36
CbmHadron::fTDH
Bool_t fTDH
Definition
CbmHadron.h:39
CbmHadron::fPt
Double32_t fPt
Definition
CbmHadron.h:29
CbmHadron::fNTrdHits
Int_t fNTrdHits
Definition
CbmHadron.h:33
CbmHadron::IsTDH
Bool_t IsTDH() const
Definition
CbmHadron.h:54
analysis
PWGHAD
hadron
CbmHadron.h
Generated on Sun Dec 22 2024 23:04:08 for CbmRoot by
1.12.0