ATLAS Offline Software
Event/xAOD/xAODInDetMeasurement/xAODInDetMeasurement/Utilities.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef XAOD_INDETMEASUREMENT_UTILITIES_H
6 #define XAOD_INDETMEASUREMENT_UTILITIES_H
7 
9 #include <vector>
10 
12 
13  float computeTotalCharge( const SG::AuxElement& cluster);
14  float computeTotalCharge( const std::vector<float>& charges);
15 
16  int computeTotalToT( const SG::AuxElement& cluster);
17  int computeTotalToT( const std::vector<int>& tots);
18 }
19 
20 #endif
SG::AuxElement
Base class for elements of a container that can have aux data.
Definition: AuxElement.h:446
xAOD::xAODInDetMeasurement::Utilities::computeTotalToT
int computeTotalToT(const SG::AuxElement &cluster)
Definition: Event/xAOD/xAODInDetMeasurement/Root/Utilities.cxx:22
xAOD::xAODInDetMeasurement::Utilities
Definition: Event/xAOD/xAODInDetMeasurement/Root/Utilities.cxx:7
xAOD::xAODInDetMeasurement::Utilities::computeTotalCharge
float computeTotalCharge(const SG::AuxElement &cluster)
Definition: Event/xAOD/xAODInDetMeasurement/Root/Utilities.cxx:9
AuxElement.h
Base class for elements of a container that can have aux data.