5#ifndef INDETOVERLAY_TRTOVERLAY_H
6#define INDETOVERLAY_TRTOVERLAY_H
19#include "GaudiKernel/ServiceHandle.h"
36 TRTOverlay(
const std::string &name, ISvcLocator *pSvcLocator);
38 virtual StatusCode
initialize() override final;
60 "Sort background input RDOs"};
63 this,
"BkgInputKey",
"Bkg_TRT_RDOs",
64 " ReadHandleKey for Background Input TRT_RDO_Container"};
66 this,
"SignalInputKey",
"Sig_TRT_RDOs",
67 "ReadHandleKey for Signal Input TRT_RDO_Container"};
69 this,
"OutputKey",
"TRT_RDOs",
70 "WriteHandleKey for Output TRT_RDO_Container"};
72 this,
"SignalInputSDOKey",
"Sig_TRT_SDO_Map",
73 "ReadHandleKey for Signal Input InDetSimDataCollection for TRT"};
75 this,
"StrawStatusHT",
"StrawStatusHTData",
"StrawStatusHT key"};
80 "Random Number Service"};
83 this,
"TRT_HT_OccupancyCorrectionBarrel", 0.110,
""};
85 this,
"TRT_HT_OccupancyCorrectionEndcap", 0.090,
""};
87 this,
"TRT_HT_OccupancyCorrectionBarrelNoE", 0.060,
""};
89 this,
"TRT_HT_OccupancyCorrectionEndcapNoE", 0.050,
""};
91 this,
"TRT_HT_OccupancyCorrectionBarrelAr", 0.100,
""};
93 this,
"TRT_HT_OccupancyCorrectionEndcapAr", 0.101,
""};
95 this,
"TRT_HT_OccupancyCorrectionBarrelArNoE", 0.088,
""};
97 this,
"TRT_HT_OccupancyCorrectionEndcapArNoE", 0.102,
""};
99 this,
"TRT_LocalOccupancyTool",
"TRT_LocalOccupancy",
""};
InDetRawDataCollection< TRT_RDORawData > TRT_RDO_Collection
InDetRawDataContainer< InDetRawDataCollection< TRT_RDORawData > > TRT_RDO_Container
An algorithm that can be simultaneously executed in multiple threads.
a typed memory pool that saves time spent allocation small object.
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.
Gaudi::Property< double > m_HTOccupancyCorrectionB_noE
virtual StatusCode initialize() override final
virtual StatusCode execute(const EventContext &ctx) const override final
friend class OverlayTesting::TRTOverlay_test
Gaudi::Property< double > m_HTOccupancyCorrectionEC_noE
Gaudi::Property< double > m_HTOccupancyCorrectionB_Ar_noE
Gaudi::Property< double > m_HTOccupancyCorrectionB_Ar
SG::WriteHandleKey< TRT_RDO_Container > m_outputKey
Gaudi::Property< double > m_HTOccupancyCorrectionEC_Ar
Gaudi::Property< double > m_HTOccupancyCorrectionEC
Gaudi::Property< bool > m_sortBkgInput
StatusCode overlayContainer(const EventContext &ctx, const TRT_RDO_Container *bkgContainer, const TRT_RDO_Container *signalContainer, TRT_RDO_Container *outputContainer, const InDetSimDataCollection *signalSDOCollection, DataPool< TRT_LoLumRawData > &dataItemsPool) const
void mergeCollections(TRT_RDO_Collection *bkgCollection, TRT_RDO_Collection *signalCollection, TRT_RDO_Collection *outputCollection, double occupancy, const InDetSimDataCollection *signalSDOCollection, const TRTCond::StrawStatusData *strawStatusHT, CLHEP::HepRandomEngine *rndmEngine) const
Here we take 2 view containers with elements owned by the DataPool we modify some of them and push th...
SG::ReadHandleKey< TRT_RDO_Container > m_bkgInputKey
ToolHandle< InDet::ITRT_LocalOccupancy > m_TRT_LocalOccupancyTool
ServiceHandle< IAthRNGSvc > m_rndmSvc
SG::ReadHandleKey< InDetSimDataCollection > m_signalInputSDOKey
Gaudi::Property< double > m_HTOccupancyCorrectionB
Gaudi::Property< double > m_HTOccupancyCorrectionEC_Ar_noE
TRTOverlay(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< TRT_RDO_Container > m_signalInputKey
SG::ReadCondHandleKey< TRTCond::StrawStatusData > m_strawStatusHTKey
This is an Identifier helper class for the TRT subdetector.