CMS 3D CMS Logo

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
delete x;
Definition: CaloConfig.h:22
static ReturnType create(const std::string &filename, const int fwVersion, const unsigned ptFactor, const unsigned qualFactor)
std::shared_ptr< MicroGMTRankPtQualLUT > ReturnType
Definition: LUT.h:29