Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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:36
egammaTools::validateEgammaCandidate
void validateEgammaCandidate(Candidate const &candidate)
Definition:
validateEgammaCandidate.h:11
configurableAnalysis::Candidate
char Candidate[]
Definition:
modules.cc:20
GsfElectronFwd.h
metsig::electron
Definition:
SignAlgoResolutions.h:48
egammaTools::validateGsfElectron
void validateGsfElectron(reco::GsfElectron const &electron)
Definition:
validateEgammaCandidate.cc:5
Generated for CMSSW Reference Manual by
1.8.5