1 #ifndef SimpleElectron_STANDALONE 5 eClass_(
int(
in.classification())),
7 scEnergy_(
in.superCluster()->rawEnergy() + (
in.isEB() ? 0 :
in.superCluster()->preshowerEnergy())),
9 trackMomentum_(
in.trackMomentumAtVtx().
R()),
10 trackMomentumError_(
in.trackMomentumError()),
11 regEnergy_(
in.correctedEcalEnergy()),
12 regEnergyError_(
in.correctedEcalEnergyError()),
13 eta_(
in.superCluster()->
eta()),
16 isEcalDriven_(
in.ecalDriven()),
17 isTrackerDriven_(
in.trackerDrivenSeed()),
18 newEnergy_(regEnergy_),
19 newEnergyError_(regEnergyError_),
20 combinedMomentum_(
in.p4(
reco::GsfElectron::P4_COMBINATION).
P()),
21 combinedMomentumError_(
in.p4Error(
reco::GsfElectron::P4_COMBINATION)),
double getNewEnergy() const
double getCombinedMomentum() const
double getTrackerMomentumError() const
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
double getCombinedMomentumError() const
void writeTo(reco::GsfElectron &out) const
std::pair< OmniClusterRef, TrackingParticleRef > P
double getNewEnergyError() const