ATLAS Offline Software
Loading...
Searching...
No Matches
FastJetUtils.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace xAOD {
8
9 namespace JetAlgorithmType {
10
11 const std::string& algName(fastjet::JetAlgorithm a){
12 return algName( algId(a) );
13 }
14
15 ID algId(fastjet::JetAlgorithm a){
16 // for now there is a 1-to-1 relation
17 return (ID) a ;
18 }
19
20 fastjet::JetAlgorithm fastJetDef(ID id){
21 // for now there is a 1-to-1 relation
22 return (fastjet::JetAlgorithm) id;
23 }
24 fastjet::JetAlgorithm fastJetDef(const std::string& name){
25 return fastJetDef( algId( name) );
26 }
27
28
29 }
30}
static Double_t a
ID algId(const std::string &n)
Converts a string into a JetAlgorithmType::ID.
fastjet::JetAlgorithm fastJetDef(ID id)
const std::string & algName(ID id)
Converts a JetAlgorithmType::ID into a string.
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.