ATLAS Offline Software
Loading...
Searching...
No Matches
EgammaPhysValHistUtilities.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace Egamma{
8
9 uint8_t RetrieveHitInfo(const xAOD::Electron& el, xAOD::SummaryType info, uint8_t defaultval){
10 uint8_t val = defaultval;
11 if (!el.trackParticleSummaryValue(val,info)) return defaultval;
12 return val;
13
14 }
15
16}
uint8_t RetrieveHitInfo(const xAOD::Electron &el, xAOD::SummaryType info, uint8_t defaultval)
SummaryType
Enumerates the different types of information stored in Summary.
Electron_v1 Electron
Definition of the current "egamma version".