1#ifndef Event_EvtRecTrack_H
2#define Event_EvtRecTrack_H
4#include "GaudiKernel/ObjectVector.h"
5#include "GaudiKernel/ContainedObject.h"
6#include "GaudiKernel/SmartRef.h"
7#include "GaudiKernel/SmartRefVector.h"
8#include "EventModel/EventModel.h"
9#include "MdcRecEvent/RecMdcTrack.h"
10#include "MdcRecEvent/RecMdcKalTrack.h"
11#include "MdcRecEvent/RecMdcDedx.h"
12#include "ExtEvent/RecExtTrack.h"
13#include "TofRecEvent/RecTofTrack.h"
14#include "EmcRecEventModel/RecEmcShower.h"
15#include "MucRecEvent/RecMucTrack.h"
33 int partId()
const {
return m_partId;}
37 bool isMuon()
const {
return (m_partId & 0x02); }
38 bool isPion()
const {
return (m_partId & 0x04); }
39 bool isKaon()
const {
return (m_partId & 0x08); }
40 bool isProton()
const {
return (m_partId & 0x10); }
57 SmartRefVector<RecTofTrack>
tofTrack() {
return m_originTofTrack;}
80 void setTofTrack(
const SmartRefVector<RecTofTrack> trk) {m_originTofTrack = trk;}
81 void addTofTrack(
const SmartRef<RecTofTrack> trk) {m_originTofTrack.push_back(trk);}
99 SmartRef<RecMdcTrack> m_originMdcTrack;
100 SmartRef<RecMdcKalTrack> m_originMdcKalTrack;
101 SmartRef<RecMdcDedx> m_originMdcDedx;
102 SmartRef<RecExtTrack> m_originExtTrack;
103 SmartRefVector<RecTofTrack> m_originTofTrack;
104 SmartRef<RecEmcShower> m_originEmcShower;
105 SmartRef<RecMucTrack> m_originMucTrack;
EvtRecTrackCol::iterator EvtRecTrackIterator
const CLID & CLID_EvtRecTrack
ObjectVector< EvtRecTrack > EvtRecTrackCol
void setMucTrack(const RecMucTrack *trk)
void setQuality(const int quality)
void setPartId(const int partId)
void setMdcTrack(const RecMdcTrack *trk)
void setTofTrack(const SmartRefVector< RecTofTrack > trk)
virtual const CLID & clID() const
void setTrackId(const int trkId)
EvtRecTrack(const EvtRecTrack &)
void setMdcKalTrack(const RecMdcKalTrack *trk)
void setMdcDedx(const RecMdcDedx *trk)
bool isMdcKalTrackValid()
SmartRefVector< RecTofTrack > tofTrack()
void setEmcShower(const RecEmcShower *shower)
void addTofTrack(const SmartRef< RecTofTrack > trk)
RecEmcShower * emcShower()
EvtRecTrack & operator=(const EvtRecTrack &)
RecMdcKalTrack * mdcKalTrack()
static const CLID & classID()
void setExtTrack(const RecExtTrack *trk)