Go to the documentation of this file. 1 #ifndef RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h
2 #define RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h
59 template <
typename EventCache>
61 template <
typename MVA>
70 for (
auto const& trk :
tracks) {
78 template <
typename MVA>
85 for (
auto const& trk :
tracks) {
94 template <
typename MVA,
typename EventCache =
void>
125 #endif // RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h
void operator()(MVA const &mva, reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, TrackMVAClassifierBase::MVAPairCollection &mvas)
TrackMVAClassifier(const edm::ParameterSet &cfg)
std::vector< Vertex > VertexCollection
collection of Vertex objects
void initEvent(const edm::EventSetup &es) final
std::vector< unsigned char > QualityMaskCollection
void operator()(MVA const &mva, reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, TrackMVAClassifierBase::MVAPairCollection &mvas)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void initEvent(const edm::EventSetup &es)=0
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TrackMVAClassifierBase(const edm::ParameterSet &cfg)
static void fill(edm::ParameterSetDescription &desc)
std::vector< std::pair< float, bool > > MVAPairCollection
virtual void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVAPairCollection &mvas) const =0
std::vector< float > MVACollection
edm::EDGetTokenT< reco::BeamSpot > beamspot_
edm::EDGetTokenT< reco::TrackCollection > src_
source collection label
~TrackMVAClassifierBase() override
TEMPL(T2) struct Divides void
void produce(edm::Event &evt, const edm::EventSetup &es) final
void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVAPairCollection &mvas) const final
edm::EDGetTokenT< reco::VertexCollection > vertices_
std::vector< Track > TrackCollection
collection of Tracks
void beginStream(edm::StreamID) final