|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #include "Identifier/Identifier.h"
23 const std::string&
name,
26 m_emecID_help(nullptr),
27 m_hecID_help(nullptr),
28 m_fcalID_help(nullptr),
31 declareInterface<TBBeamQualityTool>(
this);
91 log << MSG::ERROR <<
"unable to obtain hec id " <<
endmsg;
92 return StatusCode::FAILURE;
96 log << MSG::ERROR <<
"unable to obtain emec id " <<
endmsg;
97 return StatusCode::FAILURE;
102 log << MSG::ERROR <<
"unable to obtain fcal id " <<
endmsg;
103 return StatusCode::FAILURE;
139 return StatusCode::SUCCESS;
148 <<
"TBBeamQualityEMFractionTool: Started Accept"
165 for (
int i=0;
i<500;++
i) {
173 if (
sc.isFailure()) {
174 log << MSG::ERROR <<
"couldn't get the calo cells from storegate" <<
endmsg;
175 log << MSG::ERROR <<
"here is what is in storegate: " <<
evtStore()->dump() <<
endmsg;
176 return StatusCode::FAILURE;
179 for (
const CaloCell* cell_ptr : *cellContainer) {
193 m_Mlayer[sampling]+=cell_ptr->energy();
211 return StatusCode::SUCCESS;
214 return StatusCode::FAILURE;
218 return StatusCode::FAILURE;
def retrieve(aClass, aKey=None)
const LArEM_ID * em_idHelper() const
access to EM idHelper
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
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.
msgSvc
Provide convenience handles for various services.
::StatusCode StatusCode
StatusCode definition for legacy code.
Helper class for offline cell identifiers.
Container class for CaloCell.
Data object for each calorimeter readout cell.
CaloCell_ID::CaloSample getSampling() const
cell sampling
const LArFCAL_ID * fcal_idHelper() const
access to FCAL idHelper