#include <EcalShowerProperties.h>
Public Member Functions | |
EcalShowerProperties (const edm::Event &ev, const edm::EventSetup &es) | |
std::pair< double, double > | processTrack (const reco::Track &track, int &ntime) |
Private Member Functions | |
double | getDistance (const std::vector< TrajectoryStateOnSurface > &tsosEnds, const CaloCellGeometry *cell) |
std::vector < TrajectoryStateOnSurface > | getEndpoints (const FreeTrajectoryState &ftsAtLastPoint, const TrajectoryStateOnSurface &tsosBeforeEcal, int subDet) |
Plane::PlanePointer | getSurface (const CaloCellGeometry *cell, int i) |
FreeTrajectoryState | getTrajectoryAtOuterPoint (const reco::Track &track) |
std::pair< double, double > | processEcalRecHits (const std::vector< TrajectoryStateOnSurface > &tsosEnds, int subDet, int &ntime) |
Private Attributes | |
edm::Handle< EBRecHitCollection > | recHitsBarrel |
edm::Handle< EERecHitCollection > | recHitsEndcap |
const CaloGeometry * | theCaloGeometry |
const MagneticField * | theMagneticField |
const Propagator * | thePropagator |
Definition at line 18 of file EcalShowerProperties.h.
EcalShowerProperties::EcalShowerProperties | ( | const edm::Event & | ev, |
const edm::EventSetup & | es | ||
) |
Definition at line 31 of file EcalShowerProperties.cc.
References edm::EventSetup::get(), edm::Event::getByLabel(), and edm::ESHandle< class >::product().
|
private |
Definition at line 135 of file EcalShowerProperties.cc.
References trackerHits::c, dmin, reco::dp, alignCSCRings::e, CaloCellGeometry::getCorners(), mag2(), min, AlCaHLTBitMon_ParallelJobs::p, p1, p2, mathSSE::sqrt(), x, PV3DBase< T, PVType, FrameType >::x(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), and detailsBasic3DVector::z.
|
private |
Definition at line 88 of file EcalShowerProperties.cc.
References DetId::Ecal, relativeConstraints::geom, CaloSubdetectorGeometry::getClosestCell(), CaloSubdetectorGeometry::getGeometry(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), FreeTrajectoryState::position(), CaloSubdetectorGeometry::present(), and relval_parameters_module::step.
|
private |
Definition at line 68 of file EcalShowerProperties.cc.
References Plane::build(), trackerHits::c, CaloCellGeometry::getCorners(), j, pos, makeMuonMisalignmentScenario::rot, x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
|
private |
Definition at line 56 of file EcalShowerProperties.cc.
References reco::TrackBase::charge(), reco::Track::outerPx(), reco::Track::outerPy(), reco::Track::outerPz(), reco::Track::outerStateCovariance(), reco::Track::outerX(), reco::Track::outerY(), reco::Track::outerZ(), and pos.
|
private |
Definition at line 177 of file EcalShowerProperties.cc.
References DetId::Ecal, EcalBarrel, relval_parameters_module::energy, relativeConstraints::geom, CaloSubdetectorGeometry::getClosestCell(), CaloSubdetectorGeometry::getGeometry(), EBDetId::ieta(), EBDetId::iphi(), EEDetId::ix(), EEDetId::iy(), R_M, cond::rpcobgas::time, and EEDetId::zside().
pair< double, double > EcalShowerProperties::processTrack | ( | const reco::Track & | track, |
int & | ntime | ||
) |
Definition at line 255 of file EcalShowerProperties.cc.
References Plane::build(), newFWLiteAna::build, EcalBarrel, EcalEndcap, TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::perp(), pos, CosmicsPD_Skims::radius, query::result, makeMuonMisalignmentScenario::rot, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 40 of file EcalShowerProperties.h.
|
private |
Definition at line 41 of file EcalShowerProperties.h.
|
private |
Definition at line 38 of file EcalShowerProperties.h.
|
private |
Definition at line 36 of file EcalShowerProperties.h.
|
private |
Definition at line 37 of file EcalShowerProperties.h.