Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
23 #include "GaudiKernel/MsgStream.h"
49 m_ChannelContainerName(
"LArRawChannelContainer"),
69 const CaloCell_ID* idHelper =
nullptr;
80 return StatusCode::SUCCESS;
97 const LArOnOffIdMapping*
cabling{*cablingHdl};
100 return StatusCode::FAILURE;
103 LArRawChannelContainer::const_iterator
it1 = LArRaw->begin();
104 LArRawChannelContainer::const_iterator it2 = LArRaw->end();
106 HWIdentifier ch_id=
it1->identify();
108 if(
cabling->isOnlineConnected(ch_id))
109 m_outFile <<
"LArRawChannelDump: 0x" << std::hex << ch_id.get_compact() << std::dec <<
" E=" <<
it1->energy()
110 <<
" t=" <<
it1->time() <<
" g=" << (
int)
it1->gain() <<
" Q=" <<
it1->quality() << std::endl;
126 <<
"; Chi-Square = " <<
it1->quality() );
128 ATH_MSG_DEBUG(
" Channel with max energy , maxID = "<< emax<<
" "<<maxId.getString() );
131 return StatusCode::SUCCESS;
142 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
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...
virtual StatusCode initialize()
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
int barrel_ec(const HWIdentifier id) const
Return the position barrel or endcap of a hardware cell identifier: barrel_ec = [0,...
const LArEM_ID * m_larem_id
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.
std::vector< HWIdentifier >::iterator it1
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_ChannelContainerName
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...
const LArOnlineID * m_onlineID
StatusCode initialize(bool used=true)
virtual StatusCode finalize()
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
int feedthrough(const HWIdentifier id) const
Return the feedthrough of a hardware cell identifier : feedthrough = [0,31] Barrel - A/C side or H/...
ReadLArRaw(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute()
Container for LArRawChannel (IDC using LArRawChannelCollection)