7#ifndef SCTHITEFFMONALG_H
8#define SCTHITEFFMONALG_H
27#include "GaudiKernel/ToolHandle.h"
42 virtual StatusCode
initialize() override final;
59 const Trk::TrackParameters* trkParam,
81 ToolHandle<Trk::IResidualPullCalculator>
m_residualPullCalculator{
this,
"ResPullCalc",
"Trk::ResidualPullCalculator/ResidualPullCalculator"};
82 ToolHandle<Trk::IRIO_OnTrackCreator>
m_rotcreator{
this,
"ROTCreator",
"InDet::SCT_ClusterOnTrackTool/SCT_ClusterOnTrackTool"};
83 ToolHandle<Trk::ITrackHoleSearchTool>
m_holeSearchTool{
this,
"HoleSearch",
"InDet::InDetTrackHoleSearchTool"};
85 "SCT_ConfigurationConditionsTool/InDetSCT_ConfigurationConditionsTool",
"Tool to retrieve SCT Configuration Tool"};
98 FloatProperty
m_maxPhiAngle{
this,
"MaxPhiAngle", 40.,
"Degrees, 100 implies no cut."};
100 FloatProperty
m_maxD0{
this,
"Maxd0", 10.,
"mm of D0"};
101 FloatProperty
m_minPt{
this,
"MinPt", 1000.,
"minimu pt in MeV/c"};
105 UnsignedIntegerProperty
m_minSiHits{
this,
"MinimumNumberOfSiHits", 8,
"Threshold for number of Si hits. Count Si hits excluding hits in the wafer under investigation to reduce track selection bias"};
106 UnsignedIntegerProperty
m_maxSiHoles{
this,
"MaximumNumberOfSiHoles", 1,
"Threshold for number of Si holes. Count Si holes excluding holes in the wafer under investigation to reduce track selection bias"};
Scalar phi() const
phi method
Scalar theta() const
theta method
Replaces the BunchCrossing AlgTool used in run1/2.
void swap(DataVector< T > &a, DataVector< T > &b)
See DataVector<T, BASE>::swap().
Property holding a SG store/key/clid from which a ReadHandle is made.
AthMonitorAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
This is an Identifier helper class for the Pixel subdetector.
FloatProperty m_maxPhiAngle
IntegerProperty m_minTRTHits
SG::ReadHandleKey< TrackCollection > m_TrackName
BooleanProperty m_vetoBadChips
int becIdxLayer2Index(const int becIdx, const int layer) const
ToolHandle< Trk::ITrackHoleSearchTool > m_holeSearchTool
UnsignedIntegerProperty m_maxSiHoles
BooleanProperty m_useIDGlobal
int getWaferIndex(const int barrel_bc, const int layer_disk, const int side) const
SG::ReadCondHandleKey< BunchCrossingCondData > m_bunchCrossingKey
FloatProperty m_effdistcut
virtual ~SCTHitEffMonAlg()=default
BooleanProperty m_insideOutOnly
IntegerProperty m_minOtherHits
const PixelID * m_pixelId
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
adds event to the monitoring histograms
SG::ReadCondHandleKey< AtlasFieldCacheCondObj > m_fieldCondObjInputKey
UnsignedIntegerProperty m_maxTracks
int layerIndex2layer(const int index) const
Convert a layer/disk number (0-21) to a layer number (0-8 for endcaps, 0-3 for barrel)
SG::ReadHandleKey< ComTime > m_comTimeName
BooleanProperty m_requireOtherFace
BooleanProperty m_requireGuardRing
int previousChip(double xl, int side, bool swap) const
SG::ReadHandleKey< InDet::SCT_ClusterContainer > m_sctContainerName
IntegerProperty m_minPixelHits
ToolHandle< Trk::IResidualPullCalculator > m_residualPullCalculator
SCT_Monitoring::BecIndex layerIndex2becIndex(const int index) const
ToolHandle< ISCT_ConfigurationConditionsTool > m_configConditions
ToolHandle< Trk::IRIO_OnTrackCreator > m_rotcreator
IntegerProperty m_minSCTHits
double getResidual(const Identifier &surfaceID, const Trk::TrackParameters *trkParam, const InDet::SCT_ClusterContainer *p_sctclcontainer) const
StatusCode findAnglesToWaferSurface(const Amg::Vector3D &mom, const Identifier id, const InDetDD::SiDetectorElementCollection *elements, double &theta, double &phi) const
BooleanProperty m_useSCTorTRT
BooleanProperty m_requireEnclosingHits
UnsignedIntegerProperty m_minSiHits
BooleanProperty m_useTRTPhase
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
FloatProperty m_maxZ0sinTheta
BooleanProperty m_isCosmic
StatusCode failCut(bool value, const std::string &name) const
This is an Identifier helper class for the SCT subdetector.
Property holding a SG store/key/clid from which a ReadHandle is made.
This is an Identifier helper class for the TRT subdetector.
Definition of ATLAS Math & Geometry primitives (Amg)
Ensure that the ATLAS eigen extensions are properly loaded.