CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions
edm::refhelper::FindTrait< edm::HepMCProduct, HepMC::GenParticle >::Find Struct Reference

#include <HepMCProduct.h>

Public Types

using first_argument_type = edm::HepMCProduct const &
 
using result_type = HepMC::GenParticle const *
 
using second_argument_type = int
 

Public Member Functions

result_type operator() (first_argument_type iContainer, second_argument_type iBarCode)
 

Detailed Description

template<>
struct edm::refhelper::FindTrait< edm::HepMCProduct, HepMC::GenParticle >::Find

Definition at line 63 of file HepMCProduct.h.

Member Typedef Documentation

Definition at line 64 of file HepMCProduct.h.

using edm::refhelper::FindTrait< edm::HepMCProduct, HepMC::GenParticle >::Find::result_type = HepMC::GenParticle const*

Definition at line 66 of file HepMCProduct.h.

Definition at line 65 of file HepMCProduct.h.

Member Function Documentation

result_type edm::refhelper::FindTrait< edm::HepMCProduct, HepMC::GenParticle >::Find::operator() ( first_argument_type  iContainer,
second_argument_type  iBarCode 
)
inline

Definition at line 68 of file HepMCProduct.h.

70  { return iContainer.getHepMCData().barcode_to_particle(iBarCode); }