3#include "GaudiKernel/MsgStream.h"
4#include "GaudiKernel/IMessageSvc.h"
5#include "GaudiKernel/StatusCode.h"
6#include "GaudiKernel/ISvcLocator.h"
7#include "GaudiKernel/Bootstrap.h"
8#include "GaudiKernel/SmartDataPtr.h"
9#include "GaudiKernel/IDataProviderSvc.h"
11const double CgemAliRecTrk::m_df = 10.0;
15 for(i=0; i<m_rechit.size(); i++){
23 Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc);
24 MsgStream log(
msgSvc,
"CgemAliRecTrk");
25 log << MSG::DEBUG <<
"CgemAliRecTrk::setRecTrk()" << endreq;
27 m_stat = (*it_trk) -> stat();
28 m_dr = (*it_trk) -> helix(0);
29 m_phi0 = (*it_trk) -> helix(1);
30 m_kappa = (*it_trk) -> helix(2);
31 m_dz = (*it_trk) -> helix(3);
32 m_tanl = (*it_trk) -> helix(4);
34 m_helix = (*it_trk)->helix();
35 m_helixerr = (*it_trk)->err();
37 m_chisq = (*it_trk) -> chi2();
38 m_nhits = (*it_trk) -> getNhits();
46 m_p = m_pt * sqrt(m_tanl * m_tanl + 1.0);
50 ClusterRefVec::iterator it_hit = gothits.begin();
52 for(; it_hit != gothits.end(); it_hit++){
55 m_rechit.push_back(rechit);
61 Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc);
62 MsgStream log(
msgSvc,
"CgemAliRecTrk");
63 log << MSG::DEBUG <<
"CgemAliRecTrk::setKalTrk()" << endreq;
71 m_dr = (*it_trk)->dr();
72 m_phi0 = (*it_trk)->fi0();
73 m_kappa = (*it_trk)->kappa();
74 m_dz = (*it_trk)->dz();
75 m_tanl = (*it_trk)->tanl();
76 m_chisq = (*it_trk)->chi2();
81 m_pt = 1.0 / fabs(m_kappa);
82 m_p = m_pt * sqrt( m_tanl * m_tanl + 1.0 );
85 HelixSegRefVec::iterator it_hit = gothelixsegs.begin();
SmartRefVector< RecMdcKalHelixSeg > HelixSegRefVec
SmartRefVector< RecCgemCluster > ClusterRefVec
void setRecHit(ClusterRefVec::iterator it_hit)
void setRecTrk(RecMdcTrackCol::iterator it_trk)
void setKalTrk(RecMdcKalTrackCol::iterator it_trk)
const int getNcluster() const
static void setPidType(PidType pidType)