ATLAS Offline Software
|
#include <ClusterTruthTool.h>
Public Member Functions | |
ClusterTruthTool (const std::string &, const std::string &, const IInterface *) | |
virtual HGTD::ClusterTruthInfo | classifyCluster (const HGTD_Cluster *cluster, const xAOD::TruthParticle *tp, const InDetSimDataCollection *sim_data, const HepMC::GenEvent *hard_scatter_evnt=nullptr) const override final |
The InDetSimDataCollection is a map, connecting Identifiers from the RDOs to InDetSimData objects, that keep a vector of HepMcParticleLink, float pairs, where the float keeps the energy of the given energy deposit. More... | |
Definition at line 25 of file ClusterTruthTool.h.
HGTD::ClusterTruthTool::ClusterTruthTool | ( | const std::string & | t, |
const std::string & | n, | ||
const IInterface * | p | ||
) |
Definition at line 23 of file ClusterTruthTool.cxx.
|
finaloverridevirtual |
The InDetSimDataCollection is a map, connecting Identifiers from the RDOs to InDetSimData objects, that keep a vector of HepMcParticleLink, float pairs, where the float keeps the energy of the given energy deposit.
For HGTD, we store the time of the deposit instead, and can then select the first deposit, since only this one would contribute to the time read out by the ASIC.
[in] | cluster | Hit in HGTD, for which we want the truth information. |
[in] | tp | Truth particle that is potentially matched to the cluster. |
[in] | sim_data | SDO collection storing the truth links of the charged diodes. |
[in] | hard_scatter_evnt | If given, a cluster can be categorised as coming from the HS event, even if the direct match with the truth particle fails. |
Definition at line 28 of file ClusterTruthTool.cxx.