![]() |
ATLAS Offline Software
|
Concrete tool that calculates calibration hit truth energies in xAOD::CaloCluster. More...
#include <CaloCalibClusterTruthAttributerTool.h>
Public Member Functions | |
CaloCalibClusterTruthAttributerTool (const std::string &type, const std::string &name, const IInterface *parent) | |
virtual | ~CaloCalibClusterTruthAttributerTool () |
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 override |
This calculates the truth energies of N leading truth particles in a topocluster. More... | |
Private Attributes | |
Gaudi::Property< bool > | m_fullTruthEnergy {this,"storeFullTruthEnergy",false,"Toggle storage of invisible and escaped energy"} |
Toggle storage of invisible and escaped energy - by default this is false, and hence we do not store the invisible or escaped calibration hit truth (ctt) energy. More... | |
Gaudi::Property< bool > | m_useCellWeights {this,"useCellWeights",false,"Toggle whether to use cell weights or not to calculate calibration hit contribution"} |
Toggle whether to use cell weights or not to calculate calibration hit contribution. More... | |
Concrete tool that calculates calibration hit truth energies in xAOD::CaloCluster.
Definition at line 13 of file CaloCalibClusterTruthAttributerTool.h.
CaloCalibClusterTruthAttributerTool::CaloCalibClusterTruthAttributerTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Definition at line 7 of file CaloCalibClusterTruthAttributerTool.cxx.
|
virtualdefault |
|
overridevirtual |
This calculates the truth energies of N leading truth particles in a topocluster.
Definition at line 12 of file CaloCalibClusterTruthAttributerTool.cxx.
|
private |
Toggle storage of invisible and escaped energy - by default this is false, and hence we do not store the invisible or escaped calibration hit truth (ctt) energy.
Hence only the EM and nonEM truth ctt energy is stored by default
Definition at line 28 of file CaloCalibClusterTruthAttributerTool.h.
|
private |
Toggle whether to use cell weights or not to calculate calibration hit contribution.
Definition at line 31 of file CaloCalibClusterTruthAttributerTool.h.