File indexing completed on 2024-04-06 12:21:00
0001 #ifndef L1Trigger_L1TMuonEndCapPhase2_GEMTPConverter_h
0002 #define L1Trigger_L1TMuonEndCapPhase2_GEMTPConverter_h
0003
0004 #include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFfwd.h"
0005 #include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFTypes.h"
0006 #include "L1Trigger/L1TMuonEndCapPhase2/interface/DAQ/TPrimitives.h"
0007 #include "L1Trigger/L1TMuonEndCapPhase2/interface/DAQ/TPConverters.h"
0008
0009 namespace emtf::phase2 {
0010
0011 class GEMTPConverter : public TPConverter {
0012 public:
0013 explicit GEMTPConverter(const EMTFContext&, const int&, const int&);
0014
0015 ~GEMTPConverter() override = default;
0016
0017 void convert(const TriggerPrimitive&, const TPInfo&, EMTFHit&) const final;
0018
0019 private:
0020 const EMTFContext& context_;
0021
0022 int endcap_, sector_;
0023 };
0024
0025 }
0026
0027 #endif