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
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:20
metsig::electron
Definition:
SignAlgoResolutions.h:48
egammaTools::validateEgammaCandidate
void validateEgammaCandidate(Candidate const &candidate)
Definition:
validateEgammaCandidate.h:11
reco::GsfElectron
Definition:
GsfElectron.h:34
egammaTools
Definition:
EcalClusterLocal.h:14
GsfElectronFwd.h
egammaTools::validateGsfElectron
void validateGsfElectron(reco::GsfElectron const &electron)
Definition:
validateEgammaCandidate.cc:5
Generated for CMSSW Reference Manual by
1.8.16