![]() |
ATLAS Offline Software
|
#include <TRTFastDigitizationTool.h>
Public Member Functions | |
| TRTFastDigitizationTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| StatusCode | mergeEvent (const EventContext &ctx) |
| called at the end of the subevts loop. | |
| StatusCode | processBunchXing (int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents) |
| called for each active bunch-crossing to process current SubEvents bunchXing is in ns | |
| StatusCode | prepareEvent (const EventContext &ctx, const unsigned int) |
| return false if not interested in certain xing times (in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing | |
| StatusCode | processAllSubEvents (const EventContext &ctx) |
| alternative interface which uses the PileUpMergeSvc to obtain all the required SubEvents. | |
| virtual StatusCode | initialize () |
| Initialize. | |
| StatusCode | finalize () |
| Finalize. | |
Private Member Functions | |
| StatusCode | initializeNumericalConstants () |
| StatusCode | setNumericalConstants () |
| StatusCode | produceDriftCircles (const EventContext &ctx, CLHEP::HepRandomEngine *rndmEngine, TimedHitCollection< TRTUncompressedHit > &thpctrt) |
| Identifier | getIdentifier (int hitID, IdentifierHash &hash, Identifier &layer_id, bool &status) const |
| StatusCode | createAndStoreRIOs (const EventContext &ctx, CLHEP::HepRandomEngine *rndmEngine) |
| HepGeom::Point3D< double > | getGlobalPosition (const TimedHitPtr< TRTUncompressedHit > &hit) |
| bool | isArgonStraw (const Identifier &straw_id) const |
| int | gasType (const Identifier &straw_id) const |
| double | getProbHT (int particleEncoding, float kineticEnergy, const Identifier &straw_id, double driftRadiusLoc, double hitGlobalPosition) const |
| double | particleMass (int i) const |
Static Private Member Functions | |
| static double | getDriftRadiusFromXYZ (const TimedHitPtr< TRTUncompressedHit > &hit) |
| static double | HTProbabilityElectron_high_pt (double eta) |
| static double | HTProbabilityElectron_low_pt (double eta) |
| static double | HTProbabilityMuon_5_20 (double eta) |
| static double | HTProbabilityMuon_60 (double eta) |
| static double | strawEfficiency (double driftRadius, int BEC=0) |
| static double | correctionHT (double momentum, Trk::ParticleHypothesis hypothesis) |
Private Attributes | |
| PublicToolHandle< ITRT_DriftFunctionTool > | m_trtDriftFunctionTool {this, "TRT_DriftFunctionTool", "TRT_DriftFunctionTool/FatrasTrtDriftFunctionTool"} |
| bool | m_useTrtElectronPidTool {true} |
| PublicToolHandle< Trk::ITRT_ElectronPidTool > | m_trtElectronPidTool {this, "TRT_ElectronPidTool", "InDet::TRT_ElectronPidToolRun2/InDetTRT_ElectronPidTool"} |
| ToolHandle< ITRT_StrawStatusSummaryTool > | m_trtStrawStatusSummaryTool {this, "TRT_StrawStatusSummaryTool", "InDetTRTStrawStatusSummaryTool"} |
| ServiceHandle< PileUpMergeSvc > | m_mergeSvc {this, "MergeSvc", "PileUpMergeSvc"} |
| ServiceHandle< IAthRNGSvc > | m_rndmSvc {this, "RndmSvc", "AthRNGSvc", ""} |
| Random number service. | |
| StringProperty | m_randomEngineName {this, "RandomStreamName", "FatrasRnd"} |
| StringProperty | m_trtHitCollectionKey {this, "trtHitCollectionName", "TRTUncompressedHits"} |
| std::vector< TRTUncompressedHitCollection * > | m_trtHitCollList |
| SG::WriteHandleKey< InDet::TRT_DriftCircleContainer > | m_trtDriftCircleContainerKey {this, "trtDriftCircleContainer", "TRT_DriftCircles"} |
| SG::WriteHandleKey< PRD_MultiTruthCollection > | m_trtPrdTruthKey {this, "trtPrdMultiTruthCollection", "PRD_MultiTruthTRT"} |
| TimedHitCollection< TRTUncompressedHit > * | m_thpctrt {} |
| std::multimap< Identifier, InDet::TRT_DriftCircle * > | m_driftCircleMap |
| const InDetDD::TRT_DetectorManager * | m_trt_manager {} |
| const TRT_ID * | m_trt_id {} |
| IntegerProperty | m_HardScatterSplittingMode {this, "HardScatterSplittingMode", 0, "Control pileup & signal splitting"} |
| bool | m_HardScatterSplittingSkipper {false} |
| BooleanProperty | m_useEventInfo {this, "useEventInfo", false} |
| SG::ReadHandleKey< xAOD::EventInfo > | m_EventInfoKey { this, "EventInfoKey", "EventInfo", "SG key for EventInfo" } |
| FloatProperty | m_NCollPerEvent {this, "NCollPerEvent", 30} |
| double | m_trtTailFraction {0.0} |
| double | m_trtSigmaDriftRadiusTail {0.0} |
| double | m_trtHighProbabilityBoostBkg {1.} |
| double | m_trtHighProbabilityBoostEle {1.} |
| double | m_cFit [8][5] {} |
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 60 of file TRTFastDigitizationTool.h.
| TRTFastDigitizationTool::TRTFastDigitizationTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 53 of file TRTFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 1027 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 493 of file TRTFastDigitizationTool.cxx.
|
inlineoverridevirtualinherited |
| StatusCode TRTFastDigitizationTool::finalize | ( | ) |
Finalize.
Definition at line 1042 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 725 of file TRTFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 586 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 674 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 616 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 747 of file TRTFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 823 of file TRTFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 847 of file TRTFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 871 of file TRTFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 926 of file TRTFastDigitizationTool.cxx.
|
virtual |
Initialize.
Reimplemented from PileUpToolBase.
Definition at line 61 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 161 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 717 of file TRTFastDigitizationTool.cxx.
| StatusCode TRTFastDigitizationTool::mergeEvent | ( | const EventContext & | ctx | ) |
called at the end of the subevts loop.
Not (necessarily) able to access SubEvents
Definition at line 466 of file TRTFastDigitizationTool.cxx.
|
private |
| StatusCode TRTFastDigitizationTool::prepareEvent | ( | const EventContext & | ctx, |
| const unsigned int | ) |
return false if not interested in certain xing times (in ns) implemented by default in PileUpToolBase as FirstXing<=bunchXing<=LastXing
Definition at line 106 of file TRTFastDigitizationTool.cxx.
|
virtual |
alternative interface which uses the PileUpMergeSvc to obtain all the required SubEvents.
Reimplemented from PileUpToolBase.
Definition at line 424 of file TRTFastDigitizationTool.cxx.
|
virtual |
called for each active bunch-crossing to process current SubEvents bunchXing is in ns
Reimplemented from PileUpToolBase.
Definition at line 119 of file TRTFastDigitizationTool.cxx.
|
private |
Definition at line 253 of file TRTFastDigitizationTool.cxx.
|
inlineoverridevirtualinherited |
dummy implementation of filter reset
Reimplemented in MergeTruthJetsTool.
Definition at line 51 of file PileUpToolBase.h.
|
private |
Definition at line 170 of file TRTFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 982 of file TRTFastDigitizationTool.cxx.
|
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 154 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 134 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 145 of file TRTFastDigitizationTool.h.
|
protectedinherited |
Definition at line 60 of file PileUpToolBase.h.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
private |
Definition at line 141 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 142 of file TRTFastDigitizationTool.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 121 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 147 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 123 of file TRTFastDigitizationTool.h.
|
private |
Random number service.
Definition at line 122 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 133 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 138 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 137 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 130 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 117 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 119 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 152 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 153 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 126 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 127 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 131 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 151 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 120 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 150 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 144 of file TRTFastDigitizationTool.h.
|
private |
Definition at line 118 of file TRTFastDigitizationTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.