ATLAS Offline Software
Calorimeter
CaloCalibHitRec
CaloCalibHitRec
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
12
#include "
CaloSimEvent/CaloCalibrationHit.h
"
13
#include "
xAODCaloEvent/CaloCluster.h
"
14
#include "
xAODTruth/TruthParticle.h
"
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 > >& truthIDTrueCalHitEnergy)
const
= 0;
31
32
DeclareInterfaceID
(
ICaloCalibClusterTruthAttributerTool
,1,0);
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ICaloCalibClusterTruthAttributerTool::DeclareInterfaceID
DeclareInterfaceID(ICaloCalibClusterTruthAttributerTool, 1, 0)
TruthParticle.h
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 > > &truthIDTrueCalHitEnergy) const =0
This calculates the truth energies of N leading truth particles in a topocluster.
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Sun Dec 22 2024 21:11:22 for ATLAS Offline Software by
1.8.18