![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "Identifier/Identifier.h"
15 const std::string&
name,
36 return StatusCode::SUCCESS;
41 std::vector<float>& Ramps, MsgStream* pLog)
57 (*pLog) << MSG::WARNING <<
"Channel " << std::hex <<
m_parent->
curr_chid << std::dec
64 float ADCtoMeVFCAL[3];
66 float ADCtoMeVEMECInner[2];
67 float ADCtoMeVEMECOuter[2];
69 ADCtoMeVFCAL[0] = 87.0 *
MeV;
70 ADCtoMeVFCAL[1] = 117.0 *
MeV;
71 ADCtoMeVFCAL[2] = 193.0 *
MeV;
72 ADCtoMeVHEC[0] = 136.0 / 9.8 *
MeV;
73 ADCtoMeVHEC[1] = 136.0 / 9.8 *
MeV;
74 ADCtoMeVEMECInner[0] = 20.0 *
MeV;
75 ADCtoMeVEMECInner[1] = 20.0 *
MeV;
76 ADCtoMeVEMECOuter[0] = 16.0 *
MeV;
77 ADCtoMeVEMECOuter[1] = 16.0 *
MeV;
78 ADCtoMeVEMB[0] = 7.0 *
MeV;
79 ADCtoMeVEMB[1] = 2.5 *
MeV;
80 ADCtoMeVEMB[2] = 18.0 *
MeV;
81 ADCtoMeVEMB[3] = 9.0 *
MeV;
86 Ramps[1] *= ADCtoMeVEMB[
layer];
88 Ramps[1] *= (12./18.);
96 Ramps[1] *= ADCtoMeVHEC[0];
def retrieve(aClass, aKey=None)
CaloGain::CaloGain curr_gain
const LArEM_Base_ID * m_emId
const LArEM_ID * em_idHelper() const
access to EM idHelper
bool is_lar_fcal(Identifier id) const
LArRawChannelBuilderADC2EConstants(const std::string &type, const std::string &name, const IInterface *parent)
bool is_em_endcap_outer(const Identifier id) const
test if the id belongs to the EM Endcap outer wheel
Scalar eta() const
pseudorapidity method
const LArFCAL_Base_ID * m_fcalId
void setErrorString(unsigned int nerr, const std::string &s)
int module(const Identifier id) const
module [1,3]
int sampling(const Identifier id) const
return sampling according to :
Returns various counters from the LArRawChannel building.
void incrementErrorCount(unsigned int nerr)
int eta(const Identifier id) const
return eta according to :
const LArHEC_ID * hec_idHelper() const
access to HEC idHelper
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool is_lar_hec(Identifier id) const
Helper class for offline cell identifiers.
virtual bool ADC2E(const EventContext &ctx, std::vector< float > &Ramps, MsgStream *pLog) override
bool is_em_endcap_inner(const Identifier id) const
test if the id belongs to the EM Endcap inner wheel
virtual StatusCode initTool() override
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
const LArHEC_Base_ID * m_hecId
unsigned int returnBitPattern() const
unsigned int qualityBitPattern
const LArFCAL_ID * fcal_idHelper() const
access to FCAL idHelper