Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:12:51

0001 /*
0002  * PtAssignmentBase.h
0003  *
0004  *  Created on: Mar 16, 2020
0005  *      Author: kbunkow
0006  */
0007 
0008 #ifndef L1T_OmtfP1_PTASSIGNMENTBASE_H_
0009 #define L1T_OmtfP1_PTASSIGNMENTBASE_H_
0010 
0011 #include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/AlgoMuon.h"
0012 
0013 /*
0014  * base class for the objects providing an alternative pt assignment on top of the OMTF golden pattern (like neural network)
0015  * getPts() is called inside OMTFProcessor<GoldenPatternType>::getFinalcandidates
0016  */
0017 class PtAssignmentBase {
0018 public:
0019   PtAssignmentBase(const OMTFConfiguration* omtfConfig) : omtfConfig(omtfConfig){};
0020   virtual ~PtAssignmentBase();
0021 
0022   virtual std::vector<float> getPts(const AlgoMuons::value_type& algoMuon) = 0;
0023 
0024 protected:
0025   const OMTFConfiguration* omtfConfig = nullptr;
0026 };
0027 
0028 #endif /* L1T_OmtfP1_PTASSIGNMENTBASE_H_ */