ATLAS Offline Software
Tracking
Acts
ActsEvent
ActsEvent
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>
7
#include "
xAODTruth/TruthParticle.h
"
8
#include "
ActsEvent/TrackToTruthParticleAssociation.h
"
9
#include "
xAODMeasurementBase/MeasurementDefs.h
"
10
#include <array>
11
#include <cstdint>
12
13
namespace
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
22
#include "
AthenaKernel/CLASS_DEF.h
"
23
CLASS_DEF
(
ActsTrk::TruthParticleHitCounts
, 226325923, 1 )
24
25
#endif
TrackToTruthParticleAssociation.h
MeasurementDefs.h
ActsTrk::TruthParticleHitCounts
std::unordered_map< const xAOD::TruthParticle *, HitCounterArray > TruthParticleHitCounts
Definition:
TruthParticleHitCounts.h:19
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
ActsTrk
The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout ge...
Definition:
MuonDetectorBuilderTool.cxx:54
TruthParticle.h
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Sun Dec 22 2024 21:22:07 for ATLAS Offline Software by
1.8.18