src
PhysicsTools
SelectorUtils
interface
CandidateCut.h
Go to the documentation of this file.
1
#ifndef PhysicsTools_SelectorUtils_CandidateCut_h
2
#define PhysicsTools_SelectorUtils_CandidateCut_h
3
4
#include "
DataFormats/Candidate/interface/Candidate.h
"
5
#include "
DataFormats/Candidate/interface/CandidateFwd.h
"
6
7
namespace
candidate_functions
{
8
class
CandidateCut
{
9
public
:
10
using
argument_type
=
reco::CandidatePtr
;
11
using
result_type
=
bool
;
12
13
CandidateCut
() {}
14
virtual
result_type
operator()
(
const
argument_type
&)
const
= 0;
15
virtual
~CandidateCut
() {}
16
17
virtual
double
value
(
const
reco::CandidatePtr
&)
const
= 0;
18
19
virtual
const
std::string
&
name
()
const
= 0;
20
};
21
}
// namespace candidate_functions
22
23
#endif
candidate_functions::CandidateCut::~CandidateCut
virtual ~CandidateCut()
Definition:
CandidateCut.h:15
candidate_functions
Definition:
CandidateCut.h:7
candidate_functions::CandidateCut::name
virtual const std::string & name() const =0
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
Candidate.h
candidate_functions::CandidateCut::operator()
virtual result_type operator()(const argument_type &) const =0
candidate_functions::CandidateCut::result_type
bool result_type
Definition:
CandidateCut.h:11
edm::Ptr< Candidate >
candidate_functions::CandidateCut::CandidateCut
CandidateCut()
Definition:
CandidateCut.h:13
electrons_cff.bool
bool
Definition:
electrons_cff.py:381
reco::CandidatePtr
edm::Ptr< Candidate > CandidatePtr
persistent reference to an object in a collection of Candidate objects
Definition:
CandidateFwd.h:25
candidate_functions::CandidateCut::argument_type
reco::CandidatePtr argument_type
Definition:
CandidateCut.h:10
CandidateFwd.h
candidate_functions::CandidateCut
Definition:
CandidateCut.h:8
candidate_functions::CandidateCut::value
virtual double value(const reco::CandidatePtr &) const =0
Generated for CMSSW Reference Manual by
1.8.14