#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) | |
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 31 of file BetaCalculatorECAL.h.
BetaCalculatorECAL::BetaCalculatorECAL | ( | const edm::ParameterSet & | iConfig | ) |
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, EBRecHitCollection_, 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, EERecHitCollection_, CaloRecHit::energy(), edm::EventSetup::get(), edm::Event::getByLabel(), 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(), EcalRecHit::outOfTimeChi2(), EcalRecHit::outOfTimeEnergy(), parameters_, position, funct::pow(), edm::ESHandle< class >::product(), EcalRecHit::recoFlag(), query::result, python.multivaluedict::sort(), mathSSE::sqrt(), DetId::subdetId(), theCaloGeometry_, CaloRecHit::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 diffTreeTool::diff, CaloSubdetectorGeometry::getGeometry(), AlCaHLTBitMon_ParallelJobs::p, DetId::rawId(), relval_parameters_module::step, 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(), FiducialVolume::minZ(), propagateThoughFromIP(), SteppingHelixPropagator_cfi::SteppingHelixPropagator, and DetIdAssociator::volume().
Referenced by addInfoToCandidate().
|
private |
Definition at line 223 of file BetaCalculatorECAL.cc.
References addStepToXtal(), DetId::Ecal, CaloGeometry::getSubdetectorGeometry(), CaloTopology::getSubdetectorTopology(), CaloSubdetectorTopology::getWindow(), gen::k, mag(), point, relval_parameters_module::step, and funct::true.
Referenced by addInfoToCandidate().
|
private |
Definition at line 62 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate(), and calcEcalDeposit().
|
private |
Definition at line 58 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().
|
private |
Definition at line 57 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate(), BetaCalculatorECAL(), Mixins._TypedParameterizable::clone(), Types.PSet::clone(), and Mixins._TypedParameterizable::copy().
|
private |
Definition at line 63 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate().
|
private |
Definition at line 56 of file BetaCalculatorECAL.h.
Referenced by addInfoToCandidate(), and BetaCalculatorECAL().