test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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, const int fwVersion, const unsigned ptFactor, const unsigned qualFactor);
23  static ReturnType create(l1t::LUT* lut, const int fwVersion);
24  };
25 
27  public:
30 
31  typedef std::shared_ptr<MicroGMTMatchQualLUT> ReturnType;
32 
33  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);
34  static ReturnType create(l1t::LUT* lut, cancel_t cancelType, const int fwVersion);
35  };
36 
38  public:
41 
42  typedef std::shared_ptr<MicroGMTExtrapolationLUT> ReturnType;
43 
44  static ReturnType create(const std::string& filename, const int type, const int fwVersion);
45  static ReturnType create(l1t::LUT* lut, const int type, const int fwVersion);
46  };
47 
49  public:
52 
53  typedef std::shared_ptr<MicroGMTCaloIndexSelectionLUT> ReturnType;
54 
55  static ReturnType create(const std::string& filename, const int type, const int fwVersion);
56  static ReturnType create(l1t::LUT* lut, const int type, const int fwVersion);
57  };
58 
60  public:
63 
64  typedef std::shared_ptr<MicroGMTAbsoluteIsolationCheckLUT> ReturnType;
65 
66  static ReturnType create(const std::string& filename, const int fwVersion);
67  static ReturnType create(l1t::LUT* lut, const int fwVersion);
68  };
69 
71  public:
74 
75  typedef std::shared_ptr<MicroGMTRelativeIsolationCheckLUT> ReturnType;
76 
77  static ReturnType create(const std::string& filename, const int fwVersion);
78  static ReturnType create(l1t::LUT* lut, const int fwVersion);
79  };
80 }
81 
82 #endif /* defined(__l1microgmtlutfactories_h) */
type
Definition: HCALResponse.h:21
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
tuple lut
Definition: lumiPlot.py:244
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)