30{
31 RecEmcDigitMap::const_iterator ciDigitMap;
33
35
36 StatusCode sc;
37
39 sc= Gaudi::svcLocator()->service("EmcCalibConstSvc", emcCalibConstSvc);
40 if(sc != StatusCode::SUCCESS) {
41
42 }
43
44
46
47 std::string rawDataProviderSvc_name("RawDataProviderSvc");
48 if(isGaudiThreaded(m_algName)) {
49 rawDataProviderSvc_name += getGaudiThreadIDfromName(m_algName);
50 }
51
52 sc = Gaudi::svcLocator()->service(rawDataProviderSvc_name.c_str(), rawDataProviderSvc);
53 if(sc != StatusCode::SUCCESS) {
54
55 }
56
57 for(ciDigitMap=aDigitMap.begin();
58 ciDigitMap!=aDigitMap.end();
59 ++ciDigitMap) {
60
62
64
65 double ein,ecorr,eout;
67
68
70
74
75 int index = emcCalibConstSvc->
getIndex(partId,theta,phi);
77
78 }
79
80
83 } else {
85 }
86 eout=ein;
88
90
91
93
94
96 }
97 }
98
99}
static unsigned int barrel_ec(const Identifier &id)
Values of different levels (failure returns 0)
static unsigned int theta_module(const Identifier &id)
static unsigned int phi_module(const Identifier &id)
static EmcRecParameter & GetInstance()
double ElectronicsNoiseLevel() const
double ElecBias(int n) const
virtual double getDigiCalibConst(int No) const =0
virtual int getIndex(unsigned int PartId, unsigned int ThetaIndex, unsigned int PhiIndex) const =0
virtual bool isOnlineMode()=0
RecEmcEnergy getEnergy() const
RecEmcEnergy Energy(const RecEmcEnergy &Energy)
RecEmcID CellId(const RecEmcID &CellId)
RecEmcID getCellId() const
RecEmcTime Time(const RecEmcTime &Time)