27#ifndef TILESIMALGS_TILEHITTORAWCHANNEL_H
28#define TILESIMALGS_TILEHITTORAWCHANNEL_H
47#include "GaudiKernel/ToolHandle.h"
48#include "GaudiKernel/ServiceHandle.h"
50#include "CLHEP/Random/RandomEngine.h"
85 virtual StatusCode
execute()
override;
86 virtual StatusCode
finalize()
override;
91 "input Tile hit container key"};
95 "Output Tile raw channel container key"};
100 "TileSamplingFraction",
"TileSamplingFraction",
"Input Tile sampling fraction"};
127 "TileCablingSvc",
"TileCablingSvc",
"The Tile cabling service"};
137 "TileEMScale",
"TileEMScale",
"Input Tile EMS calibration constants"};
140 "TileCondToolNoiseSample",
"TileCondToolNoiseSample",
"Tile sample noise tool"};
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
manage multiple RandomEngines in thread-safe way.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Helper class for TileCal online (hardware) identifiers.
bool m_tileThresh
If true => apply threshold on the conversion to raw channels.
ServiceHandle< IAthRNGSvc > m_atRndmGenSvc
Random number generator engine to use.
double m_ampMaxHi
Value of the maximum amplitude to be stored as a high gain channel.
double m_threshHi
Value of the mimimal amplitude required to do the conversion to raw channel in high gain (not used fo...
SG::ReadCondHandleKey< TileSamplingFraction > m_samplingFractionKey
Name of TileSamplingFraction in condition store.
SG::WriteHandleKey< TileRawChannelContainer > m_rawChannelContainerKey
TileFragHash::TYPE m_rChType
Type of TileRawChannels (Digitizar, OF1, OF2, Fit, etc.)(see TileFragHash.h)
std::vector< HWIdentifier * > m_all_ids
Vector to store all the drawer ids.
SG::ReadHandleKey< TileHitContainer > m_hitContainerKey
std::string m_infoName
name of the TileInfo object
SG::ReadCondHandleKey< TileEMScale > m_emScaleKey
Name of TileEMScale in condition store.
const TileCablingService * m_cabling
Pointer to the TileCablingService instance.
virtual ~TileHitToRawChannel()
Destructor.
bool m_calibrateEnergy
if true, amplitude is converted to pCb
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
virtual StatusCode finalize() override
finalize method
TileHitToRawChannel(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
double m_deltaT
if true, keep only hits in deltaT range
const TileInfo * m_tileInfo
Pointer to TileInfo.
Gaudi::Property< std::string > m_randomStreamName
Random Stream Name.
const TileID * m_tileID
Pointer to TileID helper.
virtual StatusCode initialize() override
initialize method
virtual StatusCode execute() override
execute method
const TileTBID * m_tileTBID
Pointer to TileID helper.
ToolHandle< TileCondToolNoiseSample > m_tileToolNoiseSample
bool m_tileNoise
If true => generate noise for the TileRawChannel creation.
const TileHWID * m_tileHWID
Pointer to TileHWID helper.
TileRawChannelUnit::UNIT m_rChUnit
Units used for the TileRawChannels (ADC, pCb, etc.)(see TileInfo.h)
Helper class for TileCal offline identifiers.
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.