![]() |
ATLAS Offline Software
|
#include <StripDigitizationTool.h>
Public Member Functions | |
| StripDigitizationTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| virtual | ~StripDigitizationTool () |
| virtual StatusCode | prepareEvent (const EventContext &ctx, unsigned int) override final |
| Called before processing physics events. | |
| virtual StatusCode | processBunchXing (int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents) override final |
| virtual StatusCode | mergeEvent (const EventContext &ctx) override final |
| virtual StatusCode | initialize () override final |
| virtual StatusCode | processAllSubEvents (const EventContext &ctx) override final |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
Protected Member Functions | |
| bool | digitizeElement (const EventContext &ctx, SiChargedDiodeCollectionMap &chargedDiodes, TimedHitCollection< SiHit > *&thpcsi, CLHEP::HepRandomEngine *rndmEngine) |
| void | applyProcessorTools (SiChargedDiodeCollection *chargedDiodes, CLHEP::HepRandomEngine *rndmEngine) const |
| void | addSDO (SiChargedDiodeCollection *collection, SG::WriteHandle< InDetSimDataCollection > *simDataCollMap) const |
| void | storeTool (ISiChargedDiodesProcessorTool *p_processor) |
Private Member Functions | |
| StatusCode | initServices () |
| initialize the required services | |
| StatusCode | initFrontEndTool () |
| Initialize the StripFrontEnd AlgTool. | |
| StatusCode | initDisabledCells () |
| Initialize the StripRandomDisabledCellGenerator AlgTool. | |
| StatusCode | initSurfaceChargesGeneratorTool () |
| Initialize the StripSurfaceChargesGenerator AlgTool. | |
| StatusCode | createAndStoreRDO (SiChargedDiodeCollection *chDiodeCollection, SG::WriteHandle< SCT_RDO_Container > *rdoContainer) const |
| RDO and SDO methods. | |
| std::unique_ptr< SCT_RDO_Collection > | createRDO (SiChargedDiodeCollection *collection) const |
| Create RDOs from the SiChargedDiodeCollection for the current wafer. | |
| StatusCode | getNextEvent (const EventContext &ctx) |
| void | digitizeAllHits (const EventContext &ctx, SG::WriteHandle< SCT_RDO_Container > *rdoContainer, SG::WriteHandle< InDetSimDataCollection > *simDataCollMap, std::vector< bool > *processedElements, TimedHitCollection< SiHit > *thpcsi, CLHEP::HepRandomEngine *rndmEngine) |
| digitize all hits | |
| void | digitizeNonHits (const EventContext &ctx, SG::WriteHandle< SCT_RDO_Container > *rdoContainer, SG::WriteHandle< InDetSimDataCollection > *simDataCollMap, const std::vector< bool > *processedElements, CLHEP::HepRandomEngine *rndmEngine) const |
| digitize SCT without hits | |
| void | SetupRdoOutputType (Gaudi::Details::PropertyBase &) |
| Called when m_WriteSCT1_RawData is altered. | |
Private Attributes | |
| FloatProperty | m_tfix {this, "FixedTime", -999., "Fixed time for Cosmics run selection"} |
| BooleanProperty | m_enableHits {this, "EnableHits", true, "Enable hits"} |
| BooleanProperty | m_onlyHitElements {this, "OnlyHitElements", false, "Process only elements with hits"} |
| BooleanProperty | m_cosmicsRun {this, "CosmicsRun", false, "Cosmics run selection"} |
| BooleanProperty | m_barrelonly {this, "BarrelOnly", false, "Only Barrel layers"} |
| BooleanProperty | m_randomDisabledCells {this, "RandomDisabledCells", false, "Use Random disabled cells, default no"} |
| BooleanProperty | m_createNoiseSDO {this, "CreateNoiseSDO", false, "Create SDOs for strips with only noise hits (huge increase in SDO collection size"} |
| IntegerProperty | m_HardScatterSplittingMode {this, "HardScatterSplittingMode", 0, "Control pileup & signal splitting. Process all SiHit or just those from signal or background events"} |
| BooleanProperty | m_WriteSCT1_RawData {this, "WriteSCT1_RawData", false, "Write out SCT1_RawData rather than SCT3_RawData"} |
| BooleanProperty | m_onlyUseContainerName {this, "OnlyUseContainerName", true, "Don't use the ReadHandleKey directly. Just extract the container name from it."} |
| SG::ReadHandleKey< SiHitCollection > | m_hitsContainerKey {this, "InputObjectName", "StripHits", "Input HITS collection name"} |
| std::string | m_inputObjectName {""} |
| SG::WriteHandleKey< SCT_RDO_Container > | m_rdoContainerKey {this, "OutputObjectName", "SCT_RDOs", "Output Object name"} |
| SG::WriteHandle< SCT_RDO_Container > | m_rdoContainer |
| RDO container handle. | |
| SG::WriteHandleKey< InDetSimDataCollection > | m_simDataCollMapKey {this, "OutputSDOName", "StripSDO_Map", "Output SDO container name"} |
| SG::WriteHandle< InDetSimDataCollection > | m_simDataCollMap |
| SDO Map handle. | |
| SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_stripDetEleCollKey {this, "StripDetEleCollKey", "ITkStripDetectorElementCollection", "Key of SiDetectorElementCollection for SCT"} |
| ToolHandle< IFrontEnd > | m_sct_FrontEnd {this, "FrontEnd", "StripFrontEnd", "Handle the Front End Electronic tool"} |
| ToolHandle< ISurfaceChargesGenerator > | m_sct_SurfaceChargesGenerator {this, "SurfaceChargesGenerator", "StripSurfaceChargesGenerator", "Choice of using a more detailed charge drift model"} |
| ToolHandle< IRandomDisabledCellGenerator > | m_sct_RandomDisabledCellGenerator {this, "RandomDisabledCellGenerator", "StripRandomDisabledCellGenerator", ""} |
| ServiceHandle< IAthRNGSvc > | m_rndmSvc {this, "RndmSvc", "AthRNGSvc", ""} |
| Random number service. | |
| ServiceHandle< PileUpMergeSvc > | m_mergeSvc {this, "MergeSvc", "PileUpMergeSvc", "Merge service used in Pixel & SCT digitization"} |
| const SCT_ID * | m_detID {nullptr} |
| Handle to the ID helper. | |
| std::unique_ptr< TimedHitCollection< SiHit > > | m_thpcsi {nullptr} |
| std::vector< ISiChargedDiodesProcessorTool * > | m_diodeCollectionTools |
| std::vector< bool > | m_processedElements |
| vector of processed elements - set by digitizeHits() */ | |
| std::vector< std::unique_ptr< SiHitCollection > > | m_hitCollPtrs |
| bool | m_HardScatterSplittingSkipper {false} |
Definition at line 58 of file StripDigitizationTool.h.
| ITk::StripDigitizationTool::StripDigitizationTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Definition at line 44 of file StripDigitizationTool.cxx.
|
virtualdefault |
|
protected |
Definition at line 871 of file StripDigitizationTool.cxx.
|
protected |
Definition at line 542 of file StripDigitizationTool.cxx.
|
private |
RDO and SDO methods.
Create RDOs from the SiChargedDiodeCollection for the current wafer and save to StoreGate
| chDiodeCollection | list of the SiChargedDiodes on the current wafer |
Definition at line 641 of file StripDigitizationTool.cxx.
|
private |
Create RDOs from the SiChargedDiodeCollection for the current wafer.
| collection | list of the SiChargedDiodes on the current wafer |
Definition at line 665 of file StripDigitizationTool.cxx.
|
private |
digitize all hits
Definition at line 297 of file StripDigitizationTool.cxx.
|
protected |
Definition at line 403 of file StripDigitizationTool.cxx.
|
private |
digitize SCT without hits
Definition at line 355 of file StripDigitizationTool.cxx.
|
private |
Definition at line 814 of file StripDigitizationTool.cxx.
|
private |
Initialize the StripRandomDisabledCellGenerator AlgTool.
Definition at line 209 of file StripDigitizationTool.cxx.
|
private |
Initialize the StripFrontEnd AlgTool.
Definition at line 181 of file StripDigitizationTool.cxx.
|
finaloverridevirtual |
Definition at line 56 of file StripDigitizationTool.cxx.
|
private |
initialize the required services
Definition at line 193 of file StripDigitizationTool.cxx.
|
private |
Initialize the StripSurfaceChargesGenerator AlgTool.
Definition at line 165 of file StripDigitizationTool.cxx.
|
inlinestatic |
Definition at line 161 of file StripDigitizationTool.h.
|
finaloverridevirtual |
Definition at line 273 of file StripDigitizationTool.cxx.
|
finaloverridevirtual |
Called before processing physics events.
Definition at line 251 of file StripDigitizationTool.cxx.
|
finaloverridevirtual |
Definition at line 219 of file StripDigitizationTool.cxx.
|
finaloverridevirtual |
Definition at line 554 of file StripDigitizationTool.cxx.
|
private |
Called when m_WriteSCT1_RawData is altered.
Does nothing, but required by Gaudi.
Definition at line 604 of file StripDigitizationTool.cxx.
|
inlineprotected |
Definition at line 84 of file StripDigitizationTool.h.
|
private |
Definition at line 130 of file StripDigitizationTool.h.
|
private |
Definition at line 129 of file StripDigitizationTool.h.
|
private |
Definition at line 132 of file StripDigitizationTool.h.
|
private |
|
private |
Definition at line 154 of file StripDigitizationTool.h.
|
private |
Definition at line 127 of file StripDigitizationTool.h.
|
private |
Definition at line 133 of file StripDigitizationTool.h.
|
private |
Definition at line 157 of file StripDigitizationTool.h.
|
private |
Definition at line 156 of file StripDigitizationTool.h.
|
private |
Definition at line 137 of file StripDigitizationTool.h.
|
private |
Definition at line 138 of file StripDigitizationTool.h.
|
private |
Definition at line 150 of file StripDigitizationTool.h.
|
private |
Definition at line 128 of file StripDigitizationTool.h.
|
private |
Definition at line 136 of file StripDigitizationTool.h.
|
private |
vector of processed elements - set by digitizeHits() */
Definition at line 155 of file StripDigitizationTool.h.
|
private |
Definition at line 131 of file StripDigitizationTool.h.
|
private |
RDO container handle.
Definition at line 141 of file StripDigitizationTool.h.
|
private |
Definition at line 140 of file StripDigitizationTool.h.
|
private |
Random number service.
Definition at line 149 of file StripDigitizationTool.h.
|
private |
Definition at line 146 of file StripDigitizationTool.h.
|
private |
Definition at line 148 of file StripDigitizationTool.h.
|
private |
Definition at line 147 of file StripDigitizationTool.h.
|
private |
SDO Map handle.
Definition at line 143 of file StripDigitizationTool.h.
|
private |
Definition at line 142 of file StripDigitizationTool.h.
|
private |
Definition at line 144 of file StripDigitizationTool.h.
|
private |
Definition at line 126 of file StripDigitizationTool.h.
|
private |
Definition at line 153 of file StripDigitizationTool.h.
|
private |
Definition at line 134 of file StripDigitizationTool.h.