1 #ifndef RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h 2 #define RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h 59 template<
typename MVA>
91 for (
auto const & trk :
tracks) {
101 #endif // RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h TrackMVAClassifierBase(const edm::ParameterSet &cfg)
virtual void initEvent(const edm::EventSetup &es)=0
edm::EDGetTokenT< reco::TrackCollection > src_
source collection label
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
virtual void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVACollection &mvas) const =0
edm::EDGetTokenT< reco::BeamSpot > beamspot_
void produce(edm::Event &evt, const edm::EventSetup &es) final
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< reco::VertexCollection > vertices_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void beginStream(edm::StreamID) final
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, MVACollection &mvas) const final
void initEvent(const edm::EventSetup &es) final
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< unsigned char > QualityMaskCollection
TrackMVAClassifier(const edm::ParameterSet &cfg)