ATLAS Offline Software
Loading...
Searching...
No Matches
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
18
20{
21
22public:
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
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 ...
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...
Class mimicking the AthMessaging class from the offline software.