ATLAS Offline Software
PFSubtractionEnergyRatioCalculator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef PFSUBTRACTIONENERGYRATIOCALCULATOR_H
6 #define PFSUBTRACTIONENERGYRATIOCALCULATOR_H
7 
9 
11 
12 #include <vector>
13 #include <map>
14 #include <utility>
15 
20 {
21 
22 public:
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;
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
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:13
PFSubtractionEnergyRatioCalculator::PFSubtractionEnergyRatioCalculator
PFSubtractionEnergyRatioCalculator()
Definition: PFSubtractionEnergyRatioCalculator.cxx:8
AsgMessaging.h
CaloCluster.h
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:49
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40
PFSubtractionEnergyRatioCalculator
Class to calculate the ratio of new to old energies of CaloClusters after the particle flow charged s...
Definition: PFSubtractionEnergyRatioCalculator.h:20