Loading [MathJax]/jax/output/SVG/config.js
|
ATLAS Offline Software
|
Go to the documentation of this file.
48 , m_tileToolEmscale(
"TileCondToolEmscale")
65 ATH_MSG_INFO(
"Sampling fraction is taken into account for TileHit energy" );
67 ATH_MSG_INFO(
"TileHit will contain CELL energy (not divided by sampling fraction)" );
81 ATH_MSG_INFO(
"TileRawChannelToHit initialization completed" );
83 return StatusCode::SUCCESS;
103 samplingFraction = samplingFractionHandle.
cptr();
133 bool is_calibration = (rawChannelCollection->size() == 96);
150 float amp = rawChannel->amplitude();
151 float time = rawChannel->time();
177 <<
" time=" <<
time );
185 <<
" is not connected" );
197 <<
" RawChSum=" << eCh
199 <<
" eneTot=" << eHitTot );
202 ATH_MSG_VERBOSE(
"TileHitVector container registered to the TES with name"
205 return StatusCode::SUCCESS;
219 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
float getSamplingFraction(unsigned int drawerIdx, unsigned int channel) const
Return Tile Calorimeter sampling fraction.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::vector< FPGATrackSimHit > hitVector
SG::WriteHandleKey< TileHitVector > m_hitVectorKey
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
virtual ~TileRawChannelToHit()
bool is_valid() const
Check if id is in a valid state.
int channel(const HWIdentifier &id) const
extract channel field from HW identifier
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
int ros(const HWIdentifier &id) const
extract ros field from HW identifier
Handle class for recording to StoreGate.
int adc(const HWIdentifier &id) const
extract adc field from HW identifier
ToolHandle< TileCondToolEmscale > m_tileToolEmscale
main Tile Calibration tool
Condition object to keep and provide Tile Calorimeter sampling fraction and number of photoelectrons.
SG::ReadHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
::StatusCode StatusCode
StatusCode definition for legacy code.
TileRawChannelToHit(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
HWIdentifier drawer_id(int frag) const
ROS HWIdentifer.
Helpers for checking error return status codes and reporting errors.
StatusCode initialize(bool used=true)
int drawer(const HWIdentifier &id) const
extract drawer field from HW identifier
def time(flags, cells_name, *args, **kw)
SG::ReadCondHandleKey< TileSamplingFraction > m_samplingFractionKey
Name of TileSamplingFraction in condition store.
std::string to_string(const Identifier &id, int level=0) const
#define ATH_MSG_WARNING(x)
const TileHWID * m_tileHWID
static unsigned int getDrawerIdx(unsigned int ros, unsigned int drawer)
Returns a drawer hash.
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.
const_pointer_type cptr()