Skip to content

Commit

Permalink
ITS: TrackExtensionStudy (#13568)
Browse files Browse the repository at this point in the history
* ITS: Tracker add constexpr

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackExtension fix dangling reference on vector reallocation

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackExtensionStudy add missed/empty cluster patterns

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackExtensionStudy require MC

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackExtensionStudy Efficiencies

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackerTraits getBinsRect mark as const

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackerTraits mark getEmptyBinsRect as consteval

Avoid invalid read on first call.

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackerTraits move function for readability

Signed-off-by: Felix Schlepper <[email protected]>

* ITS: TrackExtensionStudy more plots

* ITS: TrackerTraits: getBinsRect check layer requested

* ITS: TrackExtension allow steering of cuts&directions

* ITS: TrackExtension switch to fmt for macos

---------

Signed-off-by: Felix Schlepper <[email protected]>
  • Loading branch information
f3sch authored Nov 25, 2024
1 parent 4f7d71b commit 5c590eb
Show file tree
Hide file tree
Showing 13 changed files with 988 additions and 145 deletions.
4 changes: 3 additions & 1 deletion Detectors/ITSMFT/ITS/postprocessing/studies/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@ o2_target_root_dictionary(ITSPostprocessing
HEADERS include/ITSStudies/ITSStudiesConfigParam.h
include/ITSStudies/TrackCuts.h
include/ITSStudies/TrackMethods.h
LINKDEF src/ITSStudiesLinkDef.h)
LINKDEF src/ITSStudiesLinkDef.h)

add_subdirectory(macros)
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MCKinematicsReader;
namespace its::study
{
using mask_t = o2::dataformats::GlobalTrackID::mask_t;
o2::framework::DataProcessorSpec getTrackExtensionStudy(mask_t srcTracksMask, mask_t srcClustersMask, bool useMC, std::shared_ptr<o2::steer::MCKinematicsReader> kineReader);
o2::framework::DataProcessorSpec getTrackExtensionStudy(mask_t srcTracksMask, mask_t srcClustersMask, std::shared_ptr<o2::steer::MCKinematicsReader> kineReader);
} // namespace its::study

} // namespace o2
Expand Down
16 changes: 16 additions & 0 deletions Detectors/ITSMFT/ITS/postprocessing/studies/macros/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#
# This software is distributed under the terms of the GNU General Public
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
#
# In applying this license CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

# o2_add_test_root_macro(
# PostTrackExtension.C
# PUBLIC_LINK_LIBRARIES ROOT::Hist ROOT::RIO ROOT::Core ROOT::Gpad
# LABELS its-study
# COMPILE_ONLY)
Loading

0 comments on commit 5c590eb

Please sign in to comment.