#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 63 of file MuonShowerInformationFiller.h.
typedef MuonTransientTrackingRecHit::ConstMuonRecHitPointer MuonShowerInformationFiller::ConstMuonRecHitPointer |
Definition at line 67 of file MuonShowerInformationFiller.h.
typedef TransientTrackingRecHit::ConstRecHitContainer MuonShowerInformationFiller::ConstRecHitContainer |
Definition at line 65 of file MuonShowerInformationFiller.h.
typedef MuonTransientTrackingRecHit::MuonRecHitContainer MuonShowerInformationFiller::MuonRecHitContainer |
Definition at line 66 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 101 of file MuonShowerInformationFiller.cc.
References theService.
|
private |
Definition at line 396 of file MuonShowerInformationFiller.cc.
References BarrelDetLayer::specificSurface().
Referenced by crossingPoint(), and getCompatibleDets().
|
private |
Definition at line 403 of file MuonShowerInformationFiller.cc.
References a, Calorimetry_cff::dp, n0, p2, Cylinder::radius(), CosmicsPD_Skims::radius, slope, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, PV3DBase< T, PVType, FrameType >::z(), and testProducerWithPsetDescEmpty_cfi::z2.
|
private |
Definition at line 442 of file MuonShowerInformationFiller.cc.
References crossingPoint(), Calorimetry_cff::dp, makeMuonMisalignmentScenario::endcap, p1, p2, HLT_FULL_cff::slopeX, ForwardDetLayer::specificSurface(), Calorimetry_cff::thickness, PV3DBase< T, PVType, FrameType >::x(), testProducerWithPsetDescEmpty_cfi::x1, PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, and PV3DBase< T, PVType, FrameType >::z().
|
private |
|
private |
Definition at line 576 of file MuonShowerInformationFiller.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), category_, SiPixelRawToDigiRegional_cfi::deltaPhi, makeMuonMisalignmentScenario::endcap, dqmMemoryStats::float, mps_fire::i, LogTrace, M_PI, PV3DBase< T, PVType, FrameType >::perp(), mps_fire::result, relativeConstraints::ring, volumeBasedMagneticField_1103l_cfi::sectors, relativeConstraints::station, theService, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getCompatibleDets().
|
private |
Definition at line 476 of file MuonShowerInformationFiller.cc.
References PV3DBase< T, PVType, FrameType >::barePhi(), category_, SiPixelRawToDigiRegional_cfi::deltaPhi, dqmMemoryStats::float, LogTrace, M_PI, PV3DBase< T, PVType, FrameType >::perp(), mps_fire::result, volumeBasedMagneticField_1103l_cfi::sectors, relativeConstraints::station, theService, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getCompatibleDets().
void MuonShowerInformationFiller::fillHitsByStation | ( | const reco::Muon & | muon | ) |
Definition at line 684 of file MuonShowerInformationFiller.cc.
References funct::abs(), begin, category_, filterCSVwithJSON::copy, MuonSubdetId::CSC, SiPixelRawToDigiRegional_cfi::deltaPhi, DetId::det(), MuonSubdetId::DT, end, findPerpCluster(), findThetaCluster(), dqmMemoryStats::float, getCompatibleDets(), reco::Muon::globalTrack(), hitsFromSegments(), iseed, reco::Muon::isGlobalMuon(), reco::Muon::isStandAloneMuon(), LogTrace, PV3DBase< T, PVType, FrameType >::mag(), SiStripPI::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(), hgcalPlots::stat, relativeConstraints::station, DetId::subdetId(), groupFilesInBlocks::temp, theAllStationHits, theCorrelatedStationHits, theCSCRecHits, theCSCSegments, theDT4DRecSegments, theDTRecHits, theStationShowerDeltaR, theStationShowerTSize, HLT_2018_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 109 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 294 of file MuonShowerInformationFiller.cc.
References perp(), and mps_fire::result.
Referenced by fillHitsByStation().
|
private |
Definition at line 267 of file MuonShowerInformationFiller.cc.
References mps_fire::result, and theta().
Referenced by fillHitsByStation().
|
private |
Definition at line 325 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, dqmMemoryStats::total, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillHitsByStation().
|
inlineprotected |
Definition at line 90 of file MuonShowerInformationFiller.h.
|
private |
Definition at line 173 of file MuonShowerInformationFiller.cc.
References MuonTransientTrackingRecHitBreaker::breakInSubRecHits(), category_, MuonSubdetId::CSC, MuonSubdetId::DT, GeomDet::geographicalId(), LogTrace, mag(), FastTimerService_cff::range, DetId::rawId(), MuonTransientTrackingRecHit::specificBuild(), and DetId::subdetId().
Referenced by fillHitsByStation().
|
virtual |
pass the Event to the algorithm at each event
Definition at line 136 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 154 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 183 of file MuonShowerInformationFiller.h.
Referenced by cscPositionToDets(), dtPositionToDets(), fillHitsByStation(), getCompatibleDets(), hitsFromSegments(), and MuonShowerInformationFiller().
|
private |
Definition at line 95 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 186 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 185 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 96 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 213 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 195 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 200 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 205 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 201 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 196 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 206 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 197 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 202 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 207 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 214 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 194 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 199 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 204 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 212 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 192 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 191 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 98 of file MuonShowerInformationFiller.h.
Referenced by cscPositionToDets(), dtPositionToDets(), fillShowerInformation(), getCompatibleDets(), MuonShowerInformationFiller(), and ~MuonShowerInformationFiller().
|
private |
Definition at line 93 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 94 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 setServices().
|
private |
Definition at line 188 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 211 of file MuonShowerInformationFiller.h.
Referenced by setServices().