ATLAS Offline Software
ModAntikTJetMaker.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3  */
4 
5 #ifndef MODANTIKTJETMAKER_H
6 #define MODANTIKTJETMAKER_H
7 
8 #include "./IJetMaker.h"
9 
10 #include "./Jet.h"
11 #include "./Cluster.h"
12 
13 namespace Gep{
15  {
16 
17  public:
18 
19  ModAntikTJetMaker(const std::string& alg = "ModAntikT", int nIter = 10000, float jetR = 0.4) :
20  m_jetAlg{alg},
21  m_nIter{nIter},
22  m_jetR{jetR} {}
23 
24  virtual std::vector<Gep::Jet> makeJets( const std::vector<Gep::Cluster> &clusters) const override;
25  virtual std::string toString() const override;
26 
27  void setName(const std::string& jetAlg) { m_jetAlg = jetAlg;}
28  //For running modified algorithm
29  void setNIter(int nIter) { m_nIter = nIter;}
30  void setJetR(float jetR) { m_jetR = jetR;}
31 
32 
33  private:
34 
35  std::string m_jetAlg;
36 
37  // For modified anti-kT
38  int m_nIter;
39  float m_jetR;
40 
41  };
42 }
43 
44 #endif
45 
46 
SGout2dot.alg
alg
Definition: SGout2dot.py:243
Gep::ModAntikTJetMaker::m_jetR
float m_jetR
Definition: ModAntikTJetMaker.h:39
Gep::ModAntikTJetMaker::ModAntikTJetMaker
ModAntikTJetMaker(const std::string &alg="ModAntikT", int nIter=10000, float jetR=0.4)
Definition: ModAntikTJetMaker.h:19
Jet.h
Gep::ModAntikTJetMaker
Definition: ModAntikTJetMaker.h:15
Gep::ModAntikTJetMaker::setNIter
void setNIter(int nIter)
Definition: ModAntikTJetMaker.h:29
Gep::ModAntikTJetMaker::makeJets
virtual std::vector< Gep::Jet > makeJets(const std::vector< Gep::Cluster > &clusters) const override
Definition: ModAntikTJetMaker.cxx:10
Gep
Definition: Trigger/TrigT1/TrigGepPerf/src/Cluster.h:11
Cluster.h
Gep::ModAntikTJetMaker::setName
void setName(const std::string &jetAlg)
Definition: ModAntikTJetMaker.h:27
Gep::ModAntikTJetMaker::setJetR
void setJetR(float jetR)
Definition: ModAntikTJetMaker.h:30
Gep::IJetMaker
Definition: IJetMaker.h:15
IJetMaker.h
Gep::ModAntikTJetMaker::m_nIter
int m_nIter
Definition: ModAntikTJetMaker.h:38
Gep::ModAntikTJetMaker::m_jetAlg
std::string m_jetAlg
Definition: ModAntikTJetMaker.h:35
RunTileMonitoring.clusters
clusters
Definition: RunTileMonitoring.py:133
Gep::ModAntikTJetMaker::toString
virtual std::string toString() const override
Definition: ModAntikTJetMaker.cxx:101