|
ATLAS Offline Software
|
Go to the documentation of this file.
9 #include "GaudiKernel/Bootstrap.h"
10 #include "GaudiKernel/ISvcLocator.h"
11 #include "GaudiKernel/MsgStream.h"
12 #include "GaudiKernel/IMessageSvc.h"
16 : m_onlineID(nullptr),
17 m_caloCellID(nullptr),
23 ISvcLocator* svcLoc = Gaudi::svcLocator( );
29 std::cerr <<
"LArRawDetSelector: Could not get MessageSvc!" << std::endl;
33 MsgStream
log(
msgSvc,
"LArRawDetSelector");
36 if(svcLoc->service(
"DetectorStore",sg).isFailure()) {
37 log << MSG::ERROR <<
"Faild to get DetectorStore" <<
endmsg;
41 log << MSG::ERROR <<
"Faild to get LArOnlineID helper" <<
endmsg;
45 log << MSG::ERROR <<
"Faild to get LArOnlineID helper" <<
endmsg;
virtual bool select(const LArRawChannel *rawchan)
bool is_lar_fcal(Identifier id) const
void setDet(const Identifier &id)
const CaloCell_ID * m_caloCellID
StatusCode retrieve(const T *&ptr) const
Retrieve the default object into a const T*.
bool isFCALchannel(const HWIdentifier id) const
LArRawDetSelector(const LArRawChannelContainer *c=NULL)
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
The Athena Transient Store API.
bool isEMECchannel(const HWIdentifier id) const override final
msgSvc
Provide convenience handles for various services.
Liquid Argon ROD output object base class.
::StatusCode StatusCode
StatusCode definition for legacy code.
bool is_lar_hec(Identifier id) const
bool isEMBchannel(const HWIdentifier id) const
bool isHECchannel(const HWIdentifier id) const override final
const LArOnlineID * m_onlineID
bool is_lar_em(Identifier id) const
Container for LArRawChannel (IDC using LArRawChannelCollection)