ATLAS Offline Software
Loading...
Searching...
No Matches
TruthParticleHitCounts.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4#ifndef TRUTHPARTICLEHITCOUNTS_H
5#define TRUTHPARTICLEHITCOUNTS_H
6#include <unordered_map>
10#include <array>
11#include <cstdint>
12
13namespace ActsTrk
14{
15 // constexpr unsigned int NHitCounter = static_cast< std::underlying_type<xAOD::UncalibMeasType>::type >(xAOD::UncalibMeasType::nTypes);
16 // constexpr unsigned int NTruthParticlesPerTrack = 5; // a tiny fraction of measurements will have more than
17 // // 6 associated GenParticles
18 // using HitCounterArray = std::array<uint8_t, NHitCounter>;
19 using TruthParticleHitCounts = std::unordered_map<const xAOD::TruthParticle *,HitCounterArray> ;
20}
21
24
25#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
std::unordered_map< const xAOD::TruthParticle *, HitCounterArray > TruthParticleHitCounts