1 #ifndef RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h 2 #define RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h 70 TrackMVAClassifierBase(cfg),
77 MVA::fillDescriptions(mvaDesc);
91 for (
auto const & trk :
tracks) {
101 #endif // RecoTracker_FinalTrackSelectors_TrackMVAClassifierBase_h void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, GBRForest const *forestP, MVACollection &mvas) const final
void beginStream(edm::StreamID) override final
TrackMVAClassifierBase(const edm::ParameterSet &cfg)
void produce(edm::Event &evt, const edm::EventSetup &es) override final
edm::EDGetTokenT< reco::TrackCollection > src_
source collection label
const std::string forestLabel_
const std::string dbFileName_
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
virtual void computeMVA(reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, GBRForest const *forestP, MVACollection &mvas) const =0
edm::EDGetTokenT< reco::BeamSpot > beamspot_
const bool useForestFromDB_
def template(fileName, svg, replaceme="REPLACEME")
edm::EDGetTokenT< reco::VertexCollection > vertices_
std::unique_ptr< GBRForest > forest_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
~TrackMVAClassifierBase()
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< unsigned char > QualityMaskCollection
TrackMVAClassifier(const edm::ParameterSet &cfg)