CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackAlgoPriorityOrder.h
Go to the documentation of this file.
1 #ifndef RecoTracker_FinalTrackSelectors_TrackAlgoPriorityOrder_h
2 #define RecoTracker_FinalTrackSelectors_TrackAlgoPriorityOrder_h
3 
5 
7 public:
8  explicit TrackAlgoPriorityOrder(const std::vector<reco::TrackBase::TrackAlgorithm>& algoOrder);
9 
10  unsigned int priority(reco::TrackBase::TrackAlgorithm algo) const { return priority_[algo]; }
11 
12 private:
13  std::array<unsigned int, reco::TrackBase::algoSize> priority_;
14 };
15 
16 #endif
TrackAlgoPriorityOrder(const std::vector< reco::TrackBase::TrackAlgorithm > &algoOrder)
std::array< unsigned int, reco::TrackBase::algoSize > priority_
TrackAlgorithm
track algorithm
Definition: TrackBase.h:89
unsigned int priority(reco::TrackBase::TrackAlgorithm algo) const