|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #include "GaudiKernel/MsgStream.h"
15 m_onlineHelper(nullptr)
29 return StatusCode::SUCCESS;
35 static bool first =
true;
40 return StatusCode::FAILURE;
44 ATH_MSG_FATAL (
"Shape object is not of type LArShapeComplete ?!" );
45 return StatusCode::FAILURE;
47 for (
unsigned int k = 0;
k < 195073;
k++) {
49 for (
int g = 0;
g < 3;
g++) {
53 (
"Shape object for channel " <<
k
59 <<
") and gain " <<
g <<
" has no shape data!" );
64 return StatusCode::SUCCESS;
70 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
LArSimpleShapeDumper(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode finalize() override
const_pointer_type cptr() const
safer explicit ptr accessor
This class implements the ILArShape interface.
int slot(const HWIdentifier id) const
Return the slot number of a hardware cell identifier: slot = [1,15] Slot-ID in top part of the crat...
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
virtual StatusCode execute() override
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
const LArOnlineID * m_onlineHelper
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
HWIdentifier channel_Id(int barrel_ec, int pos_neg, int feedthrough, int slot, int channel) const
create channel identifier from fields
int pos_neg(const HWIdentifier id) const
Return the side of a hardware cell identifier pos_neg = [0,1] positive-side or negative-side Barrel...
virtual unsigned nTimeBins(const HWIdentifier &CellID, int gain) const
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
#define ATH_MSG_WARNING(x)
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
const DataHandle< ILArShape > m_shape