BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
DQAKsInfo.h
Go to the documentation of this file.
1#ifndef CLASS_DQAKSINFO_H
2#define CLASS_DQAKSINFO_H
3
4//#include "GaudiKernel/ObjectVector.h"
5//#include "GaudiKernel/AlgFactory.h"
6//#include "GaudiKernel/Algorithm.h"
7//#include "GaudiKernel/NTuple.h"
8//#include "GaudiKernel/IDataProviderSvc.h"
9
11//#include "EvtRecEvent/EvtRecDTag.h"
12#include "VertexFit/VertexFit.h"
14#include "CLHEP/Vector/LorentzVector.h"
15
16#include <iostream>
17using namespace std;
18const double Ksinfo_mpi = 0.139570;
19
21public:
22DQAKsInfo();
25
26void setchild(int n, EvtRecTrack* track)
27{
28 if (n==0)
29 m_track0 = track;
30 else if (n==1)
31 m_track1 = track;
32}
33void setchilds(EvtRecTrack* track0, EvtRecTrack* track1)
34{
35 m_track0 = track0;
36 m_track1 = track1;
37}
39{
40 if (n==0)
41 return m_track0;
42 else if (n==1)
43 return m_track1;
44}
45double m()
46{
47 return m_vmks;
48}
49double mksp4()
50{
51 return m_mksp4;
52}
53double vtxChi2()
54{
55 return m_vchi2ks1;
56}
57double chi2()
58{
59 return m_vchi2ks2;
60}
62{
63 return m_vlks;
64}
66{
67 return m_vrks;
68}
69HepLorentzVector p4()
70{
71 return m_p4;
72}
74{
75 m_vtxpar = vtxpar;
76}
78{
79 m_privtxpar = privtxpar;
80}
81bool init()
82{
83 m_vtxFit->init();
84 m_2ndVtxFit->init();
85 return true;
86}
87bool calculate();
88
89private:
90EvtRecTrack* m_track0;
91EvtRecTrack* m_track1;
92HepLorentzVector m_p4;
93VertexFit* m_vtxFit;
94SecondVertexFit* m_2ndVtxFit;
95VertexParameter m_vtxpar;
96VertexParameter m_privtxpar;
97double m_mksp4;
98double m_vmks;
99double m_vchi2ks1;
100double m_vchi2ks2;
101double m_vlks;
102double m_vrks;
103};
104#endif
const double Ksinfo_mpi
Definition: DQAKsInfo.h:18
bool init()
Definition: DQAKsInfo.h:81
HepLorentzVector p4()
Definition: DQAKsInfo.h:69
double vtxChi2()
Definition: DQAKsInfo.h:53
double chi2()
Definition: DQAKsInfo.h:57
void setVtxPar(VertexParameter vtxpar)
Definition: DQAKsInfo.h:73
bool calculate()
Definition: DQAKsInfo.cxx:25
void setchild(int n, EvtRecTrack *track)
Definition: DQAKsInfo.h:26
double decayLengthRatio()
Definition: DQAKsInfo.h:65
double decayLength()
Definition: DQAKsInfo.h:61
double m()
Definition: DQAKsInfo.h:45
double mksp4()
Definition: DQAKsInfo.h:49
void setPrimaryVtxPar(VertexParameter privtxpar)
Definition: DQAKsInfo.h:77
EvtRecTrack * getchild(int n)
Definition: DQAKsInfo.h:38
void setchilds(EvtRecTrack *track0, EvtRecTrack *track1)
Definition: DQAKsInfo.h:33
void init()
Definition: VertexFit.cxx:29