ATLAS Offline Software
Loading...
Searching...
No Matches
IHGTD_ClusterTruthTool.h
Go to the documentation of this file.
1
12
13#ifndef IHGTD_CLUSTERTRUTHTOOL_H
14#define IHGTD_CLUSTERTRUTHTOOL_H
15
16#include "GaudiKernel/IAlgTool.h"
17
19#include "AtlasHepMC/GenEvent.h"
20
21
23
24class HGTD_Cluster;
25
26namespace HGTD {
29 TRUTH_PARTICLE = 1, // originates from the tested truth particle
30 HARD_SCATTER = 2, // originates from a HS particle, but unclear which
31 PILEUP = 3, // originates from a pileup interaction
32 SECONDARY = 4 // originates from some secondary interaction
33};
34
49} // namespace HGTD
50
51class IHGTD_ClusterTruthTool : virtual public IAlgTool {
52
53public:
56
75 const xAOD::TruthParticle* tp,
76 const InDetSimDataCollection* sim_data,
77 const HepMC::GenEvent* hard_scatter_evnt = nullptr) const = 0;
78};
79
80#endif // IHGTD_CLUSTERTRUTHTOOL_H
DeclareInterfaceID(IHGTD_ClusterTruthTool, 1, 0)
Creates the InterfaceID and interfaceID() method.
virtual HGTD::ClusterTruthInfo classifyCluster(const HGTD_Cluster *cluster, const xAOD::TruthParticle *tp, const InDetSimDataCollection *sim_data, const HepMC::GenEvent *hard_scatter_evnt=nullptr) const =0
Checks if the cluster originates from the tested truth particle or if it can be assigned to the hard ...
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration.
TruthParticle_v1 TruthParticle
Typedef to implementation.
bool is_shadowed
Shadowing means that a deposit was left by the truth particle, but it was not the first deposit and i...
bool is_merged
A cluster is considered to be merged if more than one particle deposited energy in a given pad.