ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
eflowRec
src
PFSubtractionEnergyRatioCalculator.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EFLOWREC_PFSUBTRACTIONENERGYRATIOCALCULATOR_H
6
#define EFLOWREC_PFSUBTRACTIONENERGYRATIOCALCULATOR_H
7
8
#include "
AsgMessaging/AsgMessaging.h
"
9
10
#include "
xAODCaloEvent/CaloCluster.h
"
11
12
#include <vector>
13
#include <map>
14
#include <utility>
15
18
19
class
PFSubtractionEnergyRatioCalculator
:
public
asg::AsgMessaging
20
{
21
22
public
:
23
PFSubtractionEnergyRatioCalculator
();
28
void
calculateSubtractedEnergyRatios
(
29
const
std::vector<std::pair<xAOD::CaloCluster*, bool>>&
30
clusterSubtractionList,
31
std::map<xAOD::CaloCluster*, double>& clusterEnergyMap,
32
std::vector<std::pair<float, float>>& clusterSubtractedEnergyRatios)
const
;
38
void
calculateSubtractedEnergyRatiosForAnnih
(
39
const
std::vector<std::pair<xAOD::CaloCluster*, bool>>&
40
clusterSubtractionList,
41
std::map<xAOD::CaloCluster*, double>& clusterEnergyMap,
42
std::vector<std::pair<float, float>>& clusterSubtractedEnergyRatios)
const
;
43
};
44
#endif
AsgMessaging.h
CaloCluster.h
PFSubtractionEnergyRatioCalculator::PFSubtractionEnergyRatioCalculator
PFSubtractionEnergyRatioCalculator()
Definition
PFSubtractionEnergyRatioCalculator.cxx:12
PFSubtractionEnergyRatioCalculator::calculateSubtractedEnergyRatiosForAnnih
void calculateSubtractedEnergyRatiosForAnnih(const std::vector< std::pair< xAOD::CaloCluster *, bool > > &clusterSubtractionList, std::map< xAOD::CaloCluster *, double > &clusterEnergyMap, std::vector< std::pair< float, float > > &clusterSubtractedEnergyRatios) const
If we have decided to annihiliate all clusters in clusterSubtractionList we use this function to set ...
Definition
PFSubtractionEnergyRatioCalculator.cxx:53
PFSubtractionEnergyRatioCalculator::calculateSubtractedEnergyRatios
void calculateSubtractedEnergyRatios(const std::vector< std::pair< xAOD::CaloCluster *, bool > > &clusterSubtractionList, std::map< xAOD::CaloCluster *, double > &clusterEnergyMap, std::vector< std::pair< float, float > > &clusterSubtractedEnergyRatios) const
For each xAOD::CaloCluster in clusterSubtractionList we calculate the ratio of new to old energy afte...
Definition
PFSubtractionEnergyRatioCalculator.cxx:17
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition
AsgMessaging.h:40
Generated on
for ATLAS Offline Software by
1.17.0