Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-05-10 02:21:01

0001 /*
0002  * OmtfEmulation.h
0003  *
0004  *  Created on: May 20, 2020
0005  *      Author: kbunkow
0006  */
0007 
0008 #ifndef L1Trigger_L1TMuonOverlapPhase2_OmtfEmulation_h
0009 #define L1Trigger_L1TMuonOverlapPhase2_OmtfEmulation_h
0010 
0011 #include "DataFormats/L1DTTrackFinder/interface/L1Phase2MuDTPhContainer.h"
0012 #include "FWCore/Utilities/interface/EDGetToken.h"
0013 #include "L1Trigger/L1TMuonOverlapPhase1/interface/Omtf/OMTFReconstruction.h"
0014 #include "L1Trigger/L1TMuonOverlapPhase2/interface/OmtfPhase2AngleConverter.h"
0015 
0016 class OmtfEmulation : public OMTFReconstruction {
0017 public:
0018   OmtfEmulation(const edm::ParameterSet& edmParameterSet,
0019                 MuStubsInputTokens& muStubsInputTokens,
0020                 edm::EDGetTokenT<L1Phase2MuDTPhContainer> inputTokenDTPhPhase2);
0021 
0022   void beginJob();
0023 
0024   ~OmtfEmulation() override = default;
0025 
0026   void addObservers(const MuonGeometryTokens& muonGeometryTokens,
0027                     const edm::ESGetToken<MagneticField, IdealMagneticFieldRecord>& magneticFieldEsToken,
0028                     const edm::ESGetToken<Propagator, TrackingComponentsRecord>& propagatorEsToken) override;
0029 
0030 private:
0031   edm::EDGetTokenT<L1Phase2MuDTPhContainer> inputTokenDTPhPhase2;
0032 
0033   unique_ptr<PtAssignmentBase> ptAssignment;
0034 };
0035 
0036 #endif /* L1Trigger_L1TMuonOverlapPhase2_OmtfEmulation_h */