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 
13 
14 /*
15  * base class for the objects providing an alternative pt assignment on top of the OMTF golden pattern (like neural network)
16  * getPts() is called inside OMTFProcessor<GoldenPatternType>::getFinalcandidates
17  */
19 public:
21  virtual ~PtAssignmentBase();
22 
23  virtual std::vector<float> getPts(AlgoMuons::value_type& algoMuon,
24  std::vector<std::unique_ptr<IOMTFEmulationObserver> >& observers) = 0;
25 
26 protected:
27  const OMTFConfiguration* omtfConfig = nullptr;
28 };
29 
30 #endif /* L1T_OmtfP1_PTASSIGNMENTBASE_H_ */
const OMTFConfiguration * omtfConfig
PtAssignmentBase(const OMTFConfiguration *omtfConfig)
virtual ~PtAssignmentBase()
virtual std::vector< float > getPts(AlgoMuons::value_type &algoMuon, std::vector< std::unique_ptr< IOMTFEmulationObserver > > &observers)=0