CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MicroGMTLUTFactories.h
Go to the documentation of this file.
1 #ifndef __l1microgmtlutfactories_h
2 #define __l1microgmtlutfactories_h
3 
4 #include <iostream>
5 
13 
14 namespace l1t {
16  public:
19 
20  typedef std::shared_ptr<MicroGMTRankPtQualLUT> ReturnType;
21 
22  static ReturnType create(const std::string& filename,
23  const int fwVersion,
24  const unsigned ptFactor,
25  const unsigned qualFactor);
26  static ReturnType create(l1t::LUT* lut, const int fwVersion);
27  };
28 
30  public:
33 
34  typedef std::shared_ptr<MicroGMTMatchQualLUT> ReturnType;
35 
36  static ReturnType create(const std::string& filename,
37  const double maxDR,
38  const double fEta,
39  const double fEtaCoarse,
40  const double fPhi,
41  cancel_t cancelType,
42  const int fwVersion);
43  static ReturnType create(l1t::LUT* lut, cancel_t cancelType, const int fwVersion);
44  };
45 
47  public:
50 
51  typedef std::shared_ptr<MicroGMTExtrapolationLUT> ReturnType;
52 
53  static ReturnType create(const std::string& filename, const int type, const int fwVersion);
54  static ReturnType create(l1t::LUT* lut, const int type, const int fwVersion);
55  };
56 
58  public:
61 
62  typedef std::shared_ptr<MicroGMTCaloIndexSelectionLUT> ReturnType;
63 
64  static ReturnType create(const std::string& filename, const int type, const int fwVersion);
65  static ReturnType create(l1t::LUT* lut, const int type, const int fwVersion);
66  };
67 
69  public:
72 
73  typedef std::shared_ptr<MicroGMTAbsoluteIsolationCheckLUT> ReturnType;
74 
75  static ReturnType create(const std::string& filename, const int fwVersion);
76  static ReturnType create(l1t::LUT* lut, const int fwVersion);
77  };
78 
80  public:
83 
84  typedef std::shared_ptr<MicroGMTRelativeIsolationCheckLUT> ReturnType;
85 
86  static ReturnType create(const std::string& filename, const int fwVersion);
87  static ReturnType create(l1t::LUT* lut, const int fwVersion);
88  };
89 } // namespace l1t
90 
91 #endif /* defined(__l1microgmtlutfactories_h) */
std::shared_ptr< MicroGMTExtrapolationLUT > ReturnType
std::shared_ptr< MicroGMTCaloIndexSelectionLUT > ReturnType
static ReturnType create(const std::string &filename, const int fwVersion)
static ReturnType create(const std::string &filename, const int type, const int fwVersion)
static ReturnType create(const std::string &filename, const int fwVersion, const unsigned ptFactor, const unsigned qualFactor)
static ReturnType create(const std::string &filename, const int fwVersion)
std::shared_ptr< MicroGMTRelativeIsolationCheckLUT > ReturnType
std::shared_ptr< MicroGMTRankPtQualLUT > ReturnType
Definition: LUT.h:29
static ReturnType create(const std::string &filename, const double maxDR, const double fEta, const double fEtaCoarse, const double fPhi, cancel_t cancelType, const int fwVersion)
tuple filename
Definition: lut2db_cfg.py:20
std::shared_ptr< MicroGMTAbsoluteIsolationCheckLUT > ReturnType
std::shared_ptr< MicroGMTMatchQualLUT > ReturnType
static ReturnType create(const std::string &filename, const int type, const int fwVersion)