![]() |
ATLAS Offline Software
|
#include <TRTDigitizationTool.h>
Public Member Functions | |
| TRTDigitizationTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| ~TRTDigitizationTool () | |
| Destructor. | |
| virtual StatusCode | initialize () override final |
| Initialize. | |
| virtual StatusCode | finalize () override final |
| Finalize. | |
| virtual StatusCode | mergeEvent (const EventContext &ctx) override final |
| called at the end of the subevts loop. Not (necessarily) able to access SubEvents | |
| virtual StatusCode | processBunchXing (int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents) override final |
| called for each active bunch-crossing to process current SubEvents bunchXing is in ns | |
| virtual StatusCode | prepareEvent (const EventContext &ctx, const unsigned int nInputEvents) override final |
| return false if not interested in certain xing times (in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing | |
| virtual StatusCode | processAllSubEvents (const EventContext &ctx) override final |
| Perform digitization: | |
| virtual bool | toProcess (int bunchXing) const =0 |
| flags whether this tool is "live" for bunchXing (time in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing | |
| virtual bool | filterPassed () const =0 |
| flags whether the event should be removed or not | |
| virtual void | resetFilter ()=0 |
| reset the filter | |
| DeclareInterfaceID (IPileUpTool, 1, 0) | |
| Creates the InterfaceID and interfaceID() method. | |
Private Member Functions | |
| CLHEP::HepRandomEngine * | getRandomEngine (const std::string &streamName, const EventContext &ctx) const |
| CLHEP::HepRandomEngine * | getRandomEngine (const std::string &streamName, unsigned long int randomSeedOffset, const EventContext &ctx) const |
| Identifier | getIdentifier (int hitID, IdentifierHash &hashId, Identifier &layerID, bool &statusok) const |
| StatusCode | lateInitialize (const EventContext &ctx) |
| StatusCode | processStraws (const EventContext &ctx, TimedHitCollection< TRTUncompressedHit > &thpctrt, std::set< int > &sim_hitids, std::set< Identifier > &simhitsIdentifiers, CLHEP::HepRandomEngine *rndmEngine, CLHEP::HepRandomEngine *strawRndmEngine, CLHEP::HepRandomEngine *elecProcRndmEngine, CLHEP::HepRandomEngine *elecNoiseRndmEngine, CLHEP::HepRandomEngine *paiRndmEngine) |
| StatusCode | createAndStoreRDOs () |
Static Private Member Functions | |
| static double | getCosmicEventPhase (CLHEP::HepRandomEngine *rndmEngine) |
Private Attributes | |
| ToolHandle< ITRT_PAITool > | m_TRTpaiToolXe {this, "PAI_Tool_Xe", "TRT_PAI_Process_Xe", "The PAI model for ionisation in the TRT Xe gas"} |
| Configurable properties. | |
| ToolHandle< ITRT_PAITool > | m_TRTpaiToolAr {this, "PAI_Tool_Ar", "TRT_PAI_Process_Ar", "The PAI model for ionisation in the TRT Ar gas"} |
| ToolHandle< ITRT_PAITool > | m_TRTpaiToolKr {this, "PAI_Tool_Kr", "TRT_PAI_Process_Kr", "The PAI model for ionisation in the TRT Kr gas"} |
| ToolHandle< ITRT_SimDriftTimeTool > | m_TRTsimdrifttimetool {this, "SimDriftTimeTool", "TRT_SimDriftTimeTool", "Drift time versus distance (r-t-relation) for TRT straws"} |
| ToolHandle< ITRT_StrawStatusSummaryTool > | m_sumTool {this, "InDetTRTStrawStatusSummaryTool", "TRT_StrawStatusSummaryTool", ""} |
| ToolHandle< ITRT_CalDbTool > | m_calDbTool {this, "InDetTRTCalDbTool", "TRT_CalDbTool", ""} |
| ServiceHandle< PileUpMergeSvc > | m_mergeSvc {this, "MergeSvc", "PileUpMergeSvc", "Merge service"} |
| ServiceHandle< IAthRNGSvc > | m_rndmSvc {this, "RndmSvc", "AthRNGSvc", ""} |
| Random number service. | |
| ServiceHandle< ITRT_StrawNeighbourSvc > | m_TRTStrawNeighbourSvc {this, "TRT_StrawNeighbourSvc", "TRT_StrawNeighbourSvc", ""} |
| SG::ReadCondHandleKey< AtlasFieldCacheCondObj > | m_fieldCacheCondObjInputKey |
| Gaudi::Property< bool > | m_onlyUseContainerName {this, "OnlyUseContainerName", true, "Don't use the ReadHandleKey directly. Just extract the container name from it."} |
| SG::ReadHandleKey< TRTUncompressedHitCollection > | m_hitsContainerKey {this, "DataObjectName", "TRTUncompressedHits", "Data Object Name"} |
| std::string | m_dataObjectName {""} |
| SG::WriteHandleKey< TRT_RDO_Container > | m_outputRDOCollName {this,"OutputObjectName","TRT_RDOs","WHK Output Object name"} |
| name of the output RDOs. | |
| SG::WriteHandleKey< InDetSimDataCollection > | m_outputSDOCollName {this,"OutputSDOName","TRT_SDO_Map","WHK Output SDO container name"} |
| name of the output SDOs. | |
| SG::WriteHandle< TRT_RDO_Container > | m_trtrdo_container |
| Gaudi::Property< bool > | m_printOverrideableSettings {this, "PrintOverrideableSettings", false, "Print overrideable settings"} |
| Gaudi::Property< bool > | m_printUsedDigSettings {this, "PrintDigSettings", true, "Print ditigization settings"} |
| Gaudi::Property< int > | m_HardScatterSplittingMode {this, "HardScatterSplittingMode", 0, ""} |
| Gaudi::Property< int > | m_UseGasMix {this, "UseGasMix", 0, ""} |
| Gaudi::Property< unsigned long int > | m_randomSeedOffset {this, "RandomSeedOffset", 678910, ""} |
| TRTDigSettings * | m_settings {} |
| std::vector< std::pair< unsigned int, int > > | m_seen |
| std::vector< TRTDigit > | m_vDigits |
| Vector of all digits. | |
| TRTElectronicsProcessing * | m_pElectronicsProcessing {} |
| TRTProcessingOfStraw * | m_pProcessingOfStraw {} |
| TRTDigCondBase * | m_pDigConditions {} |
| TRTNoise * | m_pNoise {} |
| const InDetDD::TRT_DetectorManager * | m_manager {} |
| const TRT_ID * | m_trt_id {} |
| TRT Id Helper. | |
| std::vector< TRTUncompressedHitCollection * > | m_trtHitCollList |
| TimedHitCollection< TRTUncompressedHit > * | m_thpctrt {} |
| bool | m_alreadyPrintedPDGcodeWarning {false} |
| double | m_minCrossingTimeSDO {0.0} |
| double | m_maxCrossingTimeSDO {0.0} |
| double | m_minpileuptruthEkin {0.0} |
| double | m_cosmicEventPhase {0.0} |
| ServiceHandle< IPartPropSvc > | m_ppSvc {this, "PartPropSvc", "PartPropSvc"} |
| Handle on the particle property service. | |
| const HepPDT::ParticleDataTable * | m_particleTable {} |
| bool | m_first_event {true} |
| bool | m_HardScatterSplittingSkipper {false} |
structors and AlgTool implementation | |
| virtual bool | toProcess (int bunchXing) const override |
| the method this base class helps implementing | |
| virtual bool | filterPassed () const override |
| dummy implementation of passing filter | |
| virtual void | resetFilter () override |
| dummy implementation of filter reset | |
| Gaudi::Property< int > | m_firstXing |
| Gaudi::Property< int > | m_lastXing |
| Gaudi::Property< int > | m_vetoPileUpTruthLinks |
| bool | m_filterPassed {true} |
Definition at line 63 of file TRTDigitizationTool.h.
| TRTDigitizationTool::TRTDigitizationTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 53 of file TRTDigitizationTool.cxx.
| TRTDigitizationTool::~TRTDigitizationTool | ( | ) |
Destructor.
Definition at line 63 of file TRTDigitizationTool.cxx.
|
private |
Definition at line 684 of file TRTDigitizationTool.cxx.
|
inherited |
Creates the InterfaceID and interfaceID() method.
|
pure virtualinherited |
flags whether the event should be removed or not
|
inlineoverridevirtualinherited |
|
finaloverridevirtual |
Finalize.
Definition at line 825 of file TRTDigitizationTool.cxx.
|
staticprivate |
Definition at line 837 of file TRTDigitizationTool.cxx.
|
private |
Definition at line 750 of file TRTDigitizationTool.cxx.
|
private |
Definition at line 583 of file TRTDigitizationTool.cxx.
|
private |
Definition at line 593 of file TRTDigitizationTool.cxx.
|
finaloverridevirtual |
Initialize.
Get the PAI Tool for Xe, Ar, Kr gas mixtures:
Get the Sim-DriftTime Tool:
Reimplemented from PileUpToolBase.
Definition at line 76 of file TRTDigitizationTool.cxx.
|
private |
Definition at line 225 of file TRTDigitizationTool.cxx.
|
finaloverridevirtual |
called at the end of the subevts loop. Not (necessarily) able to access SubEvents
Reimplemented from IPileUpTool.
Definition at line 602 of file TRTDigitizationTool.cxx.
|
finaloverridevirtual |
return false if not interested in certain xing times (in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing
Reimplemented from IPileUpTool.
Definition at line 170 of file TRTDigitizationTool.cxx.
|
finaloverridevirtual |
Perform digitization:
ProcessStraw() ]Implements IPileUpTool.
Definition at line 461 of file TRTDigitizationTool.cxx.
|
finaloverridevirtual |
called for each active bunch-crossing to process current SubEvents bunchXing is in ns
Implements IPileUpTool.
Definition at line 180 of file TRTDigitizationTool.cxx.
|
private |
Definition at line 309 of file TRTDigitizationTool.cxx.
|
pure virtualinherited |
reset the filter
|
inlineoverridevirtualinherited |
dummy implementation of filter reset
Reimplemented in MergeTruthJetsTool.
Definition at line 51 of file PileUpToolBase.h.
|
pure virtualinherited |
flags whether this tool is "live" for bunchXing (time in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing
|
inlineoverridevirtualinherited |
the method this base class helps implementing
Reimplemented in MergeHijingParsTool, and MergeTrackRecordCollTool.
Definition at line 32 of file PileUpToolBase.h.
|
private |
Definition at line 160 of file TRTDigitizationTool.h.
|
private |
Definition at line 127 of file TRTDigitizationTool.h.
|
private |
Definition at line 165 of file TRTDigitizationTool.h.
|
private |
Definition at line 136 of file TRTDigitizationTool.h.
|
private |
Definition at line 132 of file TRTDigitizationTool.h.
|
protectedinherited |
Definition at line 60 of file PileUpToolBase.h.
|
private |
Definition at line 171 of file TRTDigitizationTool.h.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
private |
Definition at line 143 of file TRTDigitizationTool.h.
|
private |
Definition at line 173 of file TRTDigitizationTool.h.
|
private |
Definition at line 135 of file TRTDigitizationTool.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 156 of file TRTDigitizationTool.h.
|
private |
Definition at line 162 of file TRTDigitizationTool.h.
|
private |
Definition at line 128 of file TRTDigitizationTool.h.
|
private |
Definition at line 161 of file TRTDigitizationTool.h.
|
private |
Definition at line 163 of file TRTDigitizationTool.h.
|
private |
Definition at line 134 of file TRTDigitizationTool.h.
|
private |
name of the output RDOs.
Definition at line 137 of file TRTDigitizationTool.h.
|
private |
name of the output SDOs.
Definition at line 138 of file TRTDigitizationTool.h.
|
private |
Definition at line 169 of file TRTDigitizationTool.h.
|
private |
Definition at line 153 of file TRTDigitizationTool.h.
|
private |
Definition at line 151 of file TRTDigitizationTool.h.
|
private |
Definition at line 154 of file TRTDigitizationTool.h.
|
private |
Definition at line 152 of file TRTDigitizationTool.h.
|
private |
Handle on the particle property service.
Definition at line 168 of file TRTDigitizationTool.h.
|
private |
Definition at line 141 of file TRTDigitizationTool.h.
|
private |
Definition at line 142 of file TRTDigitizationTool.h.
|
private |
Definition at line 145 of file TRTDigitizationTool.h.
|
private |
Random number service.
Definition at line 129 of file TRTDigitizationTool.h.
|
private |
Definition at line 149 of file TRTDigitizationTool.h.
|
private |
Definition at line 147 of file TRTDigitizationTool.h.
|
private |
Definition at line 126 of file TRTDigitizationTool.h.
|
private |
Definition at line 159 of file TRTDigitizationTool.h.
|
private |
|
private |
Definition at line 158 of file TRTDigitizationTool.h.
|
private |
Definition at line 123 of file TRTDigitizationTool.h.
|
private |
Definition at line 124 of file TRTDigitizationTool.h.
|
private |
Configurable properties.
Definition at line 122 of file TRTDigitizationTool.h.
|
private |
Definition at line 139 of file TRTDigitizationTool.h.
|
private |
Definition at line 125 of file TRTDigitizationTool.h.
|
private |
Definition at line 130 of file TRTDigitizationTool.h.
|
private |
Definition at line 144 of file TRTDigitizationTool.h.
|
private |
Vector of all digits.
Definition at line 150 of file TRTDigitizationTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.