ATLAS Offline Software
Typedefs | Functions
FastJetInterface Namespace Reference

Collection of types for the internal dictionary. More...

Typedefs

typedef std::map< std::string, fastjet::JetAlgorithm > algomap_t
 Mapping keyword on fastjet jet algorithm tag. More...
 
typedef std::map< std::string, fastjet::Strategy > strategymap_t
 Mapping keyword on fastjet clustering strategy tag. More...
 
typedef std::map< std::string, fastjet::RecombinationScheme > schememap_t
 Mapping keyword on fastjet recombination scheme tag. More...
 
typedef std::map< std::string, fastjet::SISConePlugin::SplitMergeScale > splitMergeScaleMap_t
 Mapping keyword on fastjet SIS Cone split merge scale tag. More...
 
typedef std::map< std::string, fastjet::AreaType > areamap_t
 Mapping keyword on fastjet area type tag. More...
 
typedef fastjet::PseudoJet fjet_t
 fastjet data model for jet More...
 
typedef std::vector< fjet_tfjetlist_t
 Container for fastjet jets. More...
 

Functions

template<class D , class M >
const std::string & cfgName (D tag, const M &map, const std::string &invalidKey)
 General configuration keyword finder. More...
 

Detailed Description

Collection of types for the internal dictionary.

Typedef Documentation

◆ algomap_t

typedef std::map<std::string,fastjet::JetAlgorithm> FastJetInterface::algomap_t

Mapping keyword on fastjet jet algorithm tag.

Definition at line 36 of file FastJetInterfaceTool.h.

◆ areamap_t

typedef std::map<std::string,fastjet::AreaType> FastJetInterface::areamap_t

Mapping keyword on fastjet area type tag.

Definition at line 48 of file FastJetInterfaceTool.h.

◆ fjet_t

typedef fastjet::PseudoJet FastJetInterface::fjet_t

fastjet data model for jet

Definition at line 51 of file FastJetInterfaceTool.h.

◆ fjetlist_t

typedef std::vector<fjet_t> FastJetInterface::fjetlist_t

Container for fastjet jets.

Definition at line 53 of file FastJetInterfaceTool.h.

◆ schememap_t

typedef std::map<std::string,fastjet::RecombinationScheme> FastJetInterface::schememap_t

Mapping keyword on fastjet recombination scheme tag.

Definition at line 40 of file FastJetInterfaceTool.h.

◆ splitMergeScaleMap_t

typedef std::map<std::string,fastjet::SISConePlugin::SplitMergeScale> FastJetInterface::splitMergeScaleMap_t

Mapping keyword on fastjet SIS Cone split merge scale tag.

Definition at line 43 of file FastJetInterfaceTool.h.

◆ strategymap_t

typedef std::map<std::string,fastjet::Strategy> FastJetInterface::strategymap_t

Mapping keyword on fastjet clustering strategy tag.

Definition at line 38 of file FastJetInterfaceTool.h.

Function Documentation

◆ cfgName()

template<class D , class M >
const std::string& FastJetInterface::cfgName ( tag,
const M &  map,
const std::string &  invalidKey 
)

General configuration keyword finder.

Generalized linear search for keyword associated with given fastjet tag.

Returns
Reference to non-modifiable keyword if fastjet tag is known, else reference to non-modifiable invalid keyword indicator.
Parameters
[in]tagfastjet tag to be checked
[in]mapdictionary mapping keyword to fastjet tag

Definition at line 92 of file FastJetInterfaceTool.h.

93  {
94  typename M::const_iterator fMap(map.begin());
95  typename M::const_iterator lMap(map.end());
96  while ( fMap != lMap && (*fMap).second != tag ) { ++fMap; }
97  return fMap != lMap ? (*fMap).first : invalidKey;
98  }
CaloCondBlobAlgs_fillNoiseFromASCII.tag
string tag
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:24