CbmRoot
CbmAnaMuonCandidate.h
Go to the documentation of this file.
1 //----------------------------------------
2 //
3 // 2019 A. Senger a.senger@gsi.de
4 //
5 //----------------------------------------
6 
7 #ifndef CBMANAMUONCANDIDATE_H
8 #define CBMANAMUONCANDIDATE_H
9 
10 #include "CbmKFTrack.h"
11 #include "TLorentzVector.h"
12 #define NPLANES 31
13 
14 class CbmAnaMuonCandidate : public TObject {
15 public:
17  virtual ~CbmAnaMuonCandidate() {};
18 
19  void SetMomentum(TLorentzVector mom) { fMom = TLorentzVector(mom); }
20  void SetSign(Int_t sign) { fSign = sign; }
21 
22  void SetNStsHits(Int_t nHits) { fNStsHits = nHits; }
23  void SetNMuchHits(Int_t nHits) { fNMuchHits = nHits; }
24  void SetNTrdHits(Int_t nHits) { fNTrdHits = nHits; }
25  void SetNTofHits(Int_t nHits) { fNTofHits = nHits; }
26 
27  void SetChiToVertex(Double_t chi) { fChiToVertex = chi; }
28 
29  void SetChiMuch(Double_t chi) { fChiMuch = chi; }
30  void SetChiSts(Double_t chi) { fChiSts = chi; }
31  void SetChiTrd(Double_t chi) { fChiTrd = chi; }
32  void SetChiGlobal(Double_t chi) { fChiGlobal = chi; }
33 
34  void SetTrueMu(Int_t mu) { fMu = mu; }
35  void SetStsPdg(Int_t pdg) { fPdg = pdg; }
36 
37  void SetTofM(Double_t m) { fM = m; }
38 
39  TLorentzVector* GetMomentum() { return &fMom; }
40  Double_t GetSign() { return fSign; }
41 
42  Int_t GetNMuchHits() { return fNMuchHits; }
43  Int_t GetNStsHits() { return fNStsHits; }
44  Int_t GetNTrdHits() { return fNTrdHits; }
45  Int_t GetNTofHits() { return fNTofHits; }
46 
47  Double_t GetChiToVertex() { return fChiToVertex; }
48 
49  Double_t GetChiMuch() { return fChiMuch; }
50  Double_t GetChiSts() { return fChiSts; }
51  Double_t GetChiTrd() { return fChiTrd; }
52  Double_t GetChiGlobal() { return fChiGlobal; }
53 
54  Int_t GetTrueMu() { return fMu; }
55  Int_t GetStsPdg() { return fPdg; }
56 
57  Double_t GetTofM() { return fM; }
58 
59 private:
61 
62  TLorentzVector fMom;
63 
64  Int_t fNStsHits;
65  Int_t fNMuchHits;
66  Int_t fNTrdHits;
67  Int_t fNTofHits;
68 
69  Double_t fChiToVertex;
70 
71  Int_t fSign;
72 
73  Double_t fChiMuch;
74  Double_t fChiSts;
75  Double_t fChiTrd;
76  Double_t fChiGlobal;
77 
78  Int_t fMu;
79  Int_t fPdg;
80  Double_t fM;
81 
83 };
84 
85 #endif
CbmAnaMuonCandidate::fNTrdHits
Int_t fNTrdHits
Definition: CbmAnaMuonCandidate.h:66
CbmAnaMuonCandidate::GetChiSts
Double_t GetChiSts()
Definition: CbmAnaMuonCandidate.h:50
CbmAnaMuonCandidate
Definition: CbmAnaMuonCandidate.h:14
CbmAnaMuonCandidate::ClassDef
ClassDef(CbmAnaMuonCandidate, 2)
CbmAnaMuonCandidate::GetChiMuch
Double_t GetChiMuch()
Definition: CbmAnaMuonCandidate.h:49
CbmAnaMuonCandidate::GetNTrdHits
Int_t GetNTrdHits()
Definition: CbmAnaMuonCandidate.h:44
CbmAnaMuonCandidate::fM
Double_t fM
Definition: CbmAnaMuonCandidate.h:80
CbmAnaMuonCandidate::SetNStsHits
void SetNStsHits(Int_t nHits)
Definition: CbmAnaMuonCandidate.h:22
CbmAnaMuonCandidate::SetChiGlobal
void SetChiGlobal(Double_t chi)
Definition: CbmAnaMuonCandidate.h:32
CbmAnaMuonCandidate::GetMomentum
TLorentzVector * GetMomentum()
Definition: CbmAnaMuonCandidate.h:39
CbmAnaMuonCandidate::GetNStsHits
Int_t GetNStsHits()
Definition: CbmAnaMuonCandidate.h:43
CbmAnaMuonCandidate::GetChiToVertex
Double_t GetChiToVertex()
Definition: CbmAnaMuonCandidate.h:47
CbmAnaMuonCandidate::fChiGlobal
Double_t fChiGlobal
Definition: CbmAnaMuonCandidate.h:76
CbmAnaMuonCandidate::fChiToVertex
Double_t fChiToVertex
Definition: CbmAnaMuonCandidate.h:69
CbmAnaMuonCandidate::SetSign
void SetSign(Int_t sign)
Definition: CbmAnaMuonCandidate.h:20
CbmAnaMuonCandidate::CbmAnaMuonCandidate
CbmAnaMuonCandidate()
Definition: CbmAnaMuonCandidate.cxx:9
CbmAnaMuonCandidate::SetNTrdHits
void SetNTrdHits(Int_t nHits)
Definition: CbmAnaMuonCandidate.h:24
CbmAnaMuonCandidate::fChiMuch
Double_t fChiMuch
Definition: CbmAnaMuonCandidate.h:73
CbmAnaMuonCandidate::fNMuchHits
Int_t fNMuchHits
Definition: CbmAnaMuonCandidate.h:65
CbmAnaMuonCandidate::fNTofHits
Int_t fNTofHits
Definition: CbmAnaMuonCandidate.h:67
CbmAnaMuonCandidate::GetStsPdg
Int_t GetStsPdg()
Definition: CbmAnaMuonCandidate.h:55
CbmAnaMuonCandidate::fNStsHits
Int_t fNStsHits
Definition: CbmAnaMuonCandidate.h:64
CbmAnaMuonCandidate::GetSign
Double_t GetSign()
Definition: CbmAnaMuonCandidate.h:40
CbmAnaMuonCandidate::SetTofM
void SetTofM(Double_t m)
Definition: CbmAnaMuonCandidate.h:37
CbmAnaMuonCandidate::GetTrueMu
Int_t GetTrueMu()
Definition: CbmAnaMuonCandidate.h:54
CbmAnaMuonCandidate::fChiSts
Double_t fChiSts
Definition: CbmAnaMuonCandidate.h:74
CbmKFTrack.h
CbmAnaMuonCandidate::fSign
Int_t fSign
Definition: CbmAnaMuonCandidate.h:71
CbmAnaMuonCandidate::fPdg
Int_t fPdg
Definition: CbmAnaMuonCandidate.h:79
CbmAnaMuonCandidate::GetTofM
Double_t GetTofM()
Definition: CbmAnaMuonCandidate.h:57
CbmAnaMuonCandidate::SetNTofHits
void SetNTofHits(Int_t nHits)
Definition: CbmAnaMuonCandidate.h:25
CbmAnaMuonCandidate::SetTrueMu
void SetTrueMu(Int_t mu)
Definition: CbmAnaMuonCandidate.h:34
CbmAnaMuonCandidate::GetChiGlobal
Double_t GetChiGlobal()
Definition: CbmAnaMuonCandidate.h:52
CbmAnaMuonCandidate::GetChiTrd
Double_t GetChiTrd()
Definition: CbmAnaMuonCandidate.h:51
CbmAnaMuonCandidate::SetChiTrd
void SetChiTrd(Double_t chi)
Definition: CbmAnaMuonCandidate.h:31
m
__m128 m
Definition: L1/vectors/P4_F32vec4.h:26
CbmAnaMuonCandidate::fMom
TLorentzVector fMom
Definition: CbmAnaMuonCandidate.h:62
CbmAnaMuonCandidate::fMu
Int_t fMu
Definition: CbmAnaMuonCandidate.h:78
CbmAnaMuonCandidate::GetNTofHits
Int_t GetNTofHits()
Definition: CbmAnaMuonCandidate.h:45
CbmAnaMuonCandidate::SetChiSts
void SetChiSts(Double_t chi)
Definition: CbmAnaMuonCandidate.h:30
CbmAnaMuonCandidate::track
CbmKFTrack track
Definition: CbmAnaMuonCandidate.h:60
CbmAnaMuonCandidate::fChiTrd
Double_t fChiTrd
Definition: CbmAnaMuonCandidate.h:75
CbmKFTrack
Definition: CbmKFTrack.h:21
CbmAnaMuonCandidate::~CbmAnaMuonCandidate
virtual ~CbmAnaMuonCandidate()
Definition: CbmAnaMuonCandidate.h:17
CbmAnaMuonCandidate::SetNMuchHits
void SetNMuchHits(Int_t nHits)
Definition: CbmAnaMuonCandidate.h:23
CbmAnaMuonCandidate::SetStsPdg
void SetStsPdg(Int_t pdg)
Definition: CbmAnaMuonCandidate.h:35
CbmAnaMuonCandidate::SetMomentum
void SetMomentum(TLorentzVector mom)
Definition: CbmAnaMuonCandidate.h:19
CbmAnaMuonCandidate::SetChiToVertex
void SetChiToVertex(Double_t chi)
Definition: CbmAnaMuonCandidate.h:27
CbmAnaMuonCandidate::SetChiMuch
void SetChiMuch(Double_t chi)
Definition: CbmAnaMuonCandidate.h:29
CbmAnaMuonCandidate::GetNMuchHits
Int_t GetNMuchHits()
Definition: CbmAnaMuonCandidate.h:42