Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:28:06

0001 #ifndef RecoTracker_FinalTrackSelectors_TrackAlgoPriorityOrder_h
0002 #define RecoTracker_FinalTrackSelectors_TrackAlgoPriorityOrder_h
0003 
0004 #include "DataFormats/TrackReco/interface/TrackBase.h"
0005 
0006 class TrackAlgoPriorityOrder {
0007 public:
0008   explicit TrackAlgoPriorityOrder(const std::vector<reco::TrackBase::TrackAlgorithm>& algoOrder);
0009 
0010   unsigned int priority(reco::TrackBase::TrackAlgorithm algo) const { return priority_[algo]; }
0011 
0012 private:
0013   std::array<unsigned int, reco::TrackBase::algoSize> priority_;
0014 };
0015 
0016 #endif