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 "CgemRecEvent/RecCgemTrack.h"
13#include "CgemRecEvent/RecCgemSegment.h"
14#include "CgemRecEvent/RecCgemKalTrack.h"
15#include "CgemRecEvent/RecCgemDedx.h"
16#include "ExtEvent/RecExtTrack.h"
17#include "TofRecEvent/RecTofTrack.h"
18#include "EmcRecEventModel/RecEmcShower.h"
19#include "MucRecEvent/RecMucTrack.h"
37 int partId()
const {
return m_partId;}
41 bool isMuon()
const {
return (m_partId & 0x02); }
42 bool isPion()
const {
return (m_partId & 0x04); }
43 bool isKaon()
const {
return (m_partId & 0x08); }
44 bool isProton()
const {
return (m_partId & 0x10); }
69 SmartRefVector<RecTofTrack>
tofTrack() {
return m_originTofTrack;}
96 void setTofTrack(
const SmartRefVector<RecTofTrack> trk) {m_originTofTrack = trk;}
97 void addTofTrack(
const SmartRef<RecTofTrack> trk) {m_originTofTrack.push_back(trk);}
115 SmartRef<RecMdcTrack> m_originMdcTrack;
116 SmartRef<RecMdcKalTrack> m_originMdcKalTrack;
117 SmartRef<RecMdcDedx> m_originMdcDedx;
118 SmartRef<RecCgemTrack> m_originCgemTrack;
119 SmartRef<RecCgemSegment> m_originCgemSegment;
120 SmartRef<RecCgemKalTrack> m_originCgemKalTrack;
121 SmartRef<RecCgemDedx> m_originCgemDedx;
122 SmartRef<RecExtTrack> m_originExtTrack;
123 SmartRefVector<RecTofTrack> m_originTofTrack;
124 SmartRef<RecEmcShower> m_originEmcShower;
125 SmartRef<RecMucTrack> m_originMucTrack;
EvtRecTrackCol::iterator EvtRecTrackIterator
const CLID & CLID_EvtRecTrack
ObjectVector< EvtRecTrack > EvtRecTrackCol
const CLID & CLID_EvtRecTrack
void setCgemTrack(const RecCgemTrack *trk)
void setCgemDedx(const RecCgemDedx *trk)
void setMucTrack(const RecMucTrack *trk)
void setQuality(const int quality)
void setPartId(const int partId)
RecCgemSegment * cgemSegment()
void setMdcTrack(const RecMdcTrack *trk)
void setTofTrack(const SmartRefVector< RecTofTrack > trk)
void setCgemSegment(const RecCgemSegment *trk)
virtual const CLID & clID() const
void setTrackId(const int trkId)
RecCgemKalTrack * cgemKalTrack()
void setMdcKalTrack(const RecMdcKalTrack *trk)
void setCgemKalTrack(const RecCgemKalTrack *trk)
bool isCgemSegmentValid()
void setMdcDedx(const RecMdcDedx *trk)
bool isMdcKalTrackValid()
SmartRefVector< RecTofTrack > tofTrack()
void setEmcShower(const RecEmcShower *shower)
void addTofTrack(const SmartRef< RecTofTrack > trk)
RecEmcShower * emcShower()
RecCgemTrack * cgemTrack()
EvtRecTrack & operator=(const EvtRecTrack &)
bool isCgemKalTrackValid()
RecMdcKalTrack * mdcKalTrack()
static const CLID & classID()
void setExtTrack(const RecExtTrack *trk)