CMS 3D CMS Logo

validateEgammaCandidate.cc
Go to the documentation of this file.
2 
4 
6  if (electron.convVtxFitProb() > 1.0f) {
7  throw cms::Exception("EgammaError")
8  << "invalid value " << electron.convVtxFitProb() << " for reco::GsfElectron.conversionRejection_.vtxFitProb\n"
9  << "It should be either beween 0.0f and 1.0f or negative in case no matching conversion was found.\n"
10  << "Probably you need to update the electron collection with the EG9X105XObjectUpdateModifier plugin:\n"
11  << "see PhysicsTools/NanoAOD/python/electrons_cff.py for an example.\n";
12  }
13 }
metsig::electron
Definition: SignAlgoResolutions.h:48
reco::GsfElectron
Definition: GsfElectron.h:34
GsfElectron.h
Exception
Definition: hltDiff.cc:245
egammaTools::validateGsfElectron
void validateGsfElectron(reco::GsfElectron const &electron)
Definition: validateEgammaCandidate.cc:5
validateEgammaCandidate.h