Public Member Functions | |
void | calculateMode () |
reco::Candidate::LorentzVector | calculateMomentum () |
bool | calculateTSOS (MultiTrajectoryStateTransform const &, GsfConstraintAtVertex const &) |
void | computeCharge (int &charge, reco::GsfElectron::ChargeInfo &info) |
ElectronData (const reco::GsfElectronCoreRef &core, const reco::BeamSpot &bs) | |
reco::CaloClusterPtr | getEleBasicCluster (MultiTrajectoryStateTransform const &) |
Definition at line 97 of file GsfElectronAlgo.cc.
GsfElectronAlgo::ElectronData::ElectronData | ( | const reco::GsfElectronCoreRef & | core, |
const reco::BeamSpot & | bs | ||
) |
Definition at line 143 of file GsfElectronAlgo.cc.
void GsfElectronAlgo::ElectronData::calculateMode | ( | ) |
Definition at line 240 of file GsfElectronAlgo.cc.
References constrainedVtxTSOS, eleMom, elePos, eleTSOS, innMom, innPos, innTSOS, multiTrajectoryStateMode::momentumFromModeCartesian(), outMom, outPos, outTSOS, multiTrajectoryStateMode::positionFromModeCartesian(), sclMom, sclPos, sclTSOS, seedMom, seedPos, seedTSOS, vtxMom, vtxMomWithConstraint, vtxPos, and vtxTSOS.
Referenced by GsfElectronAlgo::createElectron().
Candidate::LorentzVector GsfElectronAlgo::ElectronData::calculateMomentum | ( | ) |
Definition at line 256 of file GsfElectronAlgo.cc.
References PV3DBase< T, PVType, FrameType >::mag(), Scenarios_cff::scale, superClusterRef, vtxMom, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by GsfElectronAlgo::createElectron().
bool GsfElectronAlgo::ElectronData::calculateTSOS | ( | MultiTrajectoryStateTransform const & | mtsTransform, |
GsfConstraintAtVertex const & | constraintAtVtx | ||
) |
Definition at line 200 of file GsfElectronAlgo.cc.
References beamSpot, qcdUeDQM_cfi::bsPos, GsfConstraintAtVertex::constrainAtBeamSpot(), constrainedVtxTSOS, ele_convert(), MultiTrajectoryStateTransform::extrapolatedState(), gsfTrackRef, MultiTrajectoryStateTransform::innerStateOnSurface(), innTSOS, TrajectoryStateOnSurface::isValid(), MultiTrajectoryStateTransform::outerStateOnSurface(), outTSOS, reco::BeamSpot::position(), sclTSOS, seedTSOS, superClusterRef, and vtxTSOS.
Referenced by GsfElectronAlgo::completeElectrons().
void GsfElectronAlgo::ElectronData::computeCharge | ( | int & | charge, |
reco::GsfElectron::ChargeInfo & | info | ||
) |
Definition at line 151 of file GsfElectronAlgo.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), beamSpot, ctfTrackRef, ele_convert(), TrajectoryStateOnSurface::globalPosition(), gsfTrackRef, innTSOS, reco::GsfElectron::ChargeInfo::isGsfCtfConsistent, reco::GsfElectron::ChargeInfo::isGsfCtfScPixConsistent, reco::GsfElectron::ChargeInfo::isGsfScPixConsistent, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), normalizedPhi(), reco::BeamSpot::position(), reco::GsfElectron::ChargeInfo::scPixCharge, and superClusterRef.
Referenced by GsfElectronAlgo::createElectron().
CaloClusterPtr GsfElectronAlgo::ElectronData::getEleBasicCluster | ( | MultiTrajectoryStateTransform const & | mtsTransform | ) |
Definition at line 179 of file GsfElectronAlgo.cc.
References funct::abs(), beamSpot, HLT_2018_cff::dPhi, eleTSOS, MultiTrajectoryStateTransform::extrapolatedState(), gsfTrackRef, MultiTrajectoryStateTransform::outerStateOnSurface(), outTSOS, reco::BeamSpot::position(), and superClusterRef.
Referenced by GsfElectronAlgo::createElectron().
const reco::BeamSpot GsfElectronAlgo::ElectronData::beamSpot |
Definition at line 104 of file GsfElectronAlgo.cc.
Referenced by calculateTSOS(), computeCharge(), and getEleBasicCluster().
TrajectoryStateOnSurface GsfElectronAlgo::ElectronData::constrainedVtxTSOS |
Definition at line 123 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and calculateTSOS().
const reco::GsfElectronCoreRef GsfElectronAlgo::ElectronData::coreRef |
Definition at line 99 of file GsfElectronAlgo.cc.
Referenced by GsfElectronAlgo::createElectron().
reco::TrackRef GsfElectronAlgo::ElectronData::ctfTrackRef |
Definition at line 102 of file GsfElectronAlgo.cc.
Referenced by computeCharge(), and GsfElectronAlgo::createElectron().
GlobalVector GsfElectronAlgo::ElectronData::eleMom |
Definition at line 126 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
GlobalPoint GsfElectronAlgo::ElectronData::elePos |
Definition at line 127 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
TrajectoryStateOnSurface GsfElectronAlgo::ElectronData::eleTSOS |
Definition at line 122 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and getEleBasicCluster().
const reco::GsfTrackRef GsfElectronAlgo::ElectronData::gsfTrackRef |
Definition at line 100 of file GsfElectronAlgo.cc.
Referenced by calculateTSOS(), computeCharge(), GsfElectronAlgo::createElectron(), and getEleBasicCluster().
GlobalVector GsfElectronAlgo::ElectronData::innMom |
Definition at line 126 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
GlobalPoint GsfElectronAlgo::ElectronData::innPos |
Definition at line 127 of file GsfElectronAlgo.cc.
Referenced by calculateMode().
TrajectoryStateOnSurface GsfElectronAlgo::ElectronData::innTSOS |
Definition at line 117 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), calculateTSOS(), and computeCharge().
GlobalVector GsfElectronAlgo::ElectronData::outMom |
Definition at line 126 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
GlobalPoint GsfElectronAlgo::ElectronData::outPos |
Definition at line 127 of file GsfElectronAlgo.cc.
Referenced by calculateMode().
TrajectoryStateOnSurface GsfElectronAlgo::ElectronData::outTSOS |
Definition at line 118 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), calculateTSOS(), and getEleBasicCluster().
GlobalVector GsfElectronAlgo::ElectronData::sclMom |
Definition at line 126 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
GlobalPoint GsfElectronAlgo::ElectronData::sclPos |
Definition at line 127 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
TrajectoryStateOnSurface GsfElectronAlgo::ElectronData::sclTSOS |
Definition at line 120 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and calculateTSOS().
GlobalVector GsfElectronAlgo::ElectronData::seedMom |
Definition at line 126 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
GlobalPoint GsfElectronAlgo::ElectronData::seedPos |
Definition at line 127 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
TrajectoryStateOnSurface GsfElectronAlgo::ElectronData::seedTSOS |
Definition at line 121 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and calculateTSOS().
float GsfElectronAlgo::ElectronData::shFracInnerHits |
Definition at line 103 of file GsfElectronAlgo.cc.
Referenced by GsfElectronAlgo::createElectron().
const reco::SuperClusterRef GsfElectronAlgo::ElectronData::superClusterRef |
Definition at line 101 of file GsfElectronAlgo.cc.
Referenced by calculateMomentum(), calculateTSOS(), computeCharge(), GsfElectronAlgo::createElectron(), and getEleBasicCluster().
GlobalVector GsfElectronAlgo::ElectronData::vtxMom |
Definition at line 126 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), calculateMomentum(), and GsfElectronAlgo::createElectron().
GlobalVector GsfElectronAlgo::ElectronData::vtxMomWithConstraint |
Definition at line 128 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
GlobalPoint GsfElectronAlgo::ElectronData::vtxPos |
Definition at line 127 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), and GsfElectronAlgo::createElectron().
TrajectoryStateOnSurface GsfElectronAlgo::ElectronData::vtxTSOS |
Definition at line 119 of file GsfElectronAlgo.cc.
Referenced by calculateMode(), calculateTSOS(), and GsfElectronAlgo::createElectron().