EvtRecVeeVertex Class Reference

#include <EvtRecVeeVertex.h>

Inheritance diagram for EvtRecVeeVertex:

ContainedObject List of all members.

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)

Static Public Member Functions

static const CLID & classID ()

Private Attributes

int m_vertexId
int m_vertexType
double m_chi2
int m_ndof
double m_mass
HepVector m_w
HepSymMatrix m_Ew
std::pair< int, int > m_pair
int m_nCharge
int m_nTracks
std::pair< SmartRef< EvtRecTrack >,
SmartRef< EvtRecTrack > > 
m_daughters

Detailed Description

Definition at line 24 of file EvtRecVeeVertex.h.


Constructor & Destructor Documentation

EvtRecVeeVertex::EvtRecVeeVertex (  ) 

Definition at line 3 of file EvtRecVeeVertex.cxx.

References m_chi2, m_mass, m_nCharge, m_ndof, m_nTracks, m_vertexId, and m_vertexType.

00003                                  :
00004     m_w(7, 0),
00005     m_Ew(7, 0),
00006     m_pair(-1, -1),
00007     m_daughters(SmartRef<EvtRecTrack>((EvtRecTrack*)0), SmartRef<EvtRecTrack>((EvtRecTrack*)0)) {
00008   m_vertexId = -1;
00009   m_vertexType = -1;
00010   m_chi2 = 999.9;
00011   m_ndof = -3;
00012   m_mass = 0.;
00013   m_nCharge = -1;
00014   m_nTracks = -1;
00015 }

EvtRecVeeVertex::~EvtRecVeeVertex (  )  [inline]

Definition at line 30 of file EvtRecVeeVertex.h.

00030 {;}

EvtRecVeeVertex::EvtRecVeeVertex ( const EvtRecVeeVertex  ) 

Definition at line 18 of file EvtRecVeeVertex.cxx.

References m_chi2, m_mass, m_nCharge, m_ndof, m_nTracks, m_vertexId, and m_vertexType.

00018                                                            :
00019     ContainedObject(vtx),
00020     m_w(vtx.m_w),
00021     m_Ew(vtx.m_Ew),
00022     m_pair(vtx.m_pair),
00023     m_daughters(vtx.m_daughters) {
00024   m_vertexId = vtx.m_vertexId;
00025   m_vertexType = vtx.m_vertexType;
00026   m_chi2 = vtx.m_chi2; 
00027   m_ndof = vtx.m_ndof; 
00028   m_mass = vtx.m_mass;
00029   m_nCharge = vtx.m_nCharge;
00030   m_nTracks = vtx.m_nTracks;
00031 }


Member Function Documentation

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

Definition at line 97 of file EvtRecVeeVertex.h.

References m_daughters.

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

00097                                                                                   {
00098   if (i == 0) {
00099     m_daughters.first = track;
00100   } else if (i == 1) {
00101     m_daughters.second = track;
00102   } else {
00103     assert(false);
00104   }
00105 }

double EvtRecVeeVertex::chi2 (  )  const [inline]

Definition at line 37 of file EvtRecVeeVertex.h.

References m_chi2.

Referenced by LocalKsSelector::operator()().

00037 {return m_chi2;}

static const CLID& EvtRecVeeVertex::classID (  )  [inline, static]

Definition at line 27 of file EvtRecVeeVertex.h.

References CLID_EvtRecVeeVertex.

Referenced by clID().

00027 {return CLID_EvtRecVeeVertex;}

virtual const CLID& EvtRecVeeVertex::clID (  )  const [inline, virtual]

Definition at line 26 of file EvtRecVeeVertex.h.

References classID().

00026 {return EvtRecVeeVertex::classID();}

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

Definition at line 89 of file EvtRecVeeVertex.h.

References m_daughters.

Referenced by CDKs::CDKs(), NeutralDReconstruction::execute(), DsReconstruction::execute(), and ChargedDReconstruction::execute().

00089                                                              {
00090   if (i == 0) {
00091     return m_daughters.first;
00092   }
00093   assert(i == 1);
00094   return m_daughters.second;
00095 }

const HepSymMatrix& EvtRecVeeVertex::Ew (  )  const [inline]

Definition at line 41 of file EvtRecVeeVertex.h.

References m_Ew.

00041 {return m_Ew;}

double EvtRecVeeVertex::mass (  )  const [inline]

Definition at line 39 of file EvtRecVeeVertex.h.

References m_mass.

Referenced by CDKs::defaultKinematicData(), NeutralDReconstruction::execute(), DsReconstruction::execute(), ChargedDReconstruction::execute(), and LocalKsSelector::operator()().

00039 {return m_mass;}

int EvtRecVeeVertex::nCharge (  )  const [inline]

Definition at line 44 of file EvtRecVeeVertex.h.

References m_nCharge.

00044 {return m_nCharge;}

int EvtRecVeeVertex::ndof (  )  const [inline]

Definition at line 38 of file EvtRecVeeVertex.h.

References m_ndof.

00038 {return m_ndof;}

int EvtRecVeeVertex::nTracks (  )  const [inline]

Definition at line 45 of file EvtRecVeeVertex.h.

References m_nTracks.

00045 {return m_nTracks;}

EvtRecVeeVertex & EvtRecVeeVertex::operator= ( const EvtRecVeeVertex  ) 

Definition at line 34 of file EvtRecVeeVertex.cxx.

References m_chi2, m_daughters, m_Ew, m_mass, m_nCharge, m_ndof, m_nTracks, m_pair, m_vertexId, m_vertexType, and m_w.

00034                                                                        {
00035   this->ContainedObject::operator=(vtx);
00036   m_w = vtx.m_w;
00037   m_Ew = vtx.m_Ew;
00038   m_pair = vtx.m_pair;
00039   m_daughters = vtx.m_daughters;
00040   m_vertexId = vtx.m_vertexId;
00041   m_vertexType = vtx.m_vertexType;
00042   m_chi2 = vtx.m_chi2;
00043   m_ndof = vtx.m_ndof;
00044   m_mass = vtx.m_mass;
00045   m_nCharge = vtx.m_nCharge;
00046   m_nTracks = vtx.m_nTracks;
00047   return *this;
00048 }

int EvtRecVeeVertex::pair ( int  i  )  const [inline]

Definition at line 81 of file EvtRecVeeVertex.h.

References m_pair.

00081                                             {
00082   if (i == 0) {
00083     return m_pair.first;
00084   } 
00085   assert(i == 1);
00086   return m_pair.second;
00087 }

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

Definition at line 42 of file EvtRecVeeVertex.h.

References m_pair.

00042 {return m_pair;}

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

Definition at line 46 of file EvtRecVeeVertex.h.

References m_daughters.

Referenced by LocalKsSelector::operator()(), and utility::SecondaryVFit().

00046                                                                           { 
00047     return m_daughters;
00048   }

void EvtRecVeeVertex::setChi2 ( double  chi2  )  [inline]

Definition at line 53 of file EvtRecVeeVertex.h.

References m_chi2.

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

00053 {m_chi2 = chi2;}

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

Definition at line 62 of file EvtRecVeeVertex.h.

References m_daughters.

00062                                                                                     {
00063     m_daughters = p;
00064   }

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

Definition at line 57 of file EvtRecVeeVertex.h.

References m_Ew.

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

00057 {m_Ew = Ew;}

void EvtRecVeeVertex::setMass ( double  mass  )  [inline]

Definition at line 55 of file EvtRecVeeVertex.h.

References m_mass.

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

00055 {m_mass = mass;}

void EvtRecVeeVertex::setNCharge ( int  nCharge  )  [inline]

Definition at line 59 of file EvtRecVeeVertex.h.

References m_nCharge.

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

00059 {m_nCharge = nCharge;}

void EvtRecVeeVertex::setNdof ( int  ndof  )  [inline]

Definition at line 54 of file EvtRecVeeVertex.h.

References m_ndof.

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

00054 {m_ndof = ndof;}

void EvtRecVeeVertex::setNTracks ( int  nTracks  )  [inline]

Definition at line 60 of file EvtRecVeeVertex.h.

References m_nTracks.

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

00060 {m_nTracks = nTracks;}

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

Definition at line 58 of file EvtRecVeeVertex.h.

References m_pair.

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

00058 {m_pair = pair;}

void EvtRecVeeVertex::setVertexId ( int  vtxId  )  [inline]

Definition at line 51 of file EvtRecVeeVertex.h.

References m_vertexId.

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

00051 {m_vertexId = vtxId;}

void EvtRecVeeVertex::setVertexType ( int  vtxType  )  [inline]

Definition at line 52 of file EvtRecVeeVertex.h.

References m_vertexType.

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

00052 {m_vertexType = vtxType;}

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

Definition at line 56 of file EvtRecVeeVertex.h.

References m_w.

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

00056 {m_w = w;} 

int EvtRecVeeVertex::vertexId (  )  const [inline]

Definition at line 35 of file EvtRecVeeVertex.h.

References m_vertexId.

Referenced by CDLambda::CDLambda(), CDLambda::isBar(), and LocalKsSelector::operator()().

00035 {return m_vertexId;}

int EvtRecVeeVertex::vertexType (  )  const [inline]

Definition at line 36 of file EvtRecVeeVertex.h.

References m_vertexType.

00036 {return m_vertexType;}

const HepVector& EvtRecVeeVertex::w (  )  const [inline]

Definition at line 40 of file EvtRecVeeVertex.h.

References m_w.

Referenced by CDLambda::defaultKinematicData(), and CDKs::defaultKinematicData().

00040 {return m_w;}


Member Data Documentation

double EvtRecVeeVertex::m_chi2 [private]

Definition at line 69 of file EvtRecVeeVertex.h.

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

std::pair<SmartRef<EvtRecTrack>, SmartRef<EvtRecTrack> > EvtRecVeeVertex::m_daughters [private]

Definition at line 78 of file EvtRecVeeVertex.h.

Referenced by addDaughter(), daughter(), operator=(), pairDaughters(), and setDaughter().

HepSymMatrix EvtRecVeeVertex::m_Ew [private]

Definition at line 73 of file EvtRecVeeVertex.h.

Referenced by Ew(), operator=(), and setEw().

double EvtRecVeeVertex::m_mass [private]

Definition at line 71 of file EvtRecVeeVertex.h.

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

int EvtRecVeeVertex::m_nCharge [private]

Definition at line 76 of file EvtRecVeeVertex.h.

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

int EvtRecVeeVertex::m_ndof [private]

Definition at line 70 of file EvtRecVeeVertex.h.

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

int EvtRecVeeVertex::m_nTracks [private]

Definition at line 77 of file EvtRecVeeVertex.h.

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

std::pair<int, int> EvtRecVeeVertex::m_pair [private]

Definition at line 74 of file EvtRecVeeVertex.h.

Referenced by operator=(), pair(), and setPair().

int EvtRecVeeVertex::m_vertexId [private]

Definition at line 67 of file EvtRecVeeVertex.h.

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

int EvtRecVeeVertex::m_vertexType [private]

Definition at line 68 of file EvtRecVeeVertex.h.

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

HepVector EvtRecVeeVertex::m_w [private]

Definition at line 72 of file EvtRecVeeVertex.h.

Referenced by operator=(), setW(), and w().


Generated on Tue Nov 29 23:19:21 2016 for BOSS_7.0.2 by  doxygen 1.4.7