 |
ATLAS Offline Software
|
#include <InDetTestPixelLayerTool.h>
|
| | InDetTestPixelLayerTool (const std::string &name, const std::string &n, const IInterface *p) |
| |
| virtual StatusCode | initialize () override final |
| |
| virtual bool | expectHitInPixelLayer (const EventContext &ctx, const Trk::TrackParticleBase *, int pixel_layer) const override final |
| |
| virtual bool | expectHitInPixelLayer (const EventContext &ctx, const Trk::Track *, int pixel_layer, bool checkBarrelOnly=false) const override final |
| |
| virtual bool | expectHitInPixelLayer (const EventContext &ctx, const Trk::TrackParameters *trackpar, int pixel_layer, bool checkBarrelOnly=false) const override final |
| |
| virtual bool | expectHit (const Trk::TrackParameters *trackpar) const override final |
| |
| virtual bool | getTrackStateOnPixelLayerInfo (const Trk::TrackParticleBase *, std::vector< TrackStateOnPixelLayerInfo > &infoList) const override final |
| |
| virtual bool | getTrackStateOnPixelLayerInfo (const Trk::Track *, std::vector< TrackStateOnPixelLayerInfo > &infoList) const override final |
| |
| virtual bool | getTrackStateOnPixelLayerInfo (const Trk::TrackParameters *trackpar, std::vector< TrackStateOnPixelLayerInfo > &infoList, int pixel_layer=-1, bool checkBarrelOnly=false) const override final |
| |
| virtual double | getFracGood (const Trk::TrackParticleBase *trackpar, int pixel_layer) const override final |
| |
| virtual double | getFracGood (const Trk::TrackParameters *trackpar, int pixel_layer) const override final |
| |
| bool | expectHitInInnermostPixelLayer (const EventContext &ctx, const Trk::Track *track) const |
| |
| bool | expectHitInInnermostPixelLayer (const Trk::Track *track) const |
| |
| bool | expectHitInInnermostPixelLayer (const Trk::TrackParameters *trackpar) const |
| |
| bool | expectHitInNextToInnermostPixelLayer (const EventContext &ctx, const Trk::Track *track) const |
| |
| bool | expectHitInNextToInnermostPixelLayer (const Trk::Track *track) const |
| |
| bool | expectHitInNextToInnermostPixelLayer (const Trk::TrackParameters *trackpar) const |
| |
| bool | getTrackStateOnInnermostPixelLayerInfo (const Trk::TrackParameters *trackpar, std::vector< TrackStateOnPixelLayerInfo > &infoList) const |
| |
| ServiceHandle< StoreGateSvc > & | evtStore () |
| | The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| const ServiceHandle< StoreGateSvc > & | evtStore () const |
| | The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| const ServiceHandle< StoreGateSvc > & | detStore () const |
| | The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
|
| |
| virtual StatusCode | sysInitialize () override |
| | Perform system initialization for an algorithm. More...
|
| |
| virtual StatusCode | sysStart () override |
| | Handle START transition. More...
|
| |
| virtual std::vector< Gaudi::DataHandle * > | inputHandles () const override |
| | Return this algorithm's input handles. More...
|
| |
| virtual std::vector< Gaudi::DataHandle * > | outputHandles () const override |
| | Return this algorithm's output handles. More...
|
| |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Property< T, V, H > &t) |
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &) |
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &) |
| | Declare a new Gaudi property. More...
|
| |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, T &property, const std::string &doc="none") |
| | Declare a new Gaudi property. More...
|
| |
| void | updateVHKA (Gaudi::Details::PropertyBase &) |
| |
| MsgStream & | msg () const |
| |
| MsgStream & | msg (const MSG::Level lvl) const |
| |
| bool | msgLvl (const MSG::Level lvl) const |
| |
|
| bool | isActive (const Trk::TrackParameters *trackpar) const |
| |
| bool | getPixelLayerParameters (const EventContext &ctx, const Trk::TrackParameters *trackpar, std::vector< std::unique_ptr< const Trk::TrackParameters >> &pixelLayerParam) const |
| |
| bool | getPixelLayerParameters (const Trk::TrackParameters *trackpar, std::vector< std::unique_ptr< const Trk::TrackParameters >> &pixelLayerParam) const |
| |
| double | getFracGood (const Trk::TrackParameters *trackpar, double phiRegionSize, double etaRegionSize, const InDet::SiDetectorElementStatus *pixelDetElStatus) const |
| |
| SG::ReadHandle< InDet::SiDetectorElementStatus > | getPixelDetElStatus (const EventContext &ctx) const |
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyArrayType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleType &) |
| | specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
| |
| Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T, V, H > &t, const SG::NotHandleType &) |
| | specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
|
| |
|
| ToolHandle< Trk::IExtrapolator > | m_extrapolator |
| | Pointer to Extrapolator AlgTool. More...
|
| |
| ToolHandle< IInDetConditionsTool > | m_pixelCondSummaryTool |
| | Handles to IConditionsSummaryServices for Pixels. More...
|
| |
| SG::ReadHandleKey< InDet::SiDetectorElementStatus > | m_pixelDetElStatus {this, "PixelDetElStatus", "", "Key of SiDetectorElementStatus for Pixel"} |
| | Optional read handle to get status data to test whether a pixel detector element is good. More...
|
| |
| const AtlasDetectorID * | m_idHelper |
| | detector helper More...
|
| |
| const PixelID * | m_pixelId |
| | ID pixel helper. More...
|
| |
| BooleanProperty | m_checkActiveAreas {this, "CheckActiveAreas", true} |
| |
| BooleanProperty | m_checkDeadRegions {this, "CheckDeadRegions", true} |
| |
| BooleanProperty | m_checkDisabledFEs {this, "CheckDisabledFEs", true} |
| |
| DoubleProperty | m_phiRegionSize {this, "PhiRegionSize", 3.} |
| |
| DoubleProperty | m_etaRegionSize {this, "EtaRegionSize", 3.} |
| |
| DoubleProperty | m_goodFracCut {this, "GoodFracCut", 0.5} |
| |
| DoubleProperty | m_outerRadius {this, "OuterRadius", 230.} |
| |
| StoreGateSvc_t | m_evtStore |
| | Pointer to StoreGate (event store by default) More...
|
| |
| StoreGateSvc_t | m_detStore |
| | Pointer to StoreGate (detector store by default) More...
|
| |
| std::vector< SG::VarHandleKeyArray * > | m_vhka |
| |
| bool | m_varHandleArraysDeclared |
| |
Definition at line 45 of file InDetTestPixelLayerTool.h.
◆ StoreGateSvc_t
◆ InDetTestPixelLayerTool()
| InDet::InDetTestPixelLayerTool::InDetTestPixelLayerTool |
( |
const std::string & |
name, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ declareGaudiProperty() [1/4]
specialization for handling Gaudi::Property<SG::VarHandleKeyArray>
Definition at line 170 of file AthCommonDataStore.h.
175 hndl.documentation());
◆ declareGaudiProperty() [2/4]
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition at line 156 of file AthCommonDataStore.h.
161 hndl.documentation());
◆ declareGaudiProperty() [3/4]
specialization for handling Gaudi::Property<SG::VarHandleBase>
Definition at line 184 of file AthCommonDataStore.h.
189 hndl.documentation());
◆ declareGaudiProperty() [4/4]
◆ declareProperty() [1/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| hndl | Object holding the property value. |
| doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 245 of file AthCommonDataStore.h.
250 this->declare(hndl.
vhKey());
251 hndl.
vhKey().setOwner(
this);
253 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [2/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| hndl | Object holding the property value. |
| doc | Documentation string for the property. |
This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.
Definition at line 221 of file AthCommonDataStore.h.
229 return PBASE::declareProperty(
name,hndl,
doc);
◆ declareProperty() [3/6]
◆ declareProperty() [4/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| property | Object holding the property value. |
| doc | Documentation string for the property. |
This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.
Definition at line 333 of file AthCommonDataStore.h.
338 return PBASE::declareProperty(
name, property,
doc);
◆ declareProperty() [5/6]
Declare a new Gaudi property.
- Parameters
-
| name | Name of the property. |
| property | Object holding the property value. |
| doc | Documentation string for the property. |
This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.
Definition at line 352 of file AthCommonDataStore.h.
◆ declareProperty() [6/6]
◆ detStore()
◆ evtStore() [1/2]
◆ evtStore() [2/2]
◆ expectHit()
will be set to true if at least one good module is passed
pass good module -> hit is expected on pixelLayer
check dead regions
pass good module -> hit is expected on pixelLayer
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 199 of file InDetTestPixelLayerTool.cxx.
209 const EventContext& ctx = Gaudi::Hive::currentContext();
228 ATH_MSG_DEBUG(
"b-layer in dead region: fracGood = " << fracGood);
232 ATH_MSG_DEBUG(
"Condition Summary: not checking dead regions");
◆ expectHitInInnermostPixelLayer() [1/3]
| bool InDet::IInDetTestPixelLayerTool::expectHitInInnermostPixelLayer |
( |
const EventContext & |
ctx, |
|
|
const Trk::Track * |
track |
|
) |
| const |
|
inlineinherited |
◆ expectHitInInnermostPixelLayer() [2/3]
| bool InDet::IInDetTestPixelLayerTool::expectHitInInnermostPixelLayer |
( |
const Trk::Track * |
track | ) |
const |
|
inlineinherited |
◆ expectHitInInnermostPixelLayer() [3/3]
◆ expectHitInNextToInnermostPixelLayer() [1/3]
| bool InDet::IInDetTestPixelLayerTool::expectHitInNextToInnermostPixelLayer |
( |
const EventContext & |
ctx, |
|
|
const Trk::Track * |
track |
|
) |
| const |
|
inlineinherited |
◆ expectHitInNextToInnermostPixelLayer() [2/3]
| bool InDet::IInDetTestPixelLayerTool::expectHitInNextToInnermostPixelLayer |
( |
const Trk::Track * |
track | ) |
const |
|
inlineinherited |
◆ expectHitInNextToInnermostPixelLayer() [3/3]
◆ expectHitInPixelLayer() [1/3]
| bool InDet::InDetTestPixelLayerTool::expectHitInPixelLayer |
( |
const EventContext & |
ctx, |
|
|
const Trk::Track * |
track, |
|
|
int |
pixel_layer, |
|
|
bool |
checkBarrelOnly = false |
|
) |
| const |
|
finaloverridevirtual |
◆ expectHitInPixelLayer() [2/3]
| bool InDet::InDetTestPixelLayerTool::expectHitInPixelLayer |
( |
const EventContext & |
ctx, |
|
|
const Trk::TrackParameters * |
trackpar, |
|
|
int |
pixel_layer, |
|
|
bool |
checkBarrelOnly = false |
|
) |
| const |
|
finaloverridevirtual |
will be set to true if at least one good module is passed
pass good module -> hit is expected on pixelLayer
check dead regions
pass good module -> hit is expected on pixelLayer
check active area (check edges)
pass good module -> hit is expected on pixelLayer
pixelLayer param
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 120 of file InDetTestPixelLayerTool.cxx.
126 bool expect_hit =
false;
128 std::vector<std::unique_ptr<const Trk::TrackParameters>> pixelLayerParam;
135 for (std::unique_ptr<const Trk::TrackParameters>&
p : pixelLayerParam) {
137 if (!(
p->associatedSurface().associatedDetectorElement()))
140 p->associatedSurface().associatedDetectorElement()->identify();
146 pixelDetElStatus->isGood(
p->associatedSurface().associatedDetectorElement()->identifyHash()),
150 pixelDetElStatus->isGood(
p->associatedSurface().associatedDetectorElement()->identifyHash())) ||
168 ATH_MSG_DEBUG(
"b-layer in dead region: fracGood = " << fracGood);
172 ATH_MSG_DEBUG(
"Condition Summary: not checking dead regions");
179 "Condition Summary: b-layer good but outside active area");
185 "Condition Summary: b-layer good, active areas not checked");
◆ expectHitInPixelLayer() [3/3]
◆ extraDeps_update_handler()
Add StoreName to extra input/output deps as needed.
use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given
◆ getFracGood() [1/3]
not exactly on the edge
not exactly on the edge
Definition at line 600 of file InDetTestPixelLayerTool.cxx.
608 trkParam->associatedSurface().associatedDetectorElement()->identify();
611 const EventContext& ctx = Gaudi::Hive::currentContext();
613 bool is_good ( ( pixelDetElStatus && pixelDetElStatus->
isGood(id_hash))
621 double error_locx = -9999;
622 double error_locy = -9999;
624 if (trkParam->covariance()) {
633 if (trkParam->covariance()) {
634 phitol = phiRegionSize * error_locx;
635 etatol = etaRegionSize * error_locy;
640 const auto*
tmp = trkParam->associatedSurface().associatedDetectorElement();
648 "Failed to cast TrackParameters associated surface to SiDetectorElement");
659 "could not get pixel module design, returning 0 for getFracGood");
665 double startLocX = locx - phitol;
666 double startLocY = locy - etatol;
668 double endLocX = locx + phitol;
669 double endLocY = locy + etatol;
674 double etaDist = -9999;
675 double phiDist = -9999;
680 locx += (std::abs(phiDist) + 1
e-6);
682 locy += (std::abs(etaDist) + 1
e-6);
685 startLocX += (std::abs(phiDist) + 1
e-6);
687 startLocY += (std::abs(etaDist) + 1
e-6);
690 endLocX -= (std::abs(phiDist) + 1
e-6);
692 endLocY -= (std::abs(etaDist) + 1
e-6);
702 std::array<InDetDD::PixelDiodeTree::CellIndexType,2> diode_idx(si_param.
computeIndex(LocPos));
710 pixelDetElStatus->
isChipGood(id_hash, feValue),
713 pixelDetElStatus->
isChipGood(id_hash, feValue)) ||
735 if (pixelDetElStatus) {
◆ getFracGood() [2/3]
pixelLayer param
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 260 of file InDetTestPixelLayerTool.cxx.
264 std::vector<std::unique_ptr<const Trk::TrackParameters>> pixelLayerParam;
269 bool found_layer =
false;
270 for (std::unique_ptr<const Trk::TrackParameters>&
p : pixelLayerParam) {
271 if (!(
p->associatedSurface().associatedDetectorElement()))
274 p->associatedSurface().associatedDetectorElement()->identify();
287 const EventContext& ctx = Gaudi::Hive::currentContext();
290 for (std::unique_ptr<const Trk::TrackParameters>&
p : pixelLayerParam) {
292 if (!(
p->associatedSurface().associatedDetectorElement()))
295 p->associatedSurface().associatedDetectorElement()->identify();
305 pixelDetElStatus->isGood(
p->associatedSurface().associatedDetectorElement()->identifyHash())) ||
315 "Condition Summary: b-layer good but outside active area");
◆ getFracGood() [3/3]
◆ getPixelDetElStatus()
◆ getPixelLayerParameters() [1/2]
all params
Definition at line 541 of file InDetTestPixelLayerTool.cxx.
550 if(std::abs(trackpar->
position().z())>5000.){
551 ATH_MSG_DEBUG(
"Pathological track parameter well outside of tracking detector");
552 ATH_MSG_DEBUG(
"Propagator might have issue with this, discarding");
558 surfTrans.setIdentity();
562 std::vector<std::unique_ptr<Trk::TrackParameters>> paramList =
566 if (paramList.empty()) {
573 " Number of generated parameters by propagator: " << paramList.size());
576 for (std::unique_ptr<Trk::TrackParameters>&
p : paramList) {
580 if (!(
p->associatedSurface().associatedDetectorElement() !=
nullptr &&
581 p->associatedSurface().associatedDetectorElement()->identify() !=
586 id =
p->associatedSurface().associatedDetectorElement()->identify();
593 pixelLayerParam.push_back(std::move(
p));
◆ getPixelLayerParameters() [2/2]
◆ getTrackStateOnInnermostPixelLayerInfo()
◆ getTrackStateOnPixelLayerInfo() [1/3]
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 366 of file InDetTestPixelLayerTool.cxx.
371 std::unique_ptr<const Trk::TrackParameters> startParameters =
nullptr;
373 if (
track->perigeeParameters()) {
374 startParameters =
track->perigeeParameters()->uniqueClone();
375 }
else if (
track->trackParameters()->front()) {
378 Gaudi::Hive::currentContext(),
379 *(
track->trackParameters()->front()),
385 if (!startParameters) {
386 ATH_MSG_WARNING(
"Found Track with no perigee parameters: no b-layer info "
◆ getTrackStateOnPixelLayerInfo() [2/3]
pixelLayer param
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 413 of file InDetTestPixelLayerTool.cxx.
422 std::vector<std::unique_ptr<const Trk::TrackParameters>> pixelLayerParam;
426 const EventContext& ctx = Gaudi::Hive::currentContext();
429 for (std::unique_ptr<const Trk::TrackParameters>& trkParam :
431 TrackStateOnPixelLayerInfo pixelLayerInfo;
437 pixelLayerInfo.goodFraction(fracGood);
440 trkParam->associatedSurface().associatedDetectorElement()->identify();
441 pixelLayerInfo.moduleId(
id);
446 const auto*
tmp = trkParam->associatedSurface().associatedDetectorElement();
453 ATH_MSG_WARNING(
"Failed to cast TrackParameters associated surface to "
454 "SiDetectorElement");
460 pixelLayerInfo.pixelId(holeId_c);
462 double etaDist = -9999;
463 double phiDist = -9999;
474 <<
", returning false for getTrackStateOnPixelLayerInfo");
477 pixelLayerInfo.distToModuleEdgePhi(phiDist);
478 pixelLayerInfo.distToModuleEdgeEta(etaDist);
480 pixelLayerInfo.globalPosition(trkParam->position());
482 pixelLayerInfo.localX(locPos[
Trk::locX]);
483 pixelLayerInfo.localY(locPos[
Trk::locY]);
485 pixelLayerInfo.theta(trkParam->parameters()[
Trk::theta]);
486 pixelLayerInfo.phi(trkParam->parameters()[
Trk::phi0]);
488 float error_locx = -9999;
489 float error_locy = -9999;
491 if (trkParam->covariance()) {
499 pixelLayerInfo.errLocalX(error_locx);
500 pixelLayerInfo.errLocalY(error_locy);
504 pixelDetElStatus->isGood(trkParam->associatedSurface().associatedDetectorElement()->identifyHash()),
508 pixelDetElStatus->isGood(trkParam->associatedSurface().associatedDetectorElement()->identifyHash())) ||
514 if (trkParam->covariance()) {
520 bool isIn = siIn.
in();
534 infoList.push_back(pixelLayerInfo);
◆ getTrackStateOnPixelLayerInfo() [3/3]
◆ initialize()
| StatusCode InDet::InDetTestPixelLayerTool::initialize |
( |
| ) |
|
|
finaloverridevirtual |
Definition at line 41 of file InDetTestPixelLayerTool.cxx.
47 return StatusCode::FAILURE;
52 return StatusCode::FAILURE;
57 return StatusCode::FAILURE;
61 !m_pixelDetElStatus.empty() && !VALIDATE_STATUS_ARRAY_ACTIVATED }));
64 return StatusCode::SUCCESS;
◆ inputHandles()
Return this algorithm's input handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ interfaceID()
| static const InterfaceID& InDet::IInDetTestPixelLayerTool::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
◆ isActive()
checking active material
Definition at line 328 of file InDetTestPixelLayerTool.cxx.
338 if (siElement ==
nullptr) {
340 ATH_MSG_DEBUG(
"TrackParameters do not belong to a Si Element");
345 if (trackpar->covariance()) {
352 ATH_MSG_DEBUG(
"---> extrapolation on bond gap within " << etatol
354 }
else if (!siIn.
in()) {
355 ATH_MSG_DEBUG(
"---> extrapolation not inside (active?) detector within "
356 << phitol <<
" " << etatol <<
", return");
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ outputHandles()
Return this algorithm's output handles.
We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.
◆ renounce()
◆ renounceArray()
◆ sysInitialize()
◆ sysStart()
Handle START transition.
We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.
◆ updateVHKA()
◆ m_checkActiveAreas
| BooleanProperty InDet::InDetTestPixelLayerTool::m_checkActiveAreas {this, "CheckActiveAreas", true} |
|
private |
◆ m_checkDeadRegions
| BooleanProperty InDet::InDetTestPixelLayerTool::m_checkDeadRegions {this, "CheckDeadRegions", true} |
|
private |
◆ m_checkDisabledFEs
| BooleanProperty InDet::InDetTestPixelLayerTool::m_checkDisabledFEs {this, "CheckDisabledFEs", true} |
|
private |
◆ m_detStore
◆ m_etaRegionSize
| DoubleProperty InDet::InDetTestPixelLayerTool::m_etaRegionSize {this, "EtaRegionSize", 3.} |
|
private |
◆ m_evtStore
◆ m_extrapolator
Initial value:{
this,
"Extrapolator",
"Trk::Extrapolator/InDetExtrapolator",
"Extrapolator used to extrapolate to layers"
}
Pointer to Extrapolator AlgTool.
Definition at line 118 of file InDetTestPixelLayerTool.h.
◆ m_goodFracCut
| DoubleProperty InDet::InDetTestPixelLayerTool::m_goodFracCut {this, "GoodFracCut", 0.5} |
|
private |
◆ m_idHelper
◆ m_outerRadius
| DoubleProperty InDet::InDetTestPixelLayerTool::m_outerRadius {this, "OuterRadius", 230.} |
|
private |
◆ m_phiRegionSize
| DoubleProperty InDet::InDetTestPixelLayerTool::m_phiRegionSize {this, "PhiRegionSize", 3.} |
|
private |
◆ m_pixelCondSummaryTool
Initial value:{
this,
"PixelSummaryTool",
"PixelConditionsSummaryTool/InDetPixelConditionsSummaryTool",
"Tool to retrieve Pixel Conditions summary"
}
Handles to IConditionsSummaryServices for Pixels.
Definition at line 126 of file InDetTestPixelLayerTool.h.
◆ m_pixelDetElStatus
◆ m_pixelId
◆ m_varHandleArraysDeclared
◆ m_vhka
The documentation for this class was generated from the following files:
def retrieve(aClass, aKey=None)
bool is_pixel(Identifier id) const
Identifier identifierOfPosition(const Amg::Vector2D &localPos) const
Full identifier of the cell for a given position: assumes a raw local position (no Lorentz shift)
const TrkDetElementBase * associatedDetectorElement() const
return associated Detector Element
bool isValid() const
return true if this proxy refers to a valide diode
SiIntersect inDetector(const Amg::Vector2D &localPosition, double phiTol, double etaTol) const
Test that it is in the active region.
bool isChipGood(IdentifierHash hash, unsigned int chip) const
const Amg::Vector3D & position() const
Access method for the position.
Eigen::Matrix< double, 2, 1 > Vector2D
virtual const Surface & associatedSurface() const override=0
Access to the Surface associated to the Parameters.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
double getGoodFraction(const InDet::SiDetectorElementStatus &pixelDetElStatus, const InDetDD::PixelModuleDesign &design, const PixelID &pixelID, const IdentifierHash &modulIdHash, const Identifier &startId, const Identifier &endId)
Get The fraction of good chips the pixel of a pixel array is connected to.
PixelDiodeTree::DiodeProxy diodeProxyFromPosition(const Amg::Vector2D &pos) const
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
virtual Identifier identify() const =0
Identifier.
#define ATH_MSG_VERBOSE(x)
const std::string & key() const
Return the StoreGate ID for the referenced object.
bool empty() const
Test if the key is blank.
static unsigned int getFE(const PixelDiodeTree::DiodeProxy &diode_proxy)
PixelDiodeTree::DiodeProxyWithPosition diodeProxyFromIdxCachePosition(const std::array< PixelDiodeTree::IndexType, 2 > &idx) const
bool is_valid() const
Check if id is in a valid state.
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module) const
For a single crystal.
virtual double etaPitch() const
Pitch in eta direction.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual void setOwner(IDataHandleHolder *o)=0
virtual double phiPitch() const
Pitch in phi direction.
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
std::array< PixelDiodeTree::CellIndexType, 2 > computeIndex(const Vector2D &pos) const
Compute the full 2D index (row, column) of the diode in the full diode matrix.
A diode proxy which caches the position of a diode.
bool is_barrel(const Identifier &id) const
Test for barrel - WARNING: id MUST be pixel id, otherwise answer is not accurate. Use SiliconID for g...
IdentifierHash wafer_hash(Identifier wafer_id) const
wafer hash from id
#define VALIDATE_STATUS_ARRAY(use_info, info_val, summary_val)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
virtual void distanceToDetectorEdge(const SiLocalPosition &localPosition, double &etaDist, double &phiDist) const
Returns distance to nearest detector active edge +ve = inside -ve = outside.
Eigen::Affine3d Transform3D
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
virtual void renounce()=0
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Amg::Vector2D localPosition() const
Access method for the local coordinates, local parameter definitions differ for each surface type.
int layer_disk(const Identifier &id) const
bool isGood(IdentifierHash hash) const
std::string show_to_string(Identifier id, const IdContext *context=0, char sep='.') const
or provide the printout in string form
Helper class to access parameters of a diode.
#define ATH_MSG_WARNING(x)
Identifier pixel_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int phi_index, int eta_index) const
For an individual pixel.
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
virtual IdentifierHash identifyHash() const =0
Identifier hash.
bool nearBondGap(const Amg::Vector2D &localPosition, double etaTol) const
Test if near bond gap within tolerances.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
virtual const SiDetectorDesign & design() const override final
access to the local description (inline):