ATLAS Offline Software
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 
5 #include "JetEDM/FastJetUtils.h"
6 
7 namespace 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 }
xAOD::name
name
Definition: TriggerMenuJson_v1.cxx:29
xAOD::JetAlgorithmType::algName
const std::string & algName(ID id)
Converts a JetAlgorithmType::ID into a string.
Definition: JetContainerInfo.cxx:67
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::JetAlgorithmType::fastJetDef
fastjet::JetAlgorithm fastJetDef(ID id)
Definition: FastJetUtils.cxx:20
xAOD::JetAlgorithmType::ID
ID
//////////////////////////////////////// JetAlgorithmType::ID defines most common physics jet finding...
Definition: JetContainerInfo.h:29
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
a
TList * a
Definition: liststreamerinfos.cxx:10
xAOD::JetAlgorithmType::algId
ID algId(const std::string &n)
Converts a string into a JetAlgorithmType::ID.
Definition: JetContainerInfo.cxx:76
FastJetUtils.h