CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 61 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 63 of file TrackMVAClassifier.h.

References utilities::cache(), and beam_dqm_sourceclient-live_cfg::mva.

67  {
68  EventCache cache;
69 
70  size_t current = 0;
71  for (auto const& trk : tracks) {
72  mvas[current++] = mva(trk, beamSpot, vertices, cache);
73  }
74  }
auto const & tracks
cannot be loose
def cache
Definition: utilities.py:3