|
ATLAS Offline Software
|
Go to the documentation of this file.
39 , m_infoName(
"TileInfo")
66 ATH_MSG_INFO(
"TileTBHitToBeamElem initialization completed" );
68 return StatusCode::SUCCESS;
79 auto beamElemContainer = std::make_unique<TileMutableBeamElemContainer>(
true);
101 double e_hit = tile_hit.energy();
102 double e_ch = e_hit * hit_calib;
112 <<
" amp=" << amp_ch);
114 std::unique_ptr<TileBeamElem> beamElem = std::make_unique<TileBeamElem>(adc_id, amp_ch);
115 ATH_CHECK( beamElemContainer->push_back(std::move(beamElem)) );
124 return StatusCode::SUCCESS;
131 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
const TileTBID * m_tileTBID
Pointer to TileID helper.
std::string to_string(const Identifier &id, int level=0) const
extract all fields from TileTB identifier Identifier get_all_fields ( const Identifier & id,...
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
virtual StatusCode finalize() override
finalize method
std::vector< FPGATrackSimHit > hitVector
std::string m_infoName
name of the TileInfo object in TES
#define ATH_MSG_VERBOSE(x)
Helper for holding non-const raw data prior to recording in SG.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Handle class for recording to StoreGate.
::StatusCode StatusCode
StatusCode definition for legacy code.
TileTBHitToBeamElem(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
double BeamElemChannelCalib(const HWIdentifier &) const
Method returns and returned always 1.
#define CHECK(...)
Evaluate an expression and check for errors.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual ~TileTBHitToBeamElem()
Destructor
const TileHWID * m_tileHWID
Pointer to TileHWID helper.
const TileInfo * m_tileInfo
Pointer to TileInfo.
Helpers for checking error return status codes and reporting errors.
double BeamElemHitCalib(const Identifier &) const
TileHit to TileCell energy conversion for ancillary testbeam detectors.
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
SG::WriteHandleKey< TileBeamElemContainer > m_beamElemContainerKey
virtual StatusCode execute() override
execute method
SG::ReadHandleKey< TileHitVector > m_hitVectorKey
std::string to_string(const HWIdentifier &id, int level=0) const
extract all fields from HW identifier HWIdentifier get_all_fields ( const HWIdentifier & id,...
Handle class for reading from StoreGate.
virtual StatusCode initialize() override
initialize method