18 Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc );
19 MsgStream log(
msgSvc,
"MdcCalRecHit" );
20 log << MSG::DEBUG <<
"MdcCalRecHit::setRecHit()" << endmsg;
30 identifier = ( *it_hit )->getMdcId();
31 m_layid = mdcid.
layer( identifier );
32 m_cellid = mdcid.
wire( identifier );
33 m_lr = ( *it_hit )->getFlagLR();
34 m_stat = ( *it_hit )->getStat();
36 m_docaInc = ( *it_hit )->getDoca();
37 m_docaExc = m_docaInc;
41 m_dmeas = ( *it_hit )->getDriftDistLeft();
42 m_errdmeas = ( *it_hit )->getErrDriftDistLeft();
46 m_dmeas = ( *it_hit )->getDriftDistRight();
47 m_errdmeas = ( *it_hit )->getErrDriftDistRight();
50 m_tdc = ( *it_hit )->getTdc();
51 m_tdrift = ( *it_hit )->getDriftT();
53 m_qhit = ( *it_hit )->getAdc();
54 m_zhit = ( *it_hit )->getZhit();
55 m_entra = ( *it_hit )->getEntra();
56 m_chisqadd = ( *it_hit )->getChisqAdd();
58 double flen = ( *it_hit )->getFltLen();
69 m_resiInc = fabs( m_dmeas ) - fabs( m_docaInc );
70 if ( 0 == m_lr ) m_resilrInc = -1.0 * m_resiInc;
71 else m_resilrInc = m_resiInc;
73 m_resiExc = fabs( m_dmeas ) - fabs( m_docaExc );
74 if ( 0 == m_lr ) m_resilrExc = -1.0 * m_resiExc;
75 else m_resilrExc = m_resiExc;
80 Gaudi::svcLocator()->service(
"MessageSvc",
msgSvc );
81 MsgStream log(
msgSvc,
"MdcCalRecHit" );
82 log << MSG::DEBUG <<
"MdcCalRecHit::setKalHit()" << endmsg;
87 identifier = ( *it_hit )->getMdcId();
88 m_layid = mdcid.
layer( identifier );
89 m_cellid = mdcid.
wire( identifier );
92 m_lr = ( *it_hit )->getFlagLR();
93 if ( -1 == m_lr ) m_lr = 0;
95 m_docaInc = ( *it_hit )->getDocaIncl();
96 m_docaExc = ( *it_hit )->getDocaExcl();
103 m_dmeas = ( *it_hit )->getDD();
106 m_tdc = ( *it_hit )->getTdc();
107 m_tdrift = ( *it_hit )->getDT();
109 m_qhit = ( *it_hit )->getAdc();
110 m_zhit = ( *it_hit )->getZhit();
111 m_entra = ( *it_hit )->getEntra();
113 m_tof = ( *it_hit )->getTof();
115 m_Dr = ( *it_hit )->getDrExcl();
116 m_Fi0 = ( *it_hit )->getFi0Excl();
117 m_Cpa = ( *it_hit )->getCpaExcl();
118 m_Dz = ( *it_hit )->getDzExcl();
119 m_Tanl = ( *it_hit )->getTanlExcl();
120 m_helix = ( *it_hit )->getHelixExcl();
121 m_helixerr = ( *it_hit )->getErrorExcl();
131 m_resiInc = fabs( m_dmeas ) - fabs( m_docaInc );
132 if ( 0 == m_lr ) m_resilrInc = -1.0 * m_resiInc;
133 else m_resilrInc = m_resiInc;
135 m_resiExc = fabs( m_dmeas ) - fabs( m_docaExc );
136 if ( 0 == m_lr ) m_resilrExc = -1.0 * m_resiExc;
137 else m_resilrExc = m_resiExc;