|
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 > &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 > &hndl, const SG::VarHandleKeyType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKey> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &) |
| specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &) |
| specialization for handling Gaudi::Property<SG::VarHandleBase> More...
|
|
Gaudi::Details::PropertyBase & | declareGaudiProperty (Gaudi::Property< T > &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...
|
|
ServiceHandle< InDetDD::IPixelReadoutManager > | m_pixelReadout {this, "PixelReadoutManager", "PixelReadoutManager", "Pixel readout manager" } |
|
const AtlasDetectorID * | m_idHelper |
| detector helper More...
|
|
const PixelID * | m_pixelId |
| ID pixel helper. More...
|
|
BooleanProperty | m_checkActiveAreas {this, "CheckActiveAreas", false} |
|
BooleanProperty | m_checkDeadRegions {this, "CheckDeadRegions", false} |
|
BooleanProperty | m_checkDisabledFEs {this, "CheckDisabledFEs", false} |
|
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 46 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 202 of file InDetTestPixelLayerTool.cxx.
212 const EventContext& ctx = Gaudi::Hive::currentContext();
231 ATH_MSG_DEBUG(
"b-layer in dead region: fracGood = " << fracGood);
235 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 123 of file InDetTestPixelLayerTool.cxx.
129 bool expect_hit =
false;
131 std::vector<std::unique_ptr<const Trk::TrackParameters>> pixelLayerParam;
138 for (std::unique_ptr<const Trk::TrackParameters>&
p : pixelLayerParam) {
140 if (!(
p->associatedSurface().associatedDetectorElement()))
143 p->associatedSurface().associatedDetectorElement()->identify();
149 pixelDetElStatus->isGood(
p->associatedSurface().associatedDetectorElement()->identifyHash()),
153 pixelDetElStatus->isGood(
p->associatedSurface().associatedDetectorElement()->identifyHash())) ||
171 ATH_MSG_DEBUG(
"b-layer in dead region: fracGood = " << fracGood);
175 ATH_MSG_DEBUG(
"Condition Summary: not checking dead regions");
182 "Condition Summary: b-layer good but outside active area");
188 "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 603 of file InDetTestPixelLayerTool.cxx.
611 trkParam->associatedSurface().associatedDetectorElement()->identify();
614 const EventContext& ctx = Gaudi::Hive::currentContext();
616 bool is_good ( ( pixelDetElStatus && pixelDetElStatus->
isGood(id_hash))
624 double error_locx = -9999;
625 double error_locy = -9999;
627 if (trkParam->covariance()) {
636 if (trkParam->covariance()) {
637 phitol = phiRegionSize * error_locx;
638 etatol = etaRegionSize * error_locy;
643 const auto*
tmp = trkParam->associatedSurface().associatedDetectorElement();
651 "Failed to cast TrackParameters associated surface to SiDetectorElement");
662 "could not get pixel module design, returning 0 for getFracGood");
668 double startLocX = locx - phitol;
669 double startLocY = locy - etatol;
671 double endLocX = locx + phitol;
672 double endLocY = locy + etatol;
677 double etaDist = -9999;
678 double phiDist = -9999;
683 locx += (std::abs(phiDist) + 1
e-6);
685 locy += (std::abs(etaDist) + 1
e-6);
688 startLocX += (std::abs(phiDist) + 1
e-6);
690 startLocY += (std::abs(etaDist) + 1
e-6);
693 endLocX -= (std::abs(phiDist) + 1
e-6);
695 endLocY -= (std::abs(etaDist) + 1
e-6);
733 if (pixelDetElStatus) {
◆ getFracGood() [2/3]
pixelLayer param
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 263 of file InDetTestPixelLayerTool.cxx.
267 std::vector<std::unique_ptr<const Trk::TrackParameters>> pixelLayerParam;
272 bool found_layer =
false;
273 for (std::unique_ptr<const Trk::TrackParameters>&
p : pixelLayerParam) {
274 if (!(
p->associatedSurface().associatedDetectorElement()))
277 p->associatedSurface().associatedDetectorElement()->identify();
290 const EventContext& ctx = Gaudi::Hive::currentContext();
293 for (std::unique_ptr<const Trk::TrackParameters>&
p : pixelLayerParam) {
295 if (!(
p->associatedSurface().associatedDetectorElement()))
298 p->associatedSurface().associatedDetectorElement()->identify();
308 pixelDetElStatus->isGood(
p->associatedSurface().associatedDetectorElement()->identifyHash())) ||
318 "Condition Summary: b-layer good but outside active area");
◆ getFracGood() [3/3]
◆ getPixelDetElStatus()
◆ getPixelLayerParameters() [1/2]
all params
Definition at line 544 of file InDetTestPixelLayerTool.cxx.
553 if(std::abs(trackpar->
position().z())>5000.){
554 ATH_MSG_DEBUG(
"Pathological track parameter well outside of tracking detector");
555 ATH_MSG_DEBUG(
"Propagator might have issue with this, discarding");
561 surfTrans.setIdentity();
565 std::vector<std::unique_ptr<Trk::TrackParameters>> paramList =
569 if (paramList.empty()) {
576 " Number of generated parameters by propagator: " << paramList.size());
579 for (std::unique_ptr<Trk::TrackParameters>&
p : paramList) {
583 if (!(
p->associatedSurface().associatedDetectorElement() !=
nullptr &&
584 p->associatedSurface().associatedDetectorElement()->identify() !=
589 id =
p->associatedSurface().associatedDetectorElement()->identify();
596 pixelLayerParam.push_back(std::move(
p));
◆ getPixelLayerParameters() [2/2]
◆ getTrackStateOnInnermostPixelLayerInfo()
◆ getTrackStateOnPixelLayerInfo() [1/3]
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 369 of file InDetTestPixelLayerTool.cxx.
374 std::unique_ptr<const Trk::TrackParameters> startParameters =
nullptr;
376 if (
track->perigeeParameters()) {
377 startParameters =
track->perigeeParameters()->uniqueClone();
378 }
else if (
track->trackParameters()->front()) {
381 Gaudi::Hive::currentContext(),
382 *(
track->trackParameters()->front()),
388 if (!startParameters) {
389 ATH_MSG_WARNING(
"Found Track with no perigee parameters: no b-layer info "
◆ getTrackStateOnPixelLayerInfo() [2/3]
pixelLayer param
Implements InDet::IInDetTestPixelLayerTool.
Definition at line 416 of file InDetTestPixelLayerTool.cxx.
425 std::vector<std::unique_ptr<const Trk::TrackParameters>> pixelLayerParam;
429 const EventContext& ctx = Gaudi::Hive::currentContext();
432 for (std::unique_ptr<const Trk::TrackParameters>& trkParam :
434 TrackStateOnPixelLayerInfo pixelLayerInfo;
440 pixelLayerInfo.goodFraction(fracGood);
443 trkParam->associatedSurface().associatedDetectorElement()->identify();
444 pixelLayerInfo.moduleId(
id);
449 const auto*
tmp = trkParam->associatedSurface().associatedDetectorElement();
456 ATH_MSG_WARNING(
"Failed to cast TrackParameters associated surface to "
457 "SiDetectorElement");
463 pixelLayerInfo.pixelId(holeId_c);
465 double etaDist = -9999;
466 double phiDist = -9999;
477 <<
", returning false for getTrackStateOnPixelLayerInfo");
480 pixelLayerInfo.distToModuleEdgePhi(phiDist);
481 pixelLayerInfo.distToModuleEdgeEta(etaDist);
483 pixelLayerInfo.globalPosition(trkParam->position());
485 pixelLayerInfo.localX(locPos[
Trk::locX]);
486 pixelLayerInfo.localY(locPos[
Trk::locY]);
488 pixelLayerInfo.theta(trkParam->parameters()[
Trk::theta]);
489 pixelLayerInfo.phi(trkParam->parameters()[
Trk::phi0]);
491 float error_locx = -9999;
492 float error_locy = -9999;
494 if (trkParam->covariance()) {
502 pixelLayerInfo.errLocalX(error_locx);
503 pixelLayerInfo.errLocalY(error_locy);
507 pixelDetElStatus->isGood(trkParam->associatedSurface().associatedDetectorElement()->identifyHash()),
511 pixelDetElStatus->isGood(trkParam->associatedSurface().associatedDetectorElement()->identifyHash())) ||
517 if (trkParam->covariance()) {
523 bool isIn = siIn.
in();
537 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 }));
67 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 331 of file InDetTestPixelLayerTool.cxx.
341 if (siElement ==
nullptr) {
343 ATH_MSG_DEBUG(
"TrackParameters do not belong to a Si Element");
348 if (trackpar->covariance()) {
355 ATH_MSG_DEBUG(
"---> extrapolation on bond gap within " << etatol
357 }
else if (!siIn.
in()) {
358 ATH_MSG_DEBUG(
"---> extrapolation not inside (active?) detector within "
359 << 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", false} |
|
private |
◆ m_checkDeadRegions
BooleanProperty InDet::InDetTestPixelLayerTool::m_checkDeadRegions {this, "CheckDeadRegions", false} |
|
private |
◆ m_checkDisabledFEs
BooleanProperty InDet::InDetTestPixelLayerTool::m_checkDisabledFEs {this, "CheckDisabledFEs", false} |
|
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 119 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 127 of file InDetTestPixelLayerTool.h.
◆ m_pixelDetElStatus
◆ m_pixelId
◆ m_pixelReadout
◆ 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
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.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
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.
bool is_valid() const
Check if id is in a valid state.
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.
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)
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
#define ATH_MSG_WARNING(x)
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):
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
double getGoodFraction(const InDet::SiDetectorElementStatus &pixelDetElStatus, const InDetDD::IPixelReadoutManager &pixelReadout, const PixelID &pixelID, const Identifier &moduleId, const IdentifierHash &moudlIdHash, const Identifier &startId, const Identifier &endId)
Get The fraction of good chips the pixel of a pixel array is connected to.