CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
CgemAliRecHit.cxx
Go to the documentation of this file.
2
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"
10
11#include <iostream>
12
13const double CgemAliRecHit::m_df = 10.0;
14const double CgemAliRecHit::m_qf = 1.0;
15
16void CgemAliRecHit::setRecHit(ClusterRefVec::iterator it_hit){
17 IMessageSvc *msgSvc;
18 Gaudi::svcLocator()->service("MessageSvc", msgSvc);
19 MsgStream log(msgSvc, "CgemAliRecHit");
20 log << MSG::DEBUG << "CgemAliRecHit::setRecHit()" << endreq;
21
22 log << MSG::DEBUG << "cluster Id: " << (*it_hit)->getclusterid()
23 << endreq;
24
25 m_clusterid = (*it_hit)->getclusterid();
26 m_trkid = (*it_hit)->getTrkId();
27 m_layerid = (*it_hit)->getlayerid();
28 m_sheetid = (*it_hit)->getsheetid();
29 m_flag = (*it_hit)->getflag();
30 m_energydeposit = (*it_hit)->getenergydeposit();
31 m_recphi = (*it_hit)->getrecphi();
32 m_recv = (*it_hit)->getrecv();
33 m_recZ = (*it_hit)->getRecZ();
34
35}
36
37
IMessageSvc * msgSvc()
void setRecHit(ClusterRefVec::iterator it_hit)