#include <MuonShowerInformationFiller.h>
Classes | |
struct | AbsLessDPhi |
struct | AbsLessDTheta |
struct | LessAbsMag |
struct | LessDPhi |
struct | LessMag |
struct | LessPerp |
struct | LessPhi |
Public Member Functions | |
void | fillHitsByStation (const reco::Muon &) |
reco::MuonShower | fillShowerInformation (const reco::Muon &muon, const edm::Event &, const edm::EventSetup &) |
fill muon shower variables More... | |
MuonShowerInformationFiller () | |
constructors More... | |
MuonShowerInformationFiller (const edm::ParameterSet &, edm::ConsumesCollector &) | |
virtual void | setEvent (const edm::Event &) |
pass the Event to the algorithm at each event More... | |
void | setServices (const edm::EventSetup &) |
set the services needed More... | |
virtual | ~MuonShowerInformationFiller () |
destructor More... | |
Protected Member Functions | |
const MuonServiceProxy * | getService () const |
Description: class for muon shower identification
Definition at line 57 of file MuonShowerInformationFiller.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer MuonShowerInformationFiller::ConstMuonRecHitPointer |
Definition at line 63 of file MuonShowerInformationFiller.h.
typedef TransientTrackingRecHit::ConstRecHitContainer MuonShowerInformationFiller::ConstRecHitContainer |
Definition at line 61 of file MuonShowerInformationFiller.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer MuonShowerInformationFiller::MuonRecHitContainer |
Definition at line 62 of file MuonShowerInformationFiller.h.
|
inline |
MuonShowerInformationFiller::MuonShowerInformationFiller | ( | const edm::ParameterSet & | par, |
edm::ConsumesCollector & | iC | ||
) |
Definition at line 68 of file MuonShowerInformationFiller.cc.
References category_, edm::ConsumesCollector::consumes(), edm::ParameterSet::getParameter(), MuonServiceProxy_cff::MuonServiceProxy, theAllStationHits, theCacheId_MT, theCacheId_TRH, theCorrelatedStationHits, theCSCRecHitLabel, theCSCRecHitToken, theCSCSegmentsLabel, theCSCSegmentsToken, theDT4DRecSegmentLabel, theDT4DRecSegmentToken, theDTRecHitLabel, theDTRecHitToken, theMuonRecHitBuilderName, theService, theStationShowerDeltaR, theStationShowerTSize, and theTrackerRecHitBuilderName.
|
virtual |
destructor
Definition at line 105 of file MuonShowerInformationFiller.cc.
References theService.
|
private |
Definition at line 414 of file MuonShowerInformationFiller.cc.
References BarrelDetLayer::specificSurface().
Referenced by crossingPoint(), and getCompatibleDets().
|
private |
Definition at line 423 of file MuonShowerInformationFiller.cc.
References a, reco::dp, n0, p2, TCMET_cfi::radius, Cylinder::radius(), slope, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 465 of file MuonShowerInformationFiller.cc.
References crossingPoint(), reco::dp, makeMuonMisalignmentScenario::endcap, p1, p2, DefaultAlgorithms_cff::slopeX, ForwardDetLayer::specificSurface(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
|
private |
Definition at line 573 of file MuonShowerInformationFiller.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), category_, MuonCkfTrajectoryBuilder_cfi::deltaPhi, makeMuonMisalignmentScenario::endcap, objects.autophobj::float, mps_fire::i, LogTrace, M_PI, PV3DBase< T, PVType, FrameType >::perp(), mps_fire::result, relativeConstraints::ring, relativeConstraints::station, theService, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getCompatibleDets().
|
private |
Definition at line 504 of file MuonShowerInformationFiller.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), category_, MuonCkfTrajectoryBuilder_cfi::deltaPhi, objects.autophobj::float, LogTrace, M_PI, PV3DBase< T, PVType, FrameType >::perp(), mps_fire::result, relativeConstraints::station, theService, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getCompatibleDets().
void MuonShowerInformationFiller::fillHitsByStation | ( | const reco::Muon & | muon | ) |
Definition at line 678 of file MuonShowerInformationFiller.cc.
References funct::abs(), begin, category_, popcon2dropbox::copy(), MuonSubdetId::CSC, MuonCkfTrajectoryBuilder_cfi::deltaPhi, DetId::det(), MuonSubdetId::DT, end, findPerpCluster(), findThetaCluster(), objects.autophobj::float, getCompatibleDets(), reco::Muon::globalTrack(), hitsFromSegments(), iseed, reco::Muon::isGlobalMuon(), reco::Muon::isStandAloneMuon(), LogTrace, PV3DBase< T, PVType, FrameType >::mag(), hpstanc_transforms::max, DTChamberId::maxLayerId, DTChamberId::maxSuperLayerId, min(), DTChamberId::minLayerId, DTChamberId::minSuperLayerId, DetId::Muon, reco::Muon::outerTrack(), phi, funct::pow(), DetId::rawId(), relativeConstraints::ring, MuonSubdetId::RPC, MuonTransientTrackingRecHit::specificBuild(), mathSSE::sqrt(), trackingPlots::stat, relativeConstraints::station, DetId::subdetId(), groupFilesInBlocks::temp, theAllStationHits, theCorrelatedStationHits, theCSCRecHits, theCSCSegments, theDT4DRecSegments, theDTRecHits, theStationShowerDeltaR, theStationShowerTSize, HiIsolationCommonParameters_cff::track, pileupCalc::upper, and makeMuonMisalignmentScenario::wheel.
Referenced by fillShowerInformation().
reco::MuonShower MuonShowerInformationFiller::fillShowerInformation | ( | const reco::Muon & | muon, |
const edm::Event & | iEvent, | ||
const edm::EventSetup & | iSetup | ||
) |
fill muon shower variables
Definition at line 112 of file MuonShowerInformationFiller.cc.
References fillHitsByStation(), reco::MuonShower::nStationCorrelatedHits, reco::MuonShower::nStationHits, setEvent(), setServices(), reco::MuonShower::stationShowerDeltaR, reco::MuonShower::stationShowerSizeT, theAllStationHits, theCorrelatedStationHits, theService, theStationShowerDeltaR, and theStationShowerTSize.
Referenced by MuonShowerInformationProducer::produce().
|
private |
Definition at line 308 of file MuonShowerInformationFiller.cc.
References perp(), and mps_fire::result.
Referenced by fillHitsByStation().
|
private |
Definition at line 281 of file MuonShowerInformationFiller.cc.
References mps_fire::result, and theta().
Referenced by fillHitsByStation().
|
private |
Definition at line 337 of file MuonShowerInformationFiller.cc.
References begin, category_, crossingPoint(), cscPositionToDets(), dtPositionToDets(), end, reco::TrackBase::eta(), TrajectoryStateOnSurface::globalPosition(), trajectoryStateTransform::innerStateOnSurface(), LogTrace, trajectoryStateTransform::outerStateOnSurface(), reco::TrackBase::p(), reco::TrackBase::phi(), theService, pileupDistInMC::total, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillHitsByStation().
|
inlineprotected |
Definition at line 88 of file MuonShowerInformationFiller.h.
|
private |
Definition at line 181 of file MuonShowerInformationFiller.cc.
References MuonTransientTrackingRecHitBreaker::breakInSubRecHits(), category_, MuonSubdetId::CSC, MuonSubdetId::DT, GeomDet::geographicalId(), LogTrace, mag(), DetId::rawId(), MuonTransientTrackingRecHit::specificBuild(), and DetId::subdetId().
Referenced by fillHitsByStation().
|
virtual |
pass the Event to the algorithm at each event
Definition at line 139 of file MuonShowerInformationFiller.cc.
References theAllStationHits, theCorrelatedStationHits, theCSCRecHits, theCSCRecHitToken, theCSCSegments, theCSCSegmentsToken, theDT4DRecSegments, theDT4DRecSegmentToken, theDTRecHits, theDTRecHitToken, theStationShowerDeltaR, and theStationShowerTSize.
Referenced by fillShowerInformation().
void MuonShowerInformationFiller::setServices | ( | const edm::EventSetup & | setup | ) |
set the services needed
Definition at line 159 of file MuonShowerInformationFiller.cc.
References edm::EventSetup::get(), theCacheId_TRH, theCSCGeometry, theDTGeometry, theField, theMuonRecHitBuilder, theMuonRecHitBuilderName, theTracker, theTrackerRecHitBuilder, theTrackerRecHitBuilderName, and theTrackingGeometry.
Referenced by fillShowerInformation().
|
private |
Definition at line 177 of file MuonShowerInformationFiller.h.
Referenced by cscPositionToDets(), dtPositionToDets(), fillHitsByStation(), getCompatibleDets(), hitsFromSegments(), and MuonShowerInformationFiller().
|
private |
Definition at line 94 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 180 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 179 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 95 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 210 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 189 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 194 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 199 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 195 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 190 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 200 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 191 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 196 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 201 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 211 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 188 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 193 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 198 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 209 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 186 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 185 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 97 of file MuonShowerInformationFiller.h.
Referenced by cscPositionToDets(), dtPositionToDets(), fillShowerInformation(), getCompatibleDets(), MuonShowerInformationFiller(), and ~MuonShowerInformationFiller().
|
private |
Definition at line 92 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 93 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 207 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 183 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 182 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 208 of file MuonShowerInformationFiller.h.
Referenced by setServices().