#include <DQAKsInfo.h>
Definition at line 20 of file DQAKsInfo.h.
◆ DQAKsInfo() [1/2]
Definition at line 3 of file DQAKsInfo.cxx.
3 : m_track0(0),m_track1(0)
4{
7}
static SecondVertexFit * instance()
static VertexFit * instance()
◆ DQAKsInfo() [2/2]
Definition at line 9 of file DQAKsInfo.cxx.
10{
13 m_track0 = track0;
14 m_track1 = track1;
15 m_vtxpar = vtxpar;
16 m_privtxpar = privtxpar;
17}
◆ ~DQAKsInfo()
DQAKsInfo::~DQAKsInfo |
( |
| ) |
|
Definition at line 18 of file DQAKsInfo.cxx.
19{
20 m_track0 = 0;
21 m_track1 = 0;
22 m_p4 = HepLorentzVector(0,0,0,0);
23 m_vmks = 0;
24}
◆ calculate()
bool DQAKsInfo::calculate |
( |
| ) |
|
Definition at line 25 of file DQAKsInfo.cxx.
26{
27 if (m_track0 == 0 || m_track1 == 0 ) return false;
32 HepLorentzVector ksp4 = pion1p4 + pion2p4;
33 m_mksp4 = ksp4.m();
34
37
43 if ( ! m_vtxFit->
Fit(0) )
return false;
48
54 if ( ! m_2ndVtxFit->
Fit() )
return false;
55 HepLorentzVector vp4Ks = m_2ndVtxFit->
p4par();
56 m_p4 = vp4Ks;
57 m_vmks = vp4Ks.m();
58 m_vchi2ks1 = m_vtxFit->
chisq(0);
59 m_vchi2ks2 = m_2ndVtxFit->
chisq();
62 return true;
63}
const HepLorentzVector p4() const
RecMdcKalTrack * mdcKalTrack()
const HepVector & getZHelix() const
const HepSymMatrix & getZError() const
HepLorentzVector p4par() const
void setPrimaryVertex(const VertexParameter vpar)
double decayLength() const
double decayLengthError() const
void setVpar(const VertexParameter vpar)
void setChisqCut(const double chicut=500, const double chiter=1.0e-2)
void AddTrack(const int number, const double mass, const RecMdcTrack *trk)
WTrackParameter wVirtualTrack(int n) const
void AddVertex(int number, VertexParameter vpar, std::vector< int > lis)
VertexParameter vpar(int n) const
void BuildVirtualParticle(int number)
void setChisqCut(const double chicut=1000, const double chiter=1.0e-3)
Referenced by DQADtag::execute().
◆ chi2()
double DQAKsInfo::chi2 |
( |
| ) |
|
|
inline |
Definition at line 57 of file DQAKsInfo.h.
58{
59 return m_vchi2ks2;
60}
◆ decayLength()
double DQAKsInfo::decayLength |
( |
| ) |
|
|
inline |
Definition at line 61 of file DQAKsInfo.h.
62{
63 return m_vlks;
64}
◆ decayLengthRatio()
double DQAKsInfo::decayLengthRatio |
( |
| ) |
|
|
inline |
Definition at line 65 of file DQAKsInfo.h.
66{
67 return m_vrks;
68}
◆ getchild()
Definition at line 38 of file DQAKsInfo.h.
39{
41 return m_track0;
43 return m_track1;
44}
◆ init()
◆ m()
Definition at line 45 of file DQAKsInfo.h.
46{
47 return m_vmks;
48}
◆ mksp4()
double DQAKsInfo::mksp4 |
( |
| ) |
|
|
inline |
Definition at line 49 of file DQAKsInfo.h.
50{
51 return m_mksp4;
52}
◆ p4()
HepLorentzVector DQAKsInfo::p4 |
( |
| ) |
|
|
inline |
◆ setchild()
void DQAKsInfo::setchild |
( |
int |
n, |
|
|
EvtRecTrack * |
track |
|
) |
| |
|
inline |
Definition at line 26 of file DQAKsInfo.h.
27{
29 m_track0 = track;
31 m_track1 = track;
32}
◆ setchilds()
◆ setPrimaryVtxPar()
◆ setVtxPar()
◆ vtxChi2()
double DQAKsInfo::vtxChi2 |
( |
| ) |
|
|
inline |
Definition at line 53 of file DQAKsInfo.h.
54{
55 return m_vchi2ks1;
56}
The documentation for this class was generated from the following files: