BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtRecVeeVertex Class Reference

#include <EvtRecVeeVertex.h>

Inheritance diagram for EvtRecVeeVertex:

Public Member Functions

virtual const CLID & clID () const
 EvtRecVeeVertex ()
 ~EvtRecVeeVertex ()
 EvtRecVeeVertex (const EvtRecVeeVertex &)
EvtRecVeeVertexoperator= (const EvtRecVeeVertex &)
int vertexId () const
int vertexType () const
double chi2 () const
int ndof () const
double mass () const
const HepVector & w () const
const HepSymMatrix & Ew () const
const std::pair< int, int > & pair () const
int pair (int i) const
int nCharge () const
int nTracks () const
std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & pairDaughters ()
SmartRef< EvtRecTrack > & daughter (int i)
void setVertexId (int vtxId)
void setVertexType (int vtxType)
void setChi2 (double chi2)
void setNdof (int ndof)
void setMass (double mass)
void setW (const HepVector &w)
void setEw (const HepSymMatrix &Ew)
void setPair (const std::pair< int, int > &pair)
void setNCharge (int nCharge)
void setNTracks (int nTracks)
void addDaughter (const SmartRef< EvtRecTrack > &track, int i)
void setDaughter (const std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > &p)
virtual const CLID & clID () const
 EvtRecVeeVertex ()
 ~EvtRecVeeVertex ()
 EvtRecVeeVertex (const EvtRecVeeVertex &)
EvtRecVeeVertexoperator= (const EvtRecVeeVertex &)
int vertexId () const
int vertexType () const
double chi2 () const
int ndof () const
double mass () const
const HepVector & w () const
const HepSymMatrix & Ew () const
const std::pair< int, int > & pair () const
int pair (int i) const
int nCharge () const
int nTracks () const
std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & pairDaughters ()
SmartRef< EvtRecTrack > & daughter (int i)
void setVertexId (int vtxId)
void setVertexType (int vtxType)
void setChi2 (double chi2)
void setNdof (int ndof)
void setMass (double mass)
void setW (const HepVector &w)
void setEw (const HepSymMatrix &Ew)
void setPair (const std::pair< int, int > &pair)
void setNCharge (int nCharge)
void setNTracks (int nTracks)
void addDaughter (const SmartRef< EvtRecTrack > &track, int i)
void setDaughter (const std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > &p)
virtual const CLID & clID () const
 EvtRecVeeVertex ()
 ~EvtRecVeeVertex ()
 EvtRecVeeVertex (const EvtRecVeeVertex &)
EvtRecVeeVertexoperator= (const EvtRecVeeVertex &)
int vertexId () const
int vertexType () const
double chi2 () const
int ndof () const
double mass () const
const HepVector & w () const
const HepSymMatrix & Ew () const
const std::pair< int, int > & pair () const
int pair (int i) const
int nCharge () const
int nTracks () const
std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & pairDaughters ()
SmartRef< EvtRecTrack > & daughter (int i)
void setVertexId (int vtxId)
void setVertexType (int vtxType)
void setChi2 (double chi2)
void setNdof (int ndof)
void setMass (double mass)
void setW (const HepVector &w)
void setEw (const HepSymMatrix &Ew)
void setPair (const std::pair< int, int > &pair)
void setNCharge (int nCharge)
void setNTracks (int nTracks)
void addDaughter (const SmartRef< EvtRecTrack > &track, int i)
void setDaughter (const std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > &p)

Static Public Member Functions

static const CLID & classID ()
static const CLID & classID ()
static const CLID & classID ()

Detailed Description

Constructor & Destructor Documentation

◆ EvtRecVeeVertex() [1/6]

EvtRecVeeVertex::EvtRecVeeVertex ( )

Definition at line 3 of file EvtRecVeeVertex.cxx.

4 : m_w( 7, 0 )
5 , m_Ew( 7, 0 )
6 , m_pair( -1, -1 )
7 , m_daughters( SmartRef<EvtRecTrack>( (EvtRecTrack*)0 ),
8 SmartRef<EvtRecTrack>( (EvtRecTrack*)0 ) ) {
9 m_vertexId = -1;
10 m_vertexType = -1;
11 m_chi2 = 999.9;
12 m_ndof = -3;
13 m_mass = 0.;
14 m_nCharge = -1;
15 m_nTracks = -1;
16}

Referenced by EvtRecVeeVertex(), and operator=().

◆ ~EvtRecVeeVertex() [1/3]

EvtRecVeeVertex::~EvtRecVeeVertex ( )
inline

Definition at line 30 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

30{ ; }

◆ EvtRecVeeVertex() [2/6]

EvtRecVeeVertex::EvtRecVeeVertex ( const EvtRecVeeVertex & vtx)

Definition at line 19 of file EvtRecVeeVertex.cxx.

20 : ContainedObject( vtx )
21 , m_w( vtx.m_w )
22 , m_Ew( vtx.m_Ew )
23 , m_pair( vtx.m_pair )
24 , m_daughters( vtx.m_daughters ) {
25 m_vertexId = vtx.m_vertexId;
26 m_vertexType = vtx.m_vertexType;
27 m_chi2 = vtx.m_chi2;
28 m_ndof = vtx.m_ndof;
29 m_mass = vtx.m_mass;
30 m_nCharge = vtx.m_nCharge;
31 m_nTracks = vtx.m_nTracks;
32}

◆ EvtRecVeeVertex() [3/6]

EvtRecVeeVertex::EvtRecVeeVertex ( )

◆ ~EvtRecVeeVertex() [2/3]

EvtRecVeeVertex::~EvtRecVeeVertex ( )
inline

◆ EvtRecVeeVertex() [4/6]

EvtRecVeeVertex::EvtRecVeeVertex ( const EvtRecVeeVertex & )

◆ EvtRecVeeVertex() [5/6]

EvtRecVeeVertex::EvtRecVeeVertex ( )

◆ ~EvtRecVeeVertex() [3/3]

EvtRecVeeVertex::~EvtRecVeeVertex ( )
inline

◆ EvtRecVeeVertex() [6/6]

EvtRecVeeVertex::EvtRecVeeVertex ( const EvtRecVeeVertex & )

Member Function Documentation

◆ addDaughter() [1/3]

void EvtRecVeeVertex::addDaughter ( const SmartRef< EvtRecTrack > & track,
int i )
inline

Definition at line 93 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

93 {
94 if ( i == 0 ) { m_daughters.first = track; }
95 else if ( i == 1 ) { m_daughters.second = track; }
96 else { assert( false ); }
97}

Referenced by KShortReconstruction::execute(), LambdaReconstruction::execute(), and EvtRecVeeVertexCnv::TObjectToDataObject().

◆ addDaughter() [2/3]

void EvtRecVeeVertex::addDaughter ( const SmartRef< EvtRecTrack > & track,
int i )
inline

◆ addDaughter() [3/3]

void EvtRecVeeVertex::addDaughter ( const SmartRef< EvtRecTrack > & track,
int i )
inline

◆ chi2() [1/3]

double EvtRecVeeVertex::chi2 ( ) const
inline

◆ chi2() [2/3]

double EvtRecVeeVertex::chi2 ( ) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

37{ return m_chi2; }

◆ chi2() [3/3]

double EvtRecVeeVertex::chi2 ( ) const
inline

Definition at line 37 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

37{ return m_chi2; }

◆ classID() [1/3]

const CLID & EvtRecVeeVertex::classID ( )
inlinestatic

Definition at line 27 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

27{ return CLID_EvtRecVeeVertex; }
const CLID & CLID_EvtRecVeeVertex

Referenced by clID().

◆ classID() [2/3]

const CLID & EvtRecVeeVertex::classID ( )
inlinestatic

◆ classID() [3/3]

const CLID & EvtRecVeeVertex::classID ( )
inlinestatic

◆ clID() [1/3]

virtual const CLID & EvtRecVeeVertex::clID ( ) const
inlinevirtual

◆ clID() [2/3]

virtual const CLID & EvtRecVeeVertex::clID ( ) const
inlinevirtual

◆ clID() [3/3]

virtual const CLID & EvtRecVeeVertex::clID ( ) const
inlinevirtual

◆ daughter() [1/3]

◆ daughter() [2/3]

SmartRef< EvtRecTrack > & EvtRecVeeVertex::daughter ( int i)
inline

◆ daughter() [3/3]

SmartRef< EvtRecTrack > & EvtRecVeeVertex::daughter ( int i)
inline

◆ Ew() [1/3]

const HepSymMatrix & EvtRecVeeVertex::Ew ( ) const
inline

Definition at line 41 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

41{ return m_Ew; }

Referenced by EvtRecVeeVertexCnv::DataObjectToTObject(), and setEw().

◆ Ew() [2/3]

const HepSymMatrix & EvtRecVeeVertex::Ew ( ) const
inline

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

41{ return m_Ew; }

◆ Ew() [3/3]

const HepSymMatrix & EvtRecVeeVertex::Ew ( ) const
inline

Definition at line 41 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

41{ return m_Ew; }

◆ mass() [1/3]

◆ mass() [2/3]

double EvtRecVeeVertex::mass ( ) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

39{ return m_mass; }

◆ mass() [3/3]

double EvtRecVeeVertex::mass ( ) const
inline

Definition at line 39 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

39{ return m_mass; }

◆ nCharge() [1/3]

int EvtRecVeeVertex::nCharge ( ) const
inline

Definition at line 44 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

44{ return m_nCharge; }

Referenced by EvtRecVeeVertexCnv::DataObjectToTObject(), and setNCharge().

◆ nCharge() [2/3]

int EvtRecVeeVertex::nCharge ( ) const
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

44{ return m_nCharge; }

◆ nCharge() [3/3]

int EvtRecVeeVertex::nCharge ( ) const
inline

Definition at line 44 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

44{ return m_nCharge; }

◆ ndof() [1/3]

int EvtRecVeeVertex::ndof ( ) const
inline

Definition at line 38 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

38{ return m_ndof; }

Referenced by EvtRecVeeVertexCnv::DataObjectToTObject(), and setNdof().

◆ ndof() [2/3]

int EvtRecVeeVertex::ndof ( ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

38{ return m_ndof; }

◆ ndof() [3/3]

int EvtRecVeeVertex::ndof ( ) const
inline

Definition at line 38 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

38{ return m_ndof; }

◆ nTracks() [1/3]

int EvtRecVeeVertex::nTracks ( ) const
inline

Definition at line 45 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

45{ return m_nTracks; }

Referenced by EvtRecVeeVertexCnv::DataObjectToTObject(), and setNTracks().

◆ nTracks() [2/3]

int EvtRecVeeVertex::nTracks ( ) const
inline

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

45{ return m_nTracks; }

◆ nTracks() [3/3]

int EvtRecVeeVertex::nTracks ( ) const
inline

Definition at line 45 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

45{ return m_nTracks; }

◆ operator=() [1/3]

EvtRecVeeVertex & EvtRecVeeVertex::operator= ( const EvtRecVeeVertex & vtx)

Definition at line 35 of file EvtRecVeeVertex.cxx.

35 {
36 this->ContainedObject::operator=( vtx );
37 m_w = vtx.m_w;
38 m_Ew = vtx.m_Ew;
39 m_pair = vtx.m_pair;
40 m_daughters = vtx.m_daughters;
41 m_vertexId = vtx.m_vertexId;
42 m_vertexType = vtx.m_vertexType;
43 m_chi2 = vtx.m_chi2;
44 m_ndof = vtx.m_ndof;
45 m_mass = vtx.m_mass;
46 m_nCharge = vtx.m_nCharge;
47 m_nTracks = vtx.m_nTracks;
48 return *this;
49}

◆ operator=() [2/3]

EvtRecVeeVertex & EvtRecVeeVertex::operator= ( const EvtRecVeeVertex & )

◆ operator=() [3/3]

EvtRecVeeVertex & EvtRecVeeVertex::operator= ( const EvtRecVeeVertex & )

◆ pair() [1/6]

const std::pair< int, int > & EvtRecVeeVertex::pair ( ) const
inline

Definition at line 42 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

42{ return m_pair; }

Referenced by EvtRecVeeVertexCnv::DataObjectToTObject(), and setPair().

◆ pair() [2/6]

const std::pair< int, int > & EvtRecVeeVertex::pair ( ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

42{ return m_pair; }

◆ pair() [3/6]

const std::pair< int, int > & EvtRecVeeVertex::pair ( ) const
inline

Definition at line 42 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

42{ return m_pair; }

◆ pair() [4/6]

int EvtRecVeeVertex::pair ( int i) const
inline

Definition at line 81 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

81 {
82 if ( i == 0 ) { return m_pair.first; }
83 assert( i == 1 );
84 return m_pair.second;
85}

◆ pair() [5/6]

int EvtRecVeeVertex::pair ( int i) const
inline

◆ pair() [6/6]

int EvtRecVeeVertex::pair ( int i) const
inline

◆ pairDaughters() [1/3]

std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & EvtRecVeeVertex::pairDaughters ( )
inline

◆ pairDaughters() [2/3]

std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & EvtRecVeeVertex::pairDaughters ( )
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

46 {
47 return m_daughters;
48 }

◆ pairDaughters() [3/3]

std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & EvtRecVeeVertex::pairDaughters ( )
inline

Definition at line 46 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

46 {
47 return m_daughters;
48 }

◆ setChi2() [1/3]

◆ setChi2() [2/3]

void EvtRecVeeVertex::setChi2 ( double chi2)
inline

◆ setChi2() [3/3]

void EvtRecVeeVertex::setChi2 ( double chi2)
inline

◆ setDaughter() [1/3]

void EvtRecVeeVertex::setDaughter ( const std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & p)
inline

Definition at line 62 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

62 {
63 m_daughters = p;
64 }

◆ setDaughter() [2/3]

void EvtRecVeeVertex::setDaughter ( const std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & p)
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

62 {
63 m_daughters = p;
64 }

◆ setDaughter() [3/3]

void EvtRecVeeVertex::setDaughter ( const std::pair< SmartRef< EvtRecTrack >, SmartRef< EvtRecTrack > > & p)
inline

Definition at line 62 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

62 {
63 m_daughters = p;
64 }

◆ setEw() [1/3]

void EvtRecVeeVertex::setEw ( const HepSymMatrix & Ew)
inline

◆ setEw() [2/3]

void EvtRecVeeVertex::setEw ( const HepSymMatrix & Ew)
inline

◆ setEw() [3/3]

void EvtRecVeeVertex::setEw ( const HepSymMatrix & Ew)
inline

◆ setMass() [1/3]

◆ setMass() [2/3]

void EvtRecVeeVertex::setMass ( double mass)
inline

◆ setMass() [3/3]

void EvtRecVeeVertex::setMass ( double mass)
inline

◆ setNCharge() [1/3]

◆ setNCharge() [2/3]

void EvtRecVeeVertex::setNCharge ( int nCharge)
inline

◆ setNCharge() [3/3]

void EvtRecVeeVertex::setNCharge ( int nCharge)
inline

◆ setNdof() [1/3]

◆ setNdof() [2/3]

void EvtRecVeeVertex::setNdof ( int ndof)
inline

◆ setNdof() [3/3]

void EvtRecVeeVertex::setNdof ( int ndof)
inline

◆ setNTracks() [1/3]

◆ setNTracks() [2/3]

void EvtRecVeeVertex::setNTracks ( int nTracks)
inline

◆ setNTracks() [3/3]

void EvtRecVeeVertex::setNTracks ( int nTracks)
inline

◆ setPair() [1/3]

void EvtRecVeeVertex::setPair ( const std::pair< int, int > & pair)
inline

◆ setPair() [2/3]

void EvtRecVeeVertex::setPair ( const std::pair< int, int > & pair)
inline

◆ setPair() [3/3]

void EvtRecVeeVertex::setPair ( const std::pair< int, int > & pair)
inline

◆ setVertexId() [1/3]

void EvtRecVeeVertex::setVertexId ( int vtxId)
inline

◆ setVertexId() [2/3]

void EvtRecVeeVertex::setVertexId ( int vtxId)
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

51{ m_vertexId = vtxId; }

◆ setVertexId() [3/3]

void EvtRecVeeVertex::setVertexId ( int vtxId)
inline

Definition at line 51 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

51{ m_vertexId = vtxId; }

◆ setVertexType() [1/3]

void EvtRecVeeVertex::setVertexType ( int vtxType)
inline

◆ setVertexType() [2/3]

void EvtRecVeeVertex::setVertexType ( int vtxType)
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

52{ m_vertexType = vtxType; }

◆ setVertexType() [3/3]

void EvtRecVeeVertex::setVertexType ( int vtxType)
inline

Definition at line 52 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

52{ m_vertexType = vtxType; }

◆ setW() [1/3]

void EvtRecVeeVertex::setW ( const HepVector & w)
inline

◆ setW() [2/3]

void EvtRecVeeVertex::setW ( const HepVector & w)
inline

◆ setW() [3/3]

void EvtRecVeeVertex::setW ( const HepVector & w)
inline

◆ vertexId() [1/3]

◆ vertexId() [2/3]

int EvtRecVeeVertex::vertexId ( ) const
inline

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

35{ return m_vertexId; }

◆ vertexId() [3/3]

int EvtRecVeeVertex::vertexId ( ) const
inline

Definition at line 35 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

35{ return m_vertexId; }

◆ vertexType() [1/3]

int EvtRecVeeVertex::vertexType ( ) const
inline

Definition at line 36 of file Event/EvtRecEvent/include/EvtRecEvent/EvtRecVeeVertex.h.

36{ return m_vertexType; }

Referenced by EvtRecVeeVertexCnv::DataObjectToTObject().

◆ vertexType() [2/3]

int EvtRecVeeVertex::vertexType ( ) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

36{ return m_vertexType; }

◆ vertexType() [3/3]

int EvtRecVeeVertex::vertexType ( ) const
inline

Definition at line 36 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

36{ return m_vertexType; }

◆ w() [1/3]

◆ w() [2/3]

const HepVector & EvtRecVeeVertex::w ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-dbg/include/EvtRecEvent/EvtRecVeeVertex.h.

40{ return m_w; }

◆ w() [3/3]

const HepVector & EvtRecVeeVertex::w ( ) const
inline

Definition at line 40 of file InstallArea/x86_64-el9-gcc13-opt/include/EvtRecEvent/EvtRecVeeVertex.h.

40{ return m_w; }

The documentation for this class was generated from the following files: