ATLAS Offline Software
Loading...
Searching...
No Matches
ICaloCalibClusterTruthAttributerTool.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef CALOCALIBHITREC_ICALOCALIBCLUSTERTRUTHATTRIBUTERTOOL_H
6#define CALOCALIBHITREC_ICALOCALIBCLUSTERTRUTHATTRIBUTERTOOL_H
7
8#include "GaudiKernel/IAlgTool.h"
9#include "Identifier/Identifier.h"
10
11//EDM Classes
15
16//c++ includes
17#include <vector>
18#include <map>
19#include <utility>
20
22
23class ICaloCalibClusterTruthAttributerTool : virtual public IAlgTool {
24
25public:
27 virtual StatusCode calculateTruthEnergies(const xAOD::CaloCluster& theCaloCluster
28 , unsigned int numTruthParticles
29 , const std::map<Identifier,std::vector<const CaloCalibrationHit*> >& identifierToCaloHitMap
30 , std::vector<std::pair<unsigned int, double > >& truthIDTrueCalHitEnergy) const = 0;
31
33
34};
35#endif
Interface class tools calculating calibration hit truth information.
virtual StatusCode calculateTruthEnergies(const xAOD::CaloCluster &theCaloCluster, unsigned int numTruthParticles, const std::map< Identifier, std::vector< const CaloCalibrationHit * > > &identifierToCaloHitMap, std::vector< std::pair< unsigned int, double > > &truthIDTrueCalHitEnergy) const =0
This calculates the truth energies of N leading truth particles in a topocluster.
DeclareInterfaceID(ICaloCalibClusterTruthAttributerTool, 1, 0)
CaloCluster_v1 CaloCluster
Define the latest version of the calorimeter cluster class.