ATLAS Offline Software
Public Member Functions | List of all members
IHGTD_ClusterTruthTool Class Referenceabstract

#include <IHGTD_ClusterTruthTool.h>

Inheritance diagram for IHGTD_ClusterTruthTool:
Collaboration diagram for IHGTD_ClusterTruthTool:

Public Member Functions

 DeclareInterfaceID (IHGTD_ClusterTruthTool, 1, 0)
 Creates the InterfaceID and interfaceID() method. More...
 
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 scatter event. More...
 

Detailed Description

Definition at line 51 of file IHGTD_ClusterTruthTool.h.

Member Function Documentation

◆ classifyCluster()

virtual HGTD::ClusterTruthInfo IHGTD_ClusterTruthTool::classifyCluster ( const HGTD_Cluster cluster,
const xAOD::TruthParticle tp,
const InDetSimDataCollection sim_data,
const HepMC::GenEvent *  hard_scatter_evnt = nullptr 
) const
pure virtual

Checks if the cluster originates from the tested truth particle or if it can be assigned to the hard scatter event.

If not, the truth information can be used to determine which category (ClusterTruthOrigin) the cluster comes from.

Parameters
[in]clusterHit in HGTD, for which we want the truth information.
[in]tpTruth particle that is potentially matched to the cluster.
[in]sim_dataSDO collection storing the truth links of the charged diodes.
[in]hard_scatter_evntIf given, a cluster can be categorised as coming from the HS event, even if the direct match with the truth particle fails.
Returns
Struct combining the relevant truth information.

◆ DeclareInterfaceID()

IHGTD_ClusterTruthTool::DeclareInterfaceID ( IHGTD_ClusterTruthTool  ,
,
 
)

Creates the InterfaceID and interfaceID() method.


The documentation for this class was generated from the following file: