![]() |
ATLAS Offline Software
|
#include <PixelFastDigitizationTool.h>
Public Member Functions | |
PixelFastDigitizationTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor with parameters. More... | |
~PixelFastDigitizationTool () | |
Destructor. More... | |
StatusCode | initialize () |
StatusCode | prepareEvent (const EventContext &ctx, unsigned int) |
StatusCode | processBunchXing (int bunchXing, SubEventIterator bSubEvents, SubEventIterator eSubEvents) |
StatusCode | processAllSubEvents (const EventContext &ctx) |
StatusCode | mergeEvent (const EventContext &ctx) |
StatusCode | digitize (const EventContext &ctx, TimedHitCollection< SiHit > &thpcsi) |
StatusCode | createAndStoreRIOs (const EventContext &ctx) |
Private Types | |
typedef std::multimap< IdentifierHash, InDet::PixelCluster * > | Pixel_detElement_RIO_map |
Private Member Functions | |
PixelFastDigitizationTool () | |
PixelFastDigitizationTool (const PixelFastDigitizationTool &) | |
PixelFastDigitizationTool & | operator= (const PixelFastDigitizationTool &) |
Trk::DigitizationModule * | buildDetectorModule (const InDetDD::SiDetectorElement *) const |
Static Private Member Functions | |
static bool | areNeighbours (const std::vector< Identifier > &group, const Identifier &rdoID, const InDetDD::SiDetectorElement *, const PixelID &pixelID) |
static Amg::Vector3D | CalculateIntersection (const Amg::Vector3D &Point, const Amg::Vector3D &Direction, Amg::Vector2D PlaneBorder, double halfthickness) |
static void | Diffuse (HepGeom::Point3D< double > &localEntry, HepGeom::Point3D< double > &localExit, double shiftX, double shiftY) |
Private Attributes | |
TimedHitCollection< SiHit > * | m_thpcsi {} |
ServiceHandle< IAthRNGSvc > | m_rndmSvc {this, "RndmSvc", "AthRNGSvc", ""} |
Random number service. More... | |
StringProperty | m_randomEngineName {this, "RndmEngine", "FastPixelDigitization"} |
Name of the random number stream. More... | |
const PixelID * | m_pixel_ID {} |
Handle to the ID helper. More... | |
PublicToolHandle< InDet::ClusterMakerTool > | m_clusterMaker {this, "ClusterMaker", "InDet::ClusterMakerTool/FatrasClusterMaker"} |
ToolHandle to ClusterMaker. More... | |
ToolHandle< ISiLorentzAngleTool > | m_lorentzAngleTool {this, "LorentzAngleTool", "PixelLorentzAngleTool", "Tool to retreive Lorentz angle"} |
BooleanProperty | m_pixUseClusterMaker {this, "PixelUseClusterMaker", true} |
use the pixel cluster maker or not More... | |
InDet::PixelClusterContainer * | m_pixelClusterContainer {} |
the PixelClusterContainer More... | |
StringProperty | m_pixel_SiClustersName {this, "PixelClusterContainerName", "PixelClusters"} |
ServiceHandle< PileUpMergeSvc > | m_mergeSvc {this, "MergeSvc", "PileUpMergeSvc"} |
PileUp Merge service. More... | |
IntegerProperty | m_HardScatterSplittingMode {this, "HardScatterSplittingMode", 0, "Control pileup & signal splitting"} |
Process all SiHit or just those from signal or background events. More... | |
bool | m_HardScatterSplittingSkipper {false} |
Pixel_detElement_RIO_map * | m_pixelClusterMap {} |
StringProperty | m_prdTruthNamePixel {this, "TruthNamePixel", "PRD_MultiTruthPixel"} |
PRD_MultiTruthCollection * | m_pixPrdTruth {} |
the PRD truth map for Pixel measurements More... | |
PublicToolHandle< InDet::PixelGangedAmbiguitiesFinder > | m_gangedAmbiguitiesFinder {this, "gangedAmbiguitiesFinder", "InDet::PixelGangedAmbiguitiesFinder"} |
StringProperty | m_inputObjectName {this, "InputObjectName", "PixelHits"} |
std::vector< SiHitCollection * > | m_siHitCollList {} |
name of the sub event hit collections. More... | |
double | m_pixTanLorentzAngleScalor {1.} |
scale the lorentz angle effect More... | |
BooleanProperty | m_pixEmulateSurfaceCharge {this, "PixelEmulateSurfaceCharge", true} |
emulate the surface charge More... | |
DoubleProperty | m_pixSmearPathLength {this, "PixelSmearPathSigma", 0.01} |
the 2. More... | |
BooleanProperty | m_pixSmearLandau {this, "PixelSmearLandau", true} |
if true : landau else: gauss More... | |
DoubleProperty | m_pixMinimalPathCut {this, "PixelMinimalPathLength", 0.06} |
the 1. More... | |
DoubleProperty | m_pixPathLengthTotConv {this, "PixelPathLengthTotConversion", 125.} |
from path length to tot More... | |
BooleanProperty | m_pixModuleDistortion {this, "PixelEmulateModuleDistortion", true} |
simulationn of module bowing More... | |
DoubleArrayProperty | m_pixPhiError {this, "PixelErrorPhi", {} } |
phi error when not using the ClusterMaker More... | |
DoubleArrayProperty | m_pixEtaError {this, "PixelErrorEta", {} } |
eta error when not using the ClusterMaker More... | |
IntegerProperty | m_pixErrorStrategy {this, "PixelErrorStrategy", 2} |
error strategy for the ClusterMaker More... | |
DoubleProperty | m_pixDiffShiftBarrX {this, "PixDiffShiftBarrX", 0.005} |
DoubleProperty | m_pixDiffShiftBarrY {this, "PixDiffShiftBarrY", 0.005} |
DoubleProperty | m_pixDiffShiftEndCX {this, "PixDiffShiftEndCX", 0.008} |
DoubleProperty | m_pixDiffShiftEndCY {this, "PixDiffShiftEndCY", 0.008} |
DoubleProperty | m_ThrConverted {this, "ThrConverted", 50000} |
bool | m_mergeCluster {true} |
enable the merging of neighbour Pixel clusters > More... | |
short | m_splitClusters {0} |
merging parameter used to define two clusters as neighbour > More... | |
bool | m_acceptDiagonalClusters {true} |
merging parameter used to define two clusters as neighbour > More... | |
StringProperty | m_pixelClusterAmbiguitiesMapName {this, "PixelClusterAmbiguitiesMapName", "PixelClusterAmbiguitiesMap"} |
InDet::PixelGangedClusterAmbiguities * | m_ambiguitiesMap {} |
ServiceHandle< InDetDD::IPixelReadoutManager > | m_pixelReadout {this, "PixelReadoutManager", "PixelReadoutManager", "Pixel readout manager" } |
SG::ReadCondHandleKey< PixelChargeCalibCondData > | m_chargeDataKey {this, "PixelChargeCalibCondData", "PixelChargeCalibCondData", "Pixel charge calibration data"} |
SG::ReadCondHandleKey< PixelCalib::PixelOfflineCalibData > | m_offlineCalibDataKey {this, "PixelOfflineCalibData", "PixelOfflineCalibData", "Pixel offline calibration data"} |
SG::ReadCondHandleKey< PixelDistortionData > | m_distortionKey {this, "PixelDistortionData", "PixelDistortionData", "Output readout distortion data"} |
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > | m_pixelDetEleCollKey {this, "PixelDetEleCollKey", "PixelDetectorElementCollection", "Key of SiDetectorElementCollection for Pixel"} |
PublicToolHandle< Trk::IModuleStepper > | m_digitizationStepper {this, "DigitizationStepper", "Trk::PlanarModuleStepper"} |
structors and AlgTool implementation | |
virtual bool | toProcess (int bunchXing) const override |
the method this base class helps implementing More... | |
virtual StatusCode | processAllSubEvents (const EventContext &ctx)=0 |
dummy implementation to allow compilation while all Digitization packages are migrated to use this new interface. More... | |
virtual bool | filterPassed () const override |
dummy implementation of passing filter More... | |
virtual void | resetFilter () override |
dummy implementation of filter reset More... | |
Gaudi::Property< int > | m_firstXing |
Gaudi::Property< int > | m_lastXing |
Gaudi::Property< int > | m_vetoPileUpTruthLinks |
bool | m_filterPassed {true} |
Definition at line 59 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 110 of file PixelFastDigitizationTool.h.
PixelFastDigitizationTool::PixelFastDigitizationTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Constructor with parameters.
Definition at line 69 of file PixelFastDigitizationTool.cxx.
PixelFastDigitizationTool::~PixelFastDigitizationTool | ( | ) |
Destructor.
Definition at line 76 of file PixelFastDigitizationTool.cxx.
|
private |
|
private |
|
staticprivate |
Definition at line 881 of file PixelFastDigitizationTool.cxx.
|
private |
Definition at line 921 of file PixelFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 981 of file PixelFastDigitizationTool.cxx.
StatusCode PixelFastDigitizationTool::createAndStoreRIOs | ( | const EventContext & | ctx | ) |
Definition at line 821 of file PixelFastDigitizationTool.cxx.
|
staticprivate |
Definition at line 1014 of file PixelFastDigitizationTool.cxx.
StatusCode PixelFastDigitizationTool::digitize | ( | const EventContext & | ctx, |
TimedHitCollection< SiHit > & | thpcsi | ||
) |
Definition at line 403 of file PixelFastDigitizationTool.cxx.
|
inlineoverridevirtualinherited |
|
virtual |
Reimplemented from PileUpToolBase.
Definition at line 83 of file PixelFastDigitizationTool.cxx.
StatusCode PixelFastDigitizationTool::mergeEvent | ( | const EventContext & | ctx | ) |
Definition at line 320 of file PixelFastDigitizationTool.cxx.
|
private |
StatusCode PixelFastDigitizationTool::prepareEvent | ( | const EventContext & | ctx, |
unsigned int | |||
) |
Definition at line 153 of file PixelFastDigitizationTool.cxx.
|
virtual |
Reimplemented from PileUpToolBase.
Definition at line 204 of file PixelFastDigitizationTool.cxx.
|
inherited |
dummy implementation to allow compilation while all Digitization packages are migrated to use this new interface.
|
virtual |
Reimplemented from PileUpToolBase.
Definition at line 163 of file PixelFastDigitizationTool.cxx.
|
inlineoverridevirtualinherited |
dummy implementation of filter reset
Reimplemented in MergeTruthJetsTool.
Definition at line 51 of file PileUpToolBase.h.
|
inlineoverridevirtualinherited |
the method this base class helps implementing
Reimplemented in MergeHijingParsTool, and MergeTrackRecordCollTool.
Definition at line 32 of file PileUpToolBase.h.
|
private |
merging parameter used to define two clusters as neighbour >
Definition at line 140 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 142 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 146 of file PixelFastDigitizationTool.h.
|
private |
ToolHandle to ClusterMaker.
Definition at line 99 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 164 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 151 of file PixelFastDigitizationTool.h.
|
protectedinherited |
Definition at line 60 of file PileUpToolBase.h.
|
protectedinherited |
Definition at line 54 of file PileUpToolBase.h.
|
private |
Definition at line 116 of file PixelFastDigitizationTool.h.
|
private |
Process all SiHit or just those from signal or background events.
Definition at line 107 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 108 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 118 of file PixelFastDigitizationTool.h.
|
protectedinherited |
Definition at line 56 of file PileUpToolBase.h.
|
private |
Definition at line 100 of file PixelFastDigitizationTool.h.
|
private |
enable the merging of neighbour Pixel clusters >
Definition at line 138 of file PixelFastDigitizationTool.h.
|
private |
PileUp Merge service.
Definition at line 106 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 149 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 132 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 133 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 134 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 135 of file PixelFastDigitizationTool.h.
Handle to the ID helper.
Definition at line 97 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 104 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 141 of file PixelFastDigitizationTool.h.
|
private |
the PixelClusterContainer
Definition at line 103 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 111 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 154 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 143 of file PixelFastDigitizationTool.h.
|
private |
emulate the surface charge
Definition at line 123 of file PixelFastDigitizationTool.h.
|
private |
error strategy for the ClusterMaker
Definition at line 131 of file PixelFastDigitizationTool.h.
|
private |
eta error when not using the ClusterMaker
Definition at line 130 of file PixelFastDigitizationTool.h.
|
private |
the 1.
model parameter: minimal 3D path in pixel
Definition at line 126 of file PixelFastDigitizationTool.h.
|
private |
simulationn of module bowing
Definition at line 128 of file PixelFastDigitizationTool.h.
|
private |
from path length to tot
Definition at line 127 of file PixelFastDigitizationTool.h.
|
private |
phi error when not using the ClusterMaker
Definition at line 129 of file PixelFastDigitizationTool.h.
|
private |
the PRD truth map for Pixel measurements
Definition at line 114 of file PixelFastDigitizationTool.h.
|
private |
if true : landau else: gauss
Definition at line 125 of file PixelFastDigitizationTool.h.
|
private |
|
private |
scale the lorentz angle effect
Definition at line 122 of file PixelFastDigitizationTool.h.
|
private |
use the pixel cluster maker or not
Definition at line 101 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 113 of file PixelFastDigitizationTool.h.
|
private |
Name of the random number stream.
Definition at line 95 of file PixelFastDigitizationTool.h.
|
private |
Random number service.
Definition at line 93 of file PixelFastDigitizationTool.h.
|
private |
name of the sub event hit collections.
Definition at line 120 of file PixelFastDigitizationTool.h.
|
private |
merging parameter used to define two clusters as neighbour >
Definition at line 139 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 91 of file PixelFastDigitizationTool.h.
|
private |
Definition at line 136 of file PixelFastDigitizationTool.h.
|
protectedinherited |
Definition at line 58 of file PileUpToolBase.h.