#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 |
|
private |
Definition at line 396 of file MuonShowerInformationFiller.cc.
References p1, p2, and BarrelDetLayer::specificSurface().
Referenced by crossingPoint(), and getCompatibleDets().
|
private |
Definition at line 403 of file MuonShowerInformationFiller.cc.
References a, Calorimetry_cff::dp, n0, p1, p2, Cylinder::radius(), CosmicsPD_Skims::radius, slope, mathSSE::sqrt(), testProducerWithPsetDescEmpty_cfi::x1, testProducerWithPsetDescEmpty_cfi::x2, testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, and testProducerWithPsetDescEmpty_cfi::z2.
|
private |
|
private |
Definition at line 442 of file MuonShowerInformationFiller.cc.
References crossingPoint(), p1, p2, and ForwardDetLayer::specificSurface().
|
private |
Definition at line 576 of file MuonShowerInformationFiller.cc.
References category_, SiPixelRawToDigiRegional_cfi::deltaPhi, makeMuonMisalignmentScenario::endcap, dqmMemoryStats::float, runTauDisplay::gp, mps_fire::i, LogTrace, M_PI, mps_fire::result, relativeConstraints::ring, volumeBasedMagneticField_160812_cfi::sectors, relativeConstraints::station, and theService.
Referenced by getCompatibleDets().
|
private |
Definition at line 476 of file MuonShowerInformationFiller.cc.
References category_, SiPixelRawToDigiRegional_cfi::deltaPhi, dqmMemoryStats::float, runTauDisplay::gp, LogTrace, M_PI, mps_fire::result, volumeBasedMagneticField_160812_cfi::sectors, relativeConstraints::station, and theService.
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(), hitsFromSegments(), iseed, LogTrace, PV3DBase< T, PVType, FrameType >::mag(), SiStripPI::max, DTChamberId::maxLayerId, DTChamberId::maxSuperLayerId, min(), DTChamberId::minLayerId, DTChamberId::minSuperLayerId, DetId::Muon, 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(), iEvent, 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, TrajectoryStateOnSurface::globalPosition(), trajectoryStateTransform::innerStateOnSurface(), LogTrace, trajectoryStateTransform::outerStateOnSurface(), theService, dqmMemoryStats::total, HLT_2018_cff::track, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fillHitsByStation().
|
inlineprotected |
|
private |
Definition at line 173 of file MuonShowerInformationFiller.cc.
References MuonTransientTrackingRecHitBreaker::breakInSubRecHits(), category_, MuonSubdetId::CSC, dtChamberEfficiency_cfi::cscSegments, 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 get, singleTopDQM_cfi::setup, 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(), getService(), 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().