#include <BetaCalculatorECAL.h>
Public Member Functions | |
void | addInfoToCandidate (susybsm::HSCParticle &candidate, edm::Handle< reco::TrackCollection > &tracks, edm::Event &iEvent, const edm::EventSetup &iSetup, susybsm::HSCPCaloInfo &caloInfo) |
BetaCalculatorECAL (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
Private Member Functions | |
void | addStepToXtal (std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, DetId aDetId, float step, GlobalPoint point, const CaloSubdetectorGeometry *theSubdetGeometry) |
std::vector < SteppingHelixStateInfo > | calcEcalDeposit (const FreeTrajectoryState *tkInnerState, const DetIdAssociator &associator) |
int | getDetailedTrackLengthInXtals (std::map< int, GlobalPoint > &trackExitPositionMap, std::map< int, float > &trackCrossedXtalMap, double &totalLengthCurved, GlobalPoint &internalPointCurved, GlobalPoint &externalPointCurved, const CaloGeometry *theGeometry, const CaloTopology *theTopology, const std::vector< SteppingHelixStateInfo > &neckLace) |
Definition at line 33 of file BetaCalculatorECAL.h.
BetaCalculatorECAL::BetaCalculatorECAL | ( | const edm::ParameterSet & | iConfig, |
edm::ConsumesCollector && | iC | ||
) |
Definition at line 19 of file BetaCalculatorECAL.cc.
References edm::ParameterSet::getParameter(), TrackAssociatorParameters::loadParameters(), parameters_, trackAssociator_, and TrackDetectorAssociator::useDefaultPropagator().
void BetaCalculatorECAL::addInfoToCandidate | ( | susybsm::HSCParticle & | candidate, |
edm::Handle< reco::TrackCollection > & | tracks, | ||
edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup, | ||
susybsm::HSCPCaloInfo & | caloInfo | ||
) |
Definition at line 30 of file BetaCalculatorECAL.cc.
References TrackDetectorAssociator::associate(), bField_, calcEcalDeposit(), EcalRecHit::chi2(), TrackDetMatchInfo::crossedEnergy(), TrackDetMatchInfo::crossedHcalRecHits, runTauDisplay::dr, EBRecHitCollectionToken_, susybsm::HSCPCaloInfo::ecal3by3dir, susybsm::HSCPCaloInfo::ecal5by5dir, EcalBarrel, susybsm::HSCPCaloInfo::ecalBeta, susybsm::HSCPCaloInfo::ecalBetaError, susybsm::HSCPCaloInfo::ecalChi2s, susybsm::HSCPCaloInfo::ecalCrossedEnergy, susybsm::HSCPCaloInfo::ecalCrysCrossed, susybsm::HSCPCaloInfo::ecalDeDx, ecalDetIdAssociator_, susybsm::HSCPCaloInfo::ecalDetIds, susybsm::HSCPCaloInfo::ecalEnergies, susybsm::HSCPCaloInfo::ecalInvBetaError, susybsm::HSCPCaloInfo::ecalOutOfTimeChi2s, susybsm::HSCPCaloInfo::ecalOutOfTimeEnergies, TrackDetMatchInfo::EcalRecHits, susybsm::HSCPCaloInfo::ecalTime, susybsm::HSCPCaloInfo::ecalTimeError, susybsm::HSCPCaloInfo::ecalTimeErrors, susybsm::HSCPCaloInfo::ecalTimes, susybsm::HSCPCaloInfo::ecalTrackExitPositions, susybsm::HSCPCaloInfo::ecalTrackLengths, EERecHitCollectionToken_, EcalRecHit::energy(), edm::EventSetup::get(), edm::Event::getByToken(), getDetailedTrackLengthInXtals(), TrackDetectorAssociator::getFreeTrajectoryState(), TrackDetMatchInfo::getPosition(), susybsm::HSCParticle::hasTrackRef(), susybsm::HSCPCaloInfo::hcal3by3dir, susybsm::HSCPCaloInfo::hcal5by5dir, susybsm::HSCPCaloInfo::hcalCrossedEnergy, TrackDetMatchInfo::HcalRecHits, susybsm::HSCPCaloInfo::hoCrossedEnergy, TrackDetMatchInfo::HORecHits, info(), trajectoryStateTransform::innerFreeState(), EcalRecHit::isTimeErrorValid(), EcalRecHit::isTimeValid(), EcalRecHit::kGood, EcalRecHit::kOutOfTime, EcalRecHit::kPoorCalib, TrackDetMatchInfo::nXnEnergy(), reco::Track::outerEta(), reco::Track::outerPhi(), parameters_, position, funct::pow(), edm::ESHandle< class >::product(), EcalRecHit::recoFlag(), mps_fire::result, mathSSE::sqrt(), DetId::subdetId(), theCaloGeometry_, EcalRecHit::time(), EcalRecHit::timeError(), trackAssociator_, susybsm::HSCParticle::trackRef(), susybsm::HSCPCaloInfo::trkIsoDr, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 316 of file BetaCalculatorECAL.cc.
References mps_update::diff, CaloSubdetectorGeometry::getGeometry(), AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getDetailedTrackLengthInXtals().
|
private |
Definition at line 203 of file BetaCalculatorECAL.cc.
References alongMomentum, bField_, FiducialVolume::maxR(), FiducialVolume::maxZ(), CosmicsPD_Skims::maxZ, FiducialVolume::minR(), HLT_FULL_cff::minR, FiducialVolume::minZ(), HLT_FULL_cff::minZ, propagateThoughFromIP(), SteppingHelixPropagator_cfi::SteppingHelixPropagator, and DetIdAssociator::volume().
Referenced by addInfoToCandidate().
|
private |
Definition at line 223 of file BetaCalculatorECAL.cc.
References addStepToXtal(), DetId::Ecal, ecaldqm::getGeometry(), CaloGeometry::getSubdetectorGeometry(), CaloTopology::getSubdetectorTopology(), CaloSubdetectorTopology::getWindow(), relval_2017::k, mag(), point, and funct::true.
Referenced by addInfoToCandidate().
|
private |
Definition at line 64 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate(), and calcEcalDeposit().
|
private |
Definition at line 60 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate().
|
private |
Definition at line 63 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate().
|
private |
Definition at line 61 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate().
|
private |
Definition at line 59 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate(), BetaCalculatorECAL(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
private |
Definition at line 65 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate().
|
private |
Definition at line 58 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate(), and BetaCalculatorECAL().