![]() |
ATLAS Offline Software
|
This algorithm builds TileRawChannels from TileHits. More...
#include <TileHitToRawChannel.h>
Public Member Functions | |
| TileHitToRawChannel (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor. | |
| virtual | ~TileHitToRawChannel () |
| Destructor. | |
| virtual StatusCode | initialize () override |
| initialize method | |
| virtual StatusCode | execute () override |
| execute method | |
| virtual StatusCode | finalize () override |
| finalize method | |
| virtual StatusCode | sysInitialize () override |
| Override sysInitialize. | |
| virtual const DataObjIDColl & | extraOutputDeps () const override |
| Return the list of extra output dependencies. | |
| ServiceHandle< StoreGateSvc > & | evtStore () |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. | |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. | |
| virtual StatusCode | sysStart () override |
| Handle START transition. | |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| Return this algorithm's input handles. | |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| Return this algorithm's output handles. | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| MsgStream & | msg () const |
| bool | msgLvl (const MSG::Level lvl) const |
Protected Member Functions | |
| void | renounceArray (SG::VarHandleKeyArray &handlesArray) |
| remove all handles from I/O resolution | |
| std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > | renounce (T &h) |
| void | extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps) |
| Add StoreName to extra input/output deps as needed. | |
Private Types | |
| typedef ServiceHandle< StoreGateSvc > | StoreGateSvc_t |
Private Member Functions | |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> | |
Private Attributes | |
| SG::ReadHandleKey< TileHitContainer > | m_hitContainerKey |
| SG::WriteHandleKey< TileRawChannelContainer > | m_rawChannelContainerKey |
| SG::ReadCondHandleKey< TileSamplingFraction > | m_samplingFractionKey |
| Name of TileSamplingFraction in condition store. | |
| std::string | m_infoName |
| name of the TileInfo object | |
| double | m_deltaT |
| if true, keep only hits in deltaT range | |
| bool | m_calibrateEnergy |
| if true, amplitude is converted to pCb | |
| TileRawChannelUnit::UNIT | m_rChUnit |
| Units used for the TileRawChannels (ADC, pCb, etc.)(see TileInfo.h) | |
| TileFragHash::TYPE | m_rChType |
| Type of TileRawChannels (Digitizar, OF1, OF2, Fit, etc.)(see TileFragHash.h) | |
| const TileID * | m_tileID |
| Pointer to TileID helper. | |
| const TileTBID * | m_tileTBID |
| Pointer to TileID helper. | |
| const TileHWID * | m_tileHWID |
| Pointer to TileHWID helper. | |
| const TileInfo * | m_tileInfo |
| Pointer to TileInfo. | |
| const TileCablingService * | m_cabling |
| Pointer to the TileCablingService instance. | |
| std::vector< HWIdentifier * > | m_all_ids |
| Vector to store all the drawer ids. | |
| bool | m_tileNoise |
| If true => generate noise for the TileRawChannel creation. | |
| bool | m_tileThresh |
| If true => apply threshold on the conversion to raw channels. | |
| double | m_threshHi |
| Value of the mimimal amplitude required to do the conversion to raw channel in high gain (not used for low gain) | |
| double | m_ampMaxHi |
| Value of the maximum amplitude to be stored as a high gain channel. | |
| ServiceHandle< TileCablingSvc > | m_cablingSvc |
| Name of Tile cabling service. | |
| ServiceHandle< IAthRNGSvc > | m_atRndmGenSvc {this, "RndmSvc", "AthRNGSvc", ""} |
| Random number generator engine to use. | |
| Gaudi::Property< std::string > | m_randomStreamName {this, "RandomStreamName", "Tile_DigitsMaker", ""} |
| Random Stream Name. | |
| SG::ReadCondHandleKey< TileEMScale > | m_emScaleKey |
| Name of TileEMScale in condition store. | |
| ToolHandle< TileCondToolNoiseSample > | m_tileToolNoiseSample |
| DataObjIDColl | m_extendedExtraObjects |
| StoreGateSvc_t | m_evtStore |
| Pointer to StoreGate (event store by default) | |
| StoreGateSvc_t | m_detStore |
| Pointer to StoreGate (detector store by default) | |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| bool | m_varHandleArraysDeclared |
This algorithm builds TileRawChannels from TileHits.
TileRawChannel amplitude, time and quality are obtianed from the TileHits. Noise is applied to the amplitude.
TileHitToRawChannell takes as input the TileRawChanels in a TileRawChannel container and combine them in order to create TileCells (For barrel and ext.barrel, two RawChanels feed into each cell; for the Gap cells, there is only one PMT.) Calibrations constants are applied, and the total energy in the cell, the mean time of the energy deposition, and the quality of the measurement are returned.
Definition at line 77 of file TileHitToRawChannel.h.
|
privateinherited |
Definition at line 388 of file AthCommonDataStore.h.
| TileHitToRawChannel::TileHitToRawChannel | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
Constructor.
Definition at line 51 of file TileHitToRawChannel.cxx.
|
virtual |
Destructor.
Definition at line 70 of file TileHitToRawChannel.cxx.
|
inlineprivateinherited |
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
|
inlineinherited |
Definition at line 145 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 95 of file AthCommonDataStore.h.
|
inlineinherited |
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
Definition at line 85 of file AthCommonDataStore.h.
|
overridevirtual |
execute method
Definition at line 164 of file TileHitToRawChannel.cxx.
|
protectedinherited |
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
|
overridevirtualinherited |
Return the list of extra output dependencies.
This list is extended to include symlinks implied by inheritance relations.
Definition at line 50 of file AthAlgorithm.cxx.
|
overridevirtual |
finalize method
Definition at line 406 of file TileHitToRawChannel.cxx.
|
overridevirtual |
initialize method
Definition at line 82 of file TileHitToRawChannel.cxx.
|
overridevirtualinherited |
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineinherited |
Definition at line 24 of file AthCommonMsg.h.
|
inlineinherited |
Definition at line 30 of file AthCommonMsg.h.
|
overridevirtualinherited |
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
|
inlineprotectedinherited |
Definition at line 380 of file AthCommonDataStore.h.
|
inlineprotectedinherited |
remove all handles from I/O resolution
Definition at line 364 of file AthCommonDataStore.h.
|
overridevirtualinherited |
Override sysInitialize.
Override sysInitialize from the base class.
Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc
Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc
Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.
Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, AthHistogramAlgorithm, and PyAthena::Alg.
Definition at line 66 of file AthAlgorithm.cxx.
|
overridevirtualinherited |
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
|
inlineinherited |
Definition at line 308 of file AthCommonDataStore.h.
|
private |
Vector to store all the drawer ids.
Definition at line 116 of file TileHitToRawChannel.h.
|
private |
Value of the maximum amplitude to be stored as a high gain channel.
For larger amplitudes, the channel is converted to low gain
Definition at line 121 of file TileHitToRawChannel.h.
|
private |
Random number generator engine to use.
Definition at line 129 of file TileHitToRawChannel.h.
|
private |
Pointer to the TileCablingService instance.
Definition at line 114 of file TileHitToRawChannel.h.
|
private |
Definition at line 126 of file TileHitToRawChannel.h.
|
private |
if true, amplitude is converted to pCb
Definition at line 105 of file TileHitToRawChannel.h.
|
private |
if true, keep only hits in deltaT range
Definition at line 104 of file TileHitToRawChannel.h.
|
privateinherited |
Pointer to StoreGate (detector store by default)
Definition at line 393 of file AthCommonDataStore.h.
|
private |
Name of TileEMScale in condition store.
Definition at line 136 of file TileHitToRawChannel.h.
|
privateinherited |
Pointer to StoreGate (event store by default)
Definition at line 390 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 79 of file AthAlgorithm.h.
|
private |
Definition at line 90 of file TileHitToRawChannel.h.
|
private |
name of the TileInfo object
Definition at line 103 of file TileHitToRawChannel.h.
|
private |
Definition at line 131 of file TileHitToRawChannel.h.
|
private |
Definition at line 93 of file TileHitToRawChannel.h.
|
private |
Type of TileRawChannels (Digitizar, OF1, OF2, Fit, etc.)(see TileFragHash.h)
Definition at line 108 of file TileHitToRawChannel.h.
|
private |
Units used for the TileRawChannels (ADC, pCb, etc.)(see TileInfo.h)
Definition at line 107 of file TileHitToRawChannel.h.
|
private |
Name of TileSamplingFraction in condition store.
Definition at line 99 of file TileHitToRawChannel.h.
|
private |
Value of the mimimal amplitude required to do the conversion to raw channel in high gain (not used for low gain)
Definition at line 120 of file TileHitToRawChannel.h.
|
private |
Pointer to TileHWID helper.
Definition at line 112 of file TileHitToRawChannel.h.
|
private |
Pointer to TileID helper.
Definition at line 110 of file TileHitToRawChannel.h.
|
private |
Pointer to TileInfo.
Definition at line 113 of file TileHitToRawChannel.h.
|
private |
If true => generate noise for the TileRawChannel creation.
Definition at line 118 of file TileHitToRawChannel.h.
|
private |
Pointer to TileID helper.
Definition at line 111 of file TileHitToRawChannel.h.
|
private |
If true => apply threshold on the conversion to raw channels.
Definition at line 119 of file TileHitToRawChannel.h.
|
private |
Definition at line 139 of file TileHitToRawChannel.h.
|
privateinherited |
Definition at line 399 of file AthCommonDataStore.h.
|
privateinherited |
Definition at line 398 of file AthCommonDataStore.h.