#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 443 of file MuonShowerInformationFiller.cc.
References BarrelDetLayer::specificSurface().
Referenced by crossingPoint(), and getCompatibleDets().
|
private |
Definition at line 452 of file MuonShowerInformationFiller.cc.
References a, n0, p2, Cylinder::radius(), CosmicsPD_Skims::radius, slope, mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 494 of file MuonShowerInformationFiller.cc.
References crossingPoint(), and ForwardDetLayer::specificSurface().
|
private |
|
private |
Definition at line 602 of file MuonShowerInformationFiller.cc.
References category_, SiPixelRawToDigiRegional_cfi::deltaPhi, i, LogTrace, M_PI, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), query::result, relativeConstraints::ring, mergeVDriftHistosByStation::sectors, relativeConstraints::station, theService, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getCompatibleDets().
|
private |
Definition at line 533 of file MuonShowerInformationFiller.cc.
References category_, SiPixelRawToDigiRegional_cfi::deltaPhi, LogTrace, M_PI, PV3DBase< T, PVType, FrameType >::perp(), PV3DBase< T, PVType, FrameType >::phi(), query::result, mergeVDriftHistosByStation::sectors, relativeConstraints::station, theService, and PV3DBase< T, PVType, FrameType >::z().
Referenced by getCompatibleDets().
void MuonShowerInformationFiller::fillHitsByStation | ( | const reco::Muon & | muon | ) |
Definition at line 707 of file MuonShowerInformationFiller.cc.
References funct::abs(), begin, category_, MuonSubdetId::CSC, SiPixelRawToDigiRegional_cfi::deltaPhi, DetId::det(), cond::rpcobgas::detid, MuonSubdetId::DT, relativeConstraints::empty, end, findPerpCluster(), findPhiCluster(), findThetaCluster(), getCompatibleDets(), reco::Muon::globalTrack(), hitsFromSegments(), iseed, reco::Muon::isGlobalMuon(), reco::Muon::isStandAloneMuon(), LogTrace, PV3DBase< T, PVType, FrameType >::mag(), DTChamberId::maxLayerId, DTChamberId::maxSuperLayerId, DTChamberId::minLayerId, DTChamberId::minSuperLayerId, DetId::Muon, reco::Muon::outerTrack(), funct::pow(), DetId::rawId(), relativeConstraints::ring, MuonSubdetId::RPC, MuonTransientTrackingRecHit::specificBuild(), mathSSE::sqrt(), relativeConstraints::station, DetId::subdetId(), groupFilesInBlocks::temp, theAllStationHits, theCorrelatedStationHits, theCSCRecHits, theCSCSegments, theDT4DRecSegments, theDTRecHits, theStationShowerDeltaR, and theStationShowerTSize.
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 337 of file MuonShowerInformationFiller.cc.
References perp(), query::result, and relval_parameters_module::step.
Referenced by fillHitsByStation().
|
private |
Definition at line 280 of file MuonShowerInformationFiller.cc.
References category_, SiPixelRawToDigiRegional_cfi::deltaPhi, LogTrace, phi, query::result, and relval_parameters_module::step.
Referenced by fillHitsByStation().
|
private |
Definition at line 310 of file MuonShowerInformationFiller.cc.
References query::result, relval_parameters_module::step, and theta().
Referenced by fillHitsByStation().
|
private |
Definition at line 366 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.
References theService.
|
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 178 of file MuonShowerInformationFiller.h.
Referenced by cscPositionToDets(), dtPositionToDets(), fillHitsByStation(), findPhiCluster(), getCompatibleDets(), hitsFromSegments(), and MuonShowerInformationFiller().
|
private |
Definition at line 94 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), fillShowerInformation(), MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 181 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 180 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 211 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 190 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 195 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 200 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 196 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 191 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 201 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setEvent().
|
private |
Definition at line 192 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller().
|
private |
Definition at line 197 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 202 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 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 210 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 187 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 186 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 97 of file MuonShowerInformationFiller.h.
Referenced by cscPositionToDets(), dtPositionToDets(), fillShowerInformation(), getCompatibleDets(), getService(), 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 208 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 184 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 183 of file MuonShowerInformationFiller.h.
Referenced by MuonShowerInformationFiller(), and setServices().
|
private |
Definition at line 209 of file MuonShowerInformationFiller.h.
Referenced by setServices().