Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:00

0001 #ifndef L1Trigger_L1TMuonEndCapPhase2_TrackBuildingLayer_h
0002 #define L1Trigger_L1TMuonEndCapPhase2_TrackBuildingLayer_h
0003 
0004 #include <array>
0005 #include <vector>
0006 
0007 #include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFfwd.h"
0008 #include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFTypes.h"
0009 #include "L1Trigger/L1TMuonEndCapPhase2/interface/EMTFConstants.h"
0010 
0011 namespace emtf::phase2::algo {
0012 
0013   class TrackBuildingLayer {
0014     // Static
0015   private:
0016     static seg_theta_t calc_theta_median(std::vector<seg_theta_t>);
0017 
0018     // Members
0019   public:
0020     TrackBuildingLayer(const EMTFContext&);
0021 
0022     ~TrackBuildingLayer() = default;
0023 
0024     void apply(const segment_collection_t&, const std::vector<road_t>&, const bool&, std::vector<track_t>&) const;
0025 
0026   private:
0027     const EMTFContext& context_;
0028 
0029     void attachSegments(const segment_collection_t&, const road_t&, const bool&, track_t&) const;
0030   };
0031 
0032 }  // namespace emtf::phase2::algo
0033 
0034 #endif  // L1Trigger_L1TMuonEndCapPhase2_TrackBuildingLayer_h not defined