ATLAS Offline Software
PFSubtractionStatusSetter.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 PFSUBTRACTIONSTATUSSETTER_H
6 #define PFSUBTRACTIONSTATUSSETTER_H
7 
9 
11 class eflowCaloObject;
12 
13 #include <vector>
14 #include <utility>
15 
20 {
21 
22 public:
24 
28  const std::vector<std::pair<xAOD::CaloCluster*, bool>>& clusterList,
29  std::vector<std::pair<float, float>>& clusterSubtractedEnergyRatios,
30  eflowCaloObject& thisEflowCaloObject,
31  unsigned int trackIndex) const;
34  void markAllTracksAnnihStatus(eflowCaloObject& thisEflowCaloObject) const;
35 };
36 #endif
PFSubtractionStatusSetter::markAllTracksAnnihStatus
void markAllTracksAnnihStatus(eflowCaloObject &thisEflowCaloObject) const
Set the ratio of new to old cluster energy, to zero, for all cluster matched to all tracks attached t...
Definition: PFSubtractionStatusSetter.cxx:71
eflowCaloObject
An internal EDM object which stores information about systems of associated tracks and calorimeter cl...
Definition: eflowCaloObject.h:33
PFSubtractionStatusSetter::PFSubtractionStatusSetter
PFSubtractionStatusSetter()
Definition: PFSubtractionStatusSetter.cxx:14
PFSubtractionStatusSetter
This class contains a few functions to set the amount of energy removed from a xAOD::CaloCluster by a...
Definition: PFSubtractionStatusSetter.h:20
AsgMessaging.h
CaloCluster.h
PFSubtractionStatusSetter::markSubtractionStatus
void markSubtractionStatus(const std::vector< std::pair< xAOD::CaloCluster *, bool >> &clusterList, std::vector< std::pair< float, float >> &clusterSubtractedEnergyRatios, eflowCaloObject &thisEflowCaloObject, unsigned int trackIndex) const
Set the ratio of new to old cluster energy for each cluster matched to a track with trackIndex.
Definition: PFSubtractionStatusSetter.cxx:17
asg::AsgMessaging
Class mimicking the AthMessaging class from the offline software.
Definition: AsgMessaging.h:40