BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Event/RootEventData/include/RootEventData/TEvtRecVeeVertex.h
Go to the documentation of this file.
1#ifndef RootEventData_TEvtRecVeeVertex_H
2#define RootEventData_TEvtRecVeeVertex_H
3
4#include "TObject.h"
5
6class TEvtRecVeeVertex : public TObject {
7
8public:
11
12 Int_t vertexId() const { return m_vertexId; }
13 Int_t vertexType() const { return m_vertexType; }
14 Double_t chi2() const { return m_chi2; }
15 Int_t ndof() const { return m_ndof; }
16 Double_t mass() const { return m_mass; }
17 Double_t w( Int_t i ) const { return m_w[i]; }
18 Double_t Ew( Int_t i ) const { return m_Ew[i]; }
19 Int_t pair( Int_t i ) const { return m_pair[i]; }
20 Int_t nCharge() const { return m_nCharge; }
21 Int_t nTracks() const { return m_nTracks; }
22 Int_t daughter( Int_t i ) const { return m_daughter[i]; }
23
24 void setVertexId( Int_t vtxId ) { m_vertexId = vtxId; }
25 void setVertexType( Int_t vtxType ) { m_vertexType = vtxType; }
26 void setChi2( Double_t chi2 ) { m_chi2 = chi2; }
27 void setNdof( Int_t ndof ) { m_ndof = ndof; }
28 void setMass( Double_t mass ) { m_mass = mass; }
29 void setW( Double_t w[7] ) {
30 for ( Int_t i = 0; i < 7; i++ ) m_w[i] = w[i];
31 }
32 void setEw( Double_t Ew[28] ) {
33 for ( Int_t i = 0; i < 28; i++ ) m_Ew[i] = Ew[i];
34 }
35 void setPair( Int_t pair[2] ) {
36 for ( Int_t i = 0; i < 2; i++ ) m_pair[i] = pair[i];
37 }
38 void setNCharge( Int_t nCharge ) { m_nCharge = nCharge; }
39 void setNTracks( Int_t nTracks ) { m_nTracks = nTracks; }
40 void setDaughter( Int_t daughter[2] ) {
41 for ( Int_t i = 0; i < 2; i++ ) m_daughter[i] = daughter[i];
42 }
43
44private:
45 Int_t m_vertexId;
46 Int_t m_vertexType; // 0 : Ks; 1 : Lambda; 2 : gamma conversion
47 Double_t m_chi2; // chi square of vertex fitting
48 Int_t m_ndof; // degree of freedom
49 Double_t m_mass; // mass of "V" type decay particle
50 Double_t m_w[7]; // (px, py, pz, E, x, y, z) of "V" type decay particle
51 Double_t m_Ew[28]; // error matrix
52 Int_t m_pair[2]; // identification of daughter particles
53 // 1:e 2:mu 3:pion 4:kaon 5:proton
54 Int_t m_nCharge; // total charges of daughter particles
55 Int_t m_nTracks; // total tracks of daughter particles
56 Int_t m_daughter[2];
57
58 ClassDef( TEvtRecVeeVertex, 1 )
59};
60#endif
NTuple::Item< double > m_chi2