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