CMS 3D CMS Logo

PtAssignmentBase.h
Go to the documentation of this file.
1 /*
2  * PtAssignmentBase.h
3  *
4  * Created on: Mar 16, 2020
5  * Author: kbunkow
6  */
7 
8 #ifndef L1T_OmtfP1_PTASSIGNMENTBASE_H_
9 #define L1T_OmtfP1_PTASSIGNMENTBASE_H_
10 
12 
13 /*
14  * base class for the objects providing an alternative pt assignment on top of the OMTF golden pattern (like neural network)
15  * getPts() is called inside OMTFProcessor<GoldenPatternType>::getFinalcandidates
16  */
18 public:
20  virtual ~PtAssignmentBase();
21 
22  virtual std::vector<float> getPts(const AlgoMuons::value_type& algoMuon) = 0;
23 
24 protected:
25  const OMTFConfiguration* omtfConfig = nullptr;
26 };
27 
28 #endif /* L1T_OmtfP1_PTASSIGNMENTBASE_H_ */
const OMTFConfiguration * omtfConfig
PtAssignmentBase(const OMTFConfiguration *omtfConfig)
virtual std::vector< float > getPts(const AlgoMuons::value_type &algoMuon)=0
virtual ~PtAssignmentBase()