Main Page
Namespaces
Classes
Package Documentation
CommonTools
Utils
interface
RefSelector.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_RefSelector_h
2
#define CommonTools_Utils_RefSelector_h
3
4
template
<
typename
S>
5
struct
RefSelector
{
6
RefSelector
(
const
S
&
sel
) :
sel_
( sel ) { }
7
template
<
typename
Ref>
8
bool
operator()
(
const
Ref
& ref )
const
{
9
return
sel_
( * ref );
10
}
11
private
:
12
S
sel_
;
13
};
14
15
#endif
reco::JetExtendedAssociation::Ref
edm::Ref< Container > Ref
Definition:
JetExtendedAssociation.h:32
RefSelector::sel_
S sel_
Definition:
RefSelector.h:12
RefSelector
Definition:
RefSelector.h:5
S
Definition:
CSCDBL1TPParametersExtended.h:16
RefSelector::RefSelector
RefSelector(const S &sel)
Definition:
RefSelector.h:6
RefSelector::operator()
bool operator()(const Ref &ref) const
Definition:
RefSelector.h:8
triggerObjects_cff.sel
sel
Definition:
triggerObjects_cff.py:30
Generated for CMSSW Reference Manual by
1.8.11