18 Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc );
19 MsgStream log(
msgSvc,
"MdcAliRecHit" );
20 log << MSG::DEBUG <<
"MdcAliRecHit::setRecHit()" << endmsg;
25 log << MSG::DEBUG <<
"hit Id: " << ( *it_hit )->getId() <<
" hits drift time "
26 << ( *it_hit )->getDriftT() <<
" hits doca " << ( *it_hit )->getDoca() << endmsg;
28 identifier = ( *it_hit )->getMdcId();
29 m_layid = mdcid.
layer( identifier );
30 m_cellid = mdcid.
wire( identifier );
31 m_lr = ( *it_hit )->getFlagLR();
32 m_stat = ( *it_hit )->getStat();
34 m_docaInc = ( *it_hit )->getDoca();
35 m_docaExc = m_docaInc;
39 m_dmeas = ( *it_hit )->getDriftDistLeft();
40 m_errdmeas = ( *it_hit )->getErrDriftDistLeft();
44 m_dmeas = ( *it_hit )->getDriftDistRight();
45 m_errdmeas = ( *it_hit )->getErrDriftDistRight();
48 m_rawtime = ( *it_hit )->getTdc();
49 m_tdrift = ( *it_hit )->getDriftT();
51 m_qhit = ( *it_hit )->getAdc();
52 m_zhit = ( *it_hit )->getZhit();
53 m_entra = ( *it_hit )->getEntra();
54 m_chisqadd = ( *it_hit )->getChisqAdd();
56 double flen = ( *it_hit )->getFltLen();
67 m_resiInc = fabs( m_dmeas ) - fabs( m_docaInc );
68 if ( 0 == m_lr ) m_resilrInc = -1.0 * m_resiInc;
69 else m_resilrInc = m_resiInc;
71 m_resiExc = fabs( m_dmeas ) - fabs( m_docaExc );
72 if ( 0 == m_lr ) m_resilrExc = -1.0 * m_resiExc;
73 else m_resilrExc = m_resiExc;
78 Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc );
79 MsgStream log(
msgSvc,
"MdcAliRecHit" );
80 log << MSG::DEBUG <<
"MdcAliRecHit::setKalHit()" << endmsg;
85 identifier = ( *it_hit )->getMdcId();
86 m_layid = mdcid.
layer( identifier );
87 m_cellid = mdcid.
wire( identifier );
90 m_lr = ( *it_hit )->getFlagLR();
91 if ( -1 == m_lr ) m_lr = 0;
93 m_docaInc = ( *it_hit )->getDocaIncl();
94 m_docaExc = ( *it_hit )->getDocaExcl();
102 m_dmeas = ( *it_hit )->getDD();
105 m_rawtime = ( *it_hit )->getTdc();
106 m_tdrift = ( *it_hit )->getDT();
108 m_qhit = ( *it_hit )->getAdc();
109 m_zhit = ( *it_hit )->getZhit();
110 m_entra = ( *it_hit )->getEntra();
112 m_tof = ( *it_hit )->getTof();
114 m_Dr = ( *it_hit )->getDrExcl();
115 m_Fi0 = ( *it_hit )->getFi0Excl();
116 m_Cpa = ( *it_hit )->getCpaExcl();
117 m_Dz = ( *it_hit )->getDzExcl();
118 m_Tanl = ( *it_hit )->getTanlExcl();
128 m_resiInc = fabs( m_dmeas ) - fabs( m_docaInc );
129 if ( 0 == m_lr ) m_resilrInc = -1.0 * m_resiInc;
130 else m_resilrInc = m_resiInc;
132 m_resiExc = fabs( m_dmeas ) - fabs( m_docaExc );
133 if ( 0 == m_lr ) m_resilrExc = -1.0 * m_resiExc;
134 else m_resilrExc = m_resiExc;