ATLAS Offline Software
ICaloCalibClusterTruthAttributerTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 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 
23 class ICaloCalibClusterTruthAttributerTool : virtual public IAlgTool {
24 
25 public:
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 > >& barcodeTrueCalHitEnergy) const = 0;
31 
33 
34 };
35 #endif
CaloCalibrationHit.h
ICaloCalibClusterTruthAttributerTool
Interface class tools calculating calibration hit truth information.
Definition: ICaloCalibClusterTruthAttributerTool.h:23
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
CaloCluster.h
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ICaloCalibClusterTruthAttributerTool::DeclareInterfaceID
DeclareInterfaceID(ICaloCalibClusterTruthAttributerTool, 1, 0)
ICaloCalibClusterTruthAttributerTool::calculateTruthEnergies
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 > > &barcodeTrueCalHitEnergy) const =0
This calculates the truth energies of N leading truth particles in a topocluster.
TruthParticle.h