Main Page
Namespaces
Classes
Package Documentation
RecoEgamma
EgammaTools
interface
validateEgammaCandidate.h
Go to the documentation of this file.
1
#ifndef __RecoEgamma_EgammaTools_EgammaCandidateValidation_H__
2
#define __RecoEgamma_EgammaTools_EgammaCandidateValidation_H__
3
4
#include "
DataFormats/EgammaCandidates/interface/GsfElectronFwd.h
"
5
6
namespace
egammaTools
{
7
8
void
validateGsfElectron
(
reco::GsfElectron
const
&
electron
);
9
10
template
<
class
Cand
id
ate>
11
void
validateEgammaCandidate
(
Candidate
const
& candidate) {
12
if
constexpr
(std::is_same<Candidate, reco::GsfElectron>()) {
13
validateGsfElectron
(candidate);
14
}
15
}
16
17
}
// namespace egammaTools
18
19
#endif
reco::GsfElectron
Definition:
GsfElectron.h:38
egammaTools::validateEgammaCandidate
void validateEgammaCandidate(Candidate const &candidate)
Definition:
validateEgammaCandidate.h:11
egammaTools
Definition:
ConversionFinder.h:36
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:22
GsfElectronFwd.h
metsig::electron
Definition:
SignAlgoResolutions.h:40
egammaTools::validateGsfElectron
void validateGsfElectron(reco::GsfElectron const &electron)
Definition:
validateEgammaCandidate.cc:5
constexpr
#define constexpr
Definition:
GCC11Compatibility.h:35
Generated for CMSSW Reference Manual by
1.8.11