|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/SmartDataPtr.h"
44 return StatusCode::FAILURE;
48 return StatusCode::FAILURE;
52 return StatusCode::FAILURE;
60 return StatusCode::SUCCESS;
68 unsigned eventnumber=0;
69 if (
sc!=StatusCode::SUCCESS)
83 int nDigits=digit_cont->
size();
85 ATH_MSG_DEBUG (
"Event " << eventnumber <<
": Found " << nDigits <<
" Digits in container" );
88 ATH_MSG_ERROR (
"Event " << eventnumber <<
": Size of digit container changed! Now: " << nDigits <<
" Previous Event: " <<
m_nDigits );
94 unsigned nDoubleDigits=0;
95 for(;
it!=it_e; ++
it){
103 else if (barrel_ec==1)
120 ATH_MSG_ERROR (
"Event " << eventnumber <<
" Found duplicated cell! Location: (" << bc <<
"/" <<
pn <<
"/FT="
121 <<
FT <<
"/Slot=" << slot <<
"/Channel=" <<
channel <<
")" );
128 ATH_MSG_ERROR (
"Found " << nDoubleDigits <<
" duplicated digits in event " << eventnumber );
131 return StatusCode::SUCCESS;
140 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
Const iterator class for DataVector/DataList.
IdentifierHash channel_Hash(HWIdentifier channelId) const
Create channel_hash from channel_Id.
uint64_t eventNumber() const
The current event's event number.
const LArEM_ID * em_idHelper() const
access to EM idHelper
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
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,...
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.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
int channel(const HWIdentifier id) const
Return the channel number of a hardware cell identifier channel = [0,127] in all FEB.
::StatusCode StatusCode
StatusCode definition for legacy code.
std::bitset< 200000 > m_bitpattern
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...
Helper class for offline cell identifiers.
const LArHEC_ID * m_hecId
const LArOnlineID * m_onlineHelper
const LArFCAL_ID * m_fcalId
Class describing the basic event information.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
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)
FindDuplicatedLArDigits(const std::string &name, ISvcLocator *pSvcLocator)
Container class for LArDigit.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
size_type size() const noexcept
Returns the number of elements in the collection.
const LArFCAL_ID * fcal_idHelper() const
access to FCAL idHelper
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
~FindDuplicatedLArDigits()