|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef THINNINGUTILS_ThinInDetClustersAlg_H
8 #define THINNINGUTILS_ThinInDetClustersAlg_H 1
17 #include "GaudiKernel/ServiceHandle.h"
18 #include "GaudiKernel/ToolHandle.h"
56 {
this,
"ThinPixelHitsOnTrack",
false,
""};
58 {
this,
"ThinSCTHitsOnTrack",
false,
""};
60 {
this,
"ThinTRTHitsOnTrack",
false,
""};
64 {
this,
"StreamName",
"",
"Name of the stream being thinned" };
70 {
this,
"SelectionString",
"InDetTrackParticles.pt>10*GeV",
"Selection string for each TrackParticle container" };
74 {
this,
"InDetTrackParticlesKey",
"InDetTrackParticles",
"" };
80 {
this,
"InDetTrackStatesPixKey",
"PixelMSOSs",
"" };
85 {
this,
"InDetTrackMeasurementsPixKey",
"PixelClusters",
"" };
90 {
this,
"InDetTrackStatesSctKey",
"SCT_MSOSs",
"" };
95 {
this,
"InDetTrackMeasurementsSctKey",
"SCT_Clusters",
"" };
100 {
this,
"InDetTrackStatesTrtKey",
"TRT_MSOSs",
"" };
105 {
this,
"InDetTrackMeasurementsTrtKey",
"TRT_DriftCircles",
"" };
125 const std::vector<bool>& inputMask,
127 std::vector<bool>& outputStatesMask, std::vector<bool>& outputMeasurementsMask)
const;
132 const std::vector<bool>& inputMask,
135 unsigned int& ntot_states,
136 unsigned int& npass_states,
137 unsigned int& npass_measurements)
const;
140 #endif //> !THINNINGUTILS_ThinInDetClustersAlg_H
SG::ThinningHandleKey< xAOD::TrackStateValidationContainer > m_statesSctSGKey
unsigned int m_ntot_pix_measurements
HandleKey object for adding thinning to an object.
StringProperty m_selectionString
Expressions for object thinning selections Default InDetTrackParticles (also accomplished through fla...
unsigned int m_npass_sct_states
MeasurementType
Track state types Subset of enum MeasurementType from Athena: Tracking/TrkEvent/TrkEventPrimitives/Tr...
BooleanProperty m_thinTRTHitsOnTrack
unsigned int m_ntot_pix_states
Counters and keys for xAOD::TrackStateValidation and xAOD::TrackMeasurementValidation containers.
virtual StatusCode execute() override
Athena algorithm's execute hook.
void selectTrackHits(const xAOD::TrackParticleContainer &inputTrackParticles, const std::vector< bool > &inputMask, MeasurementType detTypeToSelect, std::vector< bool > &outputStatesMask, std::vector< bool > &outputMeasurementsMask) const
Select TrackStateValidation and TrackMeasurementValidation objects that are used in the (thinned) tra...
virtual StatusCode finalize() override
Athena algorithm's finalize hook.
unsigned int m_ntot
Counters and keys for xAOD::TrackParticle container.
unsigned int m_ntot_trt_states
virtual ~ThinInDetClustersAlg()=default
Destructor:
unsigned int m_npass_trt_states
SG::ThinningHandleKey< xAOD::TrackStateValidationContainer > m_statesPixSGKey
virtual StatusCode initialize() override
Athena algorithm's initalize hook.
unsigned int m_npass_pix_states
ThinInDetClustersAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
unsigned int m_ntot_sct_states
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::ThinningHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurementsPixSGKey
BooleanProperty m_thinSCTHitsOnTrack
StatusCode filterTrackHits(MeasurementType detTypeToSelect, const xAOD::TrackParticleContainer &inputTrackParticles, const std::vector< bool > &inputMask, const SG::ThinningHandleKey< xAOD::TrackStateValidationContainer > &statesKey, const SG::ThinningHandleKey< xAOD::TrackMeasurementValidationContainer > &measurementsKey, unsigned int &ntot_states, unsigned int &npass_states, unsigned int &npass_measurements) const
unsigned int m_ntot_sct_measurements
StringProperty m_streamName
Stream for object thinning selections.
SG::ThinningHandleKey< xAOD::TrackParticleContainer > m_inDetSGKey
SGKey for TrackParticleContainer.
SG::ThinningHandleKey< xAOD::TrackStateValidationContainer > m_statesTrtSGKey
unsigned int m_npass_sct_measurements
SG::ThinningHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurementsTrtSGKey
@ TrkState_NumberOfMeasurementTypes
unsigned int m_ntot_trt_measurements
HandleKey object for adding thinning to an object.
unsigned int m_npass_trt_measurements
BooleanProperty m_thinPixelHitsOnTrack
Thinning logic.
SG::ReadCondHandleKey< InDetDD::SiDetectorElementCollection > m_SCTDetEleCollKey
For P->T converter of SCT_Clusters.
SG::ThinningHandleKey< xAOD::TrackMeasurementValidationContainer > m_measurementsSctSGKey
unsigned int m_npass_pix_measurements