Main Page
Namespaces
Classes
Package Documentation
RecoTracker
FinalTrackSelectors
interface
TrackAlgoPriorityOrder.h
Go to the documentation of this file.
1
#ifndef RecoTracker_FinalTrackSelectors_TrackAlgoPriorityOrder_h
2
#define RecoTracker_FinalTrackSelectors_TrackAlgoPriorityOrder_h
3
4
#include "
DataFormats/TrackReco/interface/TrackBase.h
"
5
6
class
TrackAlgoPriorityOrder
{
7
public
:
8
explicit
TrackAlgoPriorityOrder
(
const
std::vector<reco::TrackBase::TrackAlgorithm>&
algoOrder
);
9
10
unsigned
int
priority
(
reco::TrackBase::TrackAlgorithm
algo
)
const
{
11
return
priority_
[
algo
];
12
}
13
14
private
:
15
std::array<unsigned int, reco::TrackBase::algoSize>
priority_
;
16
};
17
18
#endif
TrackAlgoPriorityOrder::TrackAlgoPriorityOrder
TrackAlgoPriorityOrder(const std::vector< reco::TrackBase::TrackAlgorithm > &algoOrder)
Definition:
TrackAlgoPriorityOrder.cc:9
TrackAlgoPriorityOrder::priority_
std::array< unsigned int, reco::TrackBase::algoSize > priority_
Definition:
TrackAlgoPriorityOrder.h:15
reco::TrackBase::TrackAlgorithm
TrackAlgorithm
track algorithm
Definition:
TrackBase.h:99
TrackBase.h
TrackAlgoPriorityOrder::priority
unsigned int priority(reco::TrackBase::TrackAlgorithm algo) const
Definition:
TrackAlgoPriorityOrder.h:10
trackAlgoPriorityOrder_cfi.algoOrder
algoOrder
Definition:
trackAlgoPriorityOrder_cfi.py:5
TrackAlgoPriorityOrder
Definition:
TrackAlgoPriorityOrder.h:6
patPFMETCorrections_cff.algo
algo
Definition:
patPFMETCorrections_cff.py:123
Generated for CMSSW Reference Manual by
1.8.11