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 60 of file TrackMVAClassifier.h.

Member Function Documentation

◆ operator()()

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 62 of file TrackMVAClassifier.h.

66  {
67  EventCache cache;
68 
69  size_t current = 0;
70  for (auto const& trk : tracks) {
71  mvas[current++] = mva(trk, beamSpot, vertices, cache);
72  }
73  }

References pwdgSkimBPark_cfi::beamSpot, utilities::cache(), beam_dqm_sourceclient-live_cfg::mva, tracks, and AlignmentTracksFromVertexSelector_cfi::vertices.

pwdgSkimBPark_cfi.beamSpot
beamSpot
Definition: pwdgSkimBPark_cfi.py:5
beam_dqm_sourceclient-live_cfg.mva
mva
Definition: beam_dqm_sourceclient-live_cfg.py:132
AlignmentTracksFromVertexSelector_cfi.vertices
vertices
Definition: AlignmentTracksFromVertexSelector_cfi.py:5
utilities.cache
def cache(function)
Definition: utilities.py:3
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:176