ATLAS Offline Software
Loading...
Searching...
No Matches
IsolationHelpers.h File Reference
#include "xAODPrimitives/IsolationType.h"
#include "xAODPrimitives/IsolationConeSize.h"
#include "xAODPrimitives/IsolationFlavour.h"
#include <cmath>
#include <cassert>
#include <iostream>
Include dependency graph for IsolationHelpers.h:

Go to the source code of this file.

Namespaces

namespace  xAOD
 ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
namespace  xAOD::Iso
 Namespace holding the IsolationType enumeration.

Functions

IsolationConeSize xAOD::Iso::enumconeSize (IsolationType type)
 convert Isolation Type into cone size
float xAOD::Iso::coneSize (IsolationConeSize type)
 convert Isolation Size into cone size
IsolationConeSize xAOD::Iso::coneSize (float size)
 convert float (e.g. 0.3) into IsolationConeSize. An assert is thrown
float xAOD::Iso::coneSize (IsolationType type)
 convert Isolation Type into cone size
IsolationFlavour xAOD::Iso::isolationFlavour (IsolationType type)
 convert Isolation Type into Isolation Flavour
IsolationType xAOD::Iso::isolationType (IsolationFlavour flavour, IsolationConeSize coneSize)
template<class IsoType>
std::string xAOD::Iso::toString (const IsoType &iso)