1 #ifndef RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h 2 #define RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h 60 template <
typename EventCache>
62 template <
typename MVA>
71 for (
auto const& trk :
tracks) {
79 template <
typename MVA>
86 for (
auto const& trk :
tracks) {
95 template <
typename MVA,
typename EventCache =
void>
126 #endif // RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
TrackMVAClassifierBase(const edm::ParameterSet &cfg)
std::vector< std::pair< float, bool > > MVAPairCollection
virtual void initEvent(const edm::EventSetup &es)=0
edm::EDGetTokenT< reco::TrackCollection > src_
source collection label
virtual void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVAPairCollection &mvas) const =0
std::vector< Track > TrackCollection
collection of Tracks
static void fill(edm::ParameterSetDescription &desc)
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::vector< float > MVACollection
~TrackMVAClassifierBase() override
TEMPL(T2) struct Divides void
void operator()(MVA const &mva, reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, TrackMVAClassifierBase::MVAPairCollection &mvas)
void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVAPairCollection &mvas) const final
edm::EDGetTokenT< reco::BeamSpot > beamspot_
void produce(edm::Event &evt, const edm::EventSetup &es) final
void beginStream(edm::StreamID) final
edm::EDGetTokenT< reco::VertexCollection > vertices_
TrackMVAClassifier(const edm::ParameterSet &cfg)
auto const & tracks
cannot be loose
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void operator()(MVA const &mva, reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, TrackMVAClassifierBase::MVAPairCollection &mvas)
void initEvent(const edm::EventSetup &es) final
void add(std::string const &label, ParameterSetDescription const &psetDescription)
std::vector< unsigned char > QualityMaskCollection