CMS 3D CMS Logo

Public Member Functions | Private Types | Private Member Functions | Private Attributes

reco::modules::Matcher< C1, C2, S, D, M > Class Template Reference

#include <Matcher.h>

Inheritance diagram for reco::modules::Matcher< C1, C2, S, D, M >:
reco::modules::MatcherBase< C1, C2, M > edm::EDProducer edm::ProducerBase edm::ProductRegistryHelper

List of all members.

Public Member Functions

 Matcher (const edm::ParameterSet &cfg)
 ~Matcher ()

Private Types

typedef MatcherBase< C1, C2, M >
::MatchMap 
MatchMap
typedef MatcherBase< C1, C2, M >
::T1 
T1
typedef MatcherBase< C1, C2, M >
::T2 
T2

Private Member Functions

double matchDistance (const T1 &c1, const T2 &c2) const
bool select (const T1 &c1, const T2 &c2) const

Private Attributes

distance_
select_

Detailed Description

template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
class reco::modules::Matcher< C1, C2, S, D, M >

Definition at line 43 of file Matcher.h.


Member Typedef Documentation

template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
typedef MatcherBase<C1, C2, M>::MatchMap reco::modules::Matcher< C1, C2, S, D, M >::MatchMap [private]

Reimplemented from reco::modules::MatcherBase< C1, C2, M >.

Definition at line 53 of file Matcher.h.

template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
typedef MatcherBase<C1, C2, M>::T1 reco::modules::Matcher< C1, C2, S, D, M >::T1 [private]

Reimplemented from reco::modules::MatcherBase< C1, C2, M >.

Definition at line 51 of file Matcher.h.

template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
typedef MatcherBase<C1, C2, M>::T2 reco::modules::Matcher< C1, C2, S, D, M >::T2 [private]

Reimplemented from reco::modules::MatcherBase< C1, C2, M >.

Definition at line 52 of file Matcher.h.


Constructor & Destructor Documentation

template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
reco::modules::Matcher< C1, C2, S, D, M >::Matcher ( const edm::ParameterSet cfg) [inline]

Definition at line 45 of file Matcher.h.

                                              : 
        MatcherBase<C1, C2, M>( cfg ),
        select_( reco::modules::make<S>( cfg ) ), 
        distance_( reco::modules::make<D>( cfg ) ) { }
template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
reco::modules::Matcher< C1, C2, S, D, M >::~Matcher ( ) [inline]

Definition at line 49 of file Matcher.h.

{ }

Member Function Documentation

template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
double reco::modules::Matcher< C1, C2, S, D, M >::matchDistance ( const T1 c1,
const T2 c2 
) const [inline, private, virtual]

Implements reco::modules::MatcherBase< C1, C2, M >.

Definition at line 55 of file Matcher.h.

                                                                 {
        return distance_( c1, c2 );
      }
template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
bool reco::modules::Matcher< C1, C2, S, D, M >::select ( const T1 c1,
const T2 c2 
) const [inline, private, virtual]

Implements reco::modules::MatcherBase< C1, C2, M >.

Definition at line 58 of file Matcher.h.

                                                        { 
        return select_( c1, c2 ); 
      }

Member Data Documentation

template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
D reco::modules::Matcher< C1, C2, S, D, M >::distance_ [private]
template<typename C1, typename C2, typename S, typename D = DeltaR<typename C1::value_type, typename C2::value_type>, typename M = edm::AssociationMap<edm::OneToOne<C1, C2> >>
S reco::modules::Matcher< C1, C2, S, D, M >::select_ [private]