CMS 3D CMS Logo

List of all members | Public Member Functions
trackMVAClassifierImpl::ComputeMVA< EventCache > Struct Template Reference

#include <TrackMVAClassifier.h>

Public Member Functions

template<typename MVA >
void operator() (MVA const &mva, reco::TrackCollection const &tracks, reco::BeamSpot const &beamSpot, reco::VertexCollection const &vertices, TrackMVAClassifierBase::MVAPairCollection &mvas)
 

Detailed Description

template<typename EventCache>
struct trackMVAClassifierImpl::ComputeMVA< EventCache >

Definition at line 65 of file TrackMVAClassifier.h.

Member Function Documentation

template<typename EventCache>
template<typename MVA >
void trackMVAClassifierImpl::ComputeMVA< EventCache >::operator() ( MVA const &  mva,
reco::TrackCollection const &  tracks,
reco::BeamSpot const &  beamSpot,
reco::VertexCollection const &  vertices,
TrackMVAClassifierBase::MVAPairCollection mvas 
)
inline

Definition at line 67 of file TrackMVAClassifier.h.

References utilities::cache(), and DetachedQuadStep_cff::mva.

71  {
72 
73  EventCache cache;
74 
75  size_t current = 0;
76  for (auto const & trk : tracks) {
77  mvas[current++] = mva(trk,beamSpot,vertices,cache);
78  }
79  }
def cache(function)
Definition: utilities.py:3