|
ATLAS Offline Software
|
Go to the documentation of this file.
23 const std::string&
name,
28 declareInterface< IMBTSModuleCnvTool >(
this);
36 return StatusCode::SUCCESS;
40 const auto end = aod->
end();
41 for(
auto itr = aod->
begin(); itr !=
end; ++itr ) {
46 xmbtsmod->
setE((*itr)->energy());
47 xmbtsmod->
setEta((*itr)->eta());
48 xmbtsmod->
setPhi((*itr)->phi());
49 xmbtsmod->
setTime((*itr)->time());
51 xmbtsmod->
setMbtsQuality ( ((*itr)->provenance()<<16 ) | (*itr)->quality());
52 ATH_MSG_DEBUG(
"MBTS: quality=" << (*itr)->quality() <<
" provenance=" << (*itr)->provenance() <<
" mbtsQuality=" << xmbtsmod->
mbtsQuality() );
63 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
void setTime(float val_time)
void setMbtsQuality(int val_quality)
void setMbtsModule(int val_module)
int type(const Identifier &id) const
extract type field from TileTB identifier
int module(const Identifier &id) const
extract module field from TileTB identifier
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
void setPhi(float val_phi)
::StatusCode StatusCode
StatusCode definition for legacy code.
#define CHECK(...)
Evaluate an expression and check for errors.
int channel(const Identifier &id) const
extract channel field from TileTB identifier
void setType(int val_type)
void setChannel(int val_channel)
Helpers for checking error return status codes and reporting errors.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
#define ATH_MSG_WARNING(x)
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
void setEta(float val_eta)
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.