1 #ifndef L1TMuonEndCap_PtAssignmentEngine_h 2 #define L1TMuonEndCap_PtAssignmentEngine_h 33 bool readPtLUTFile,
bool fixMode15HighPt,
34 bool bug9BitDPhi,
bool bugMode7CLCT,
bool bugNegPt
41 virtual float scale_pt (
const float pt,
const int mode = 15)
const = 0;
42 virtual float unscale_pt(
const float pt,
const int mode = 15)
const = 0;
46 virtual float calculate_pt(
const address_t& address)
const;
const std::array< emtf::Forest, 16 > & getForests(void) const
virtual address_t calculate_address(const EMTFTrack &track) const
virtual float calculate_pt_xml(const address_t &address) const
virtual ~PtAssignmentEngine()
virtual float calculate_pt(const address_t &address) const
const std::vector< int > & getAllowedModes(void) const
const PtAssignmentEngineAux & aux() const
void configure(int verbose, bool readPtLUTFile, bool fixMode15HighPt, bool bug9BitDPhi, bool bugMode7CLCT, bool bugNegPt)
PtLUTReader ptlut_reader_
void load(int pt_lut_version, const L1TMuonEndCapForest *payload)
virtual float calculate_pt_lut(const address_t &address) const
virtual float scale_pt(const float pt, const int mode=15) const =0
virtual float calculate_pt_xml(const EMTFTrack &track) const
int get_pt_lut_version() const
std::array< emtf::Forest, 16 > forests_
unsigned long long uint64_t
virtual float unscale_pt(const float pt, const int mode=15) const =0
std::vector< int > allowedModes_
void read(int pt_lut_version, const std::string &xml_dir)