ATLAS Offline Software
ConeJetMaker.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 TRIGL0GEPPERF_CONEJETMAKER_H
6 #define TRIGL0GEPPERF_CONEJETMAKER_H
7 
8 
10 
11 #include "./IJetMaker.h"
12 #include "./Jet.h"
13 #include "./Cluster.h"
14 
15 #include <string>
16 #include <vector>
17 #include <ostream>
18 
19 
20 namespace Gep
21 {
23  {
24  public:
25 
26  ConeJetMaker(float jetR,
27  const xAOD::jFexSRJetRoIContainer& seeds,
28  float seedEtThreshold = 5.e3 /*MeV*/,
29  const std::string& recombScheme = "EScheme");
30 
31  std::string toString() const override;
32  virtual std::vector<Gep::Jet> makeJets(const std::vector<Gep::Cluster> &clusters) const override;
33 
34  float getJetR() const { return m_jetR; }
35  float getSeedEtThreshold() const { return m_seedEtThreshold; }
36  std::string recombSchemeAsString() const;
37 
38 
39  private:
40  float m_jetR;
43 
45 
46  std::vector<std::pair<std::string, RecombScheme>> m_knownSchemes {
47  {"EScheme", RecombScheme::EScheme},
48  {"SeedScheme", RecombScheme::SeedScheme}
49  };
50 
52 
53  RecombScheme string2RecombScheme(const std::string&) const;
54 
55  };
56 
57 
58 }
59 
60 #endif //TRIGL0GEPPERF_CONEJETMAKER_H
Gep::ConeJetMaker::getSeedEtThreshold
float getSeedEtThreshold() const
Definition: ConeJetMaker.h:35
Gep::ConeJetMaker::m_recombScheme
RecombScheme m_recombScheme
Definition: ConeJetMaker.h:51
Gep::ConeJetMaker::string2RecombScheme
RecombScheme string2RecombScheme(const std::string &) const
Definition: ConeJetMaker.cxx:25
Gep::ConeJetMaker::ConeJetMaker
ConeJetMaker(float jetR, const xAOD::jFexSRJetRoIContainer &seeds, float seedEtThreshold=5.e3, const std::string &recombScheme="EScheme")
Definition: ConeJetMaker.cxx:13
Jet.h
Gep::ConeJetMaker::makeJets
virtual std::vector< Gep::Jet > makeJets(const std::vector< Gep::Cluster > &clusters) const override
Definition: ConeJetMaker.cxx:62
Gep::ConeJetMaker::m_seedEtThreshold
float m_seedEtThreshold
Definition: ConeJetMaker.h:42
Gep::ConeJetMaker
Definition: ConeJetMaker.h:23
Gep::ConeJetMaker::m_jetR
float m_jetR
Definition: ConeJetMaker.h:40
CheckAppliedSFs.e3
e3
Definition: CheckAppliedSFs.py:264
Gep::ConeJetMaker::getJetR
float getJetR() const
Definition: ConeJetMaker.h:34
Gep
Definition: Trigger/TrigT1/TrigGepPerf/src/Cluster.h:11
jFexSRJetRoIContainer.h
Gep::ConeJetMaker::m_knownSchemes
std::vector< std::pair< std::string, RecombScheme > > m_knownSchemes
Definition: ConeJetMaker.h:46
Cluster.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
Gep::ConeJetMaker::toString
std::string toString() const override
Definition: ConeJetMaker.cxx:124
Gep::IJetMaker
Definition: IJetMaker.h:15
Gep::ConeJetMaker::RecombScheme::SeedScheme
@ SeedScheme
Gep::ConeJetMaker::RecombScheme::EScheme
@ EScheme
IJetMaker.h
Gep::ConeJetMaker::RecombScheme
RecombScheme
Definition: ConeJetMaker.h:44
RunTileMonitoring.clusters
clusters
Definition: RunTileMonitoring.py:133
Gep::ConeJetMaker::m_seeds
const xAOD::jFexSRJetRoIContainer & m_seeds
Definition: ConeJetMaker.h:41
Gep::ConeJetMaker::recombSchemeAsString
std::string recombSchemeAsString() const
Definition: ConeJetMaker.cxx:42