Skip to content
Snippets Groups Projects
Commit 12d6fdfb authored by Goetz Gaycken's avatar Goetz Gaycken Committed by Graeme Stewart
Browse files

Phase out SCT getStrip method since it does not work for ITK (obo Susumu Oda)

The method uses the encoded information in a dataword. However the 11 bits
are not enough for ITK. Instead the SCT Identifier should be used to extract
this information. (InDetTrackValidation-01-00-08)
parent ef788bac
No related merge requests found
################################################################################
# Package: InDetTrackValidation
################################################################################
# Declare the package name:
atlas_subdir( InDetTrackValidation )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
Control/AthenaKernel
GaudiKernel
InnerDetector/InDetRawEvent/InDetRawData
InnerDetector/InDetRecEvent/InDetPrepRawData
InnerDetector/InDetSimEvent
Tracking/TrkEvent/TrkParameters
Tracking/TrkEvent/TrkTrack
Tracking/TrkValidation/TrkValInterfaces
PRIVATE
Control/DataModel
DetectorDescription/AtlasDetDescr
DetectorDescription/GeoModel/GeoModelInterfaces
Event/EventPrimitives
Event/xAOD/xAODEventInfo
Generators/GeneratorObjects
InnerDetector/InDetConditions/InDetBeamSpotService
InnerDetector/InDetConditions/InDetConditionsSummaryService
InnerDetector/InDetConditions/PixelConditionsServices
InnerDetector/InDetConditions/SCT_ConditionsServices
InnerDetector/InDetConditions/TRT_ConditionsData
InnerDetector/InDetConditions/TRT_ConditionsServices
InnerDetector/InDetDetDescr/InDetIdentifier
InnerDetector/InDetDetDescr/InDetReadoutGeometry
InnerDetector/InDetDetDescr/PixelGeoModel
InnerDetector/InDetDetDescr/SCT_Cabling
InnerDetector/InDetRecEvent/InDetRIO_OnTrack
InnerDetector/InDetValidation/InDetTrackSplitterTool
Tracking/TrkDetDescr/TrkSurfaces
Tracking/TrkEvent/TrkEventPrimitives
Tracking/TrkEvent/TrkMeasurementBase
Tracking/TrkEvent/TrkPrepRawData
Tracking/TrkEvent/TrkRIO_OnTrack
Tracking/TrkEvent/TrkSpacePoint
Tracking/TrkTools/TrkToolInterfaces )
# External dependencies:
find_package( CLHEP )
find_package( HepMC )
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
# Component(s) in the package:
atlas_add_component( InDetTrackValidation
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${HEPMC_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${HEPMC_LIBRARIES} AthenaBaseComps AthenaKernel GaudiKernel InDetRawData InDetPrepRawData InDetSimEvent TrkParameters TrkTrack TrkValInterfaces DataModel AtlasDetDescr EventPrimitives xAODEventInfo GeneratorObjects TRT_ConditionsData TRT_ConditionsServicesLib InDetIdentifier InDetReadoutGeometry SCT_CablingLib InDetRIO_OnTrack TrkSurfaces TrkEventPrimitives TrkMeasurementBase TrkPrepRawData TrkRIO_OnTrack TrkSpacePoint TrkToolInterfaces )
# Install files from the package:
atlas_install_headers( InDetTrackValidation )
......@@ -571,10 +571,11 @@ StatusCode InDet::SCT_ClusterValidationNtupleWriter::execute() {
m_sct_rdoGroupSize->push_back((*p_rdo)->getGroupSize());
totalNumberOfStrips=totalNumberOfStrips+((*p_rdo)->getGroupSize());
Identifier SCT_Identifier = (*p_rdo)->identify();
// SCT_ClusterStruct cluster;
m_sct_firstStrip->push_back((*p_rdo)->getStrip());
m_sct_firstStrip->push_back(m_sctid->strip(SCT_Identifier));
Identifier SCT_Identifier = (*p_rdo)->identify();
//Identifier wafer_id = m_sctid->wafer_id(SCT_Identifier);
m_sct_layer->push_back(thisLayerDisk);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment