#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 &) | |
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... | |
~MuonShowerInformationFiller () | |
destructor More... | |
Protected Member Functions | |
const MuonServiceProxy * | getService () const |
Description: class for muon shower identification
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 | ) |
Definition at line 70 of file MuonShowerInformationFiller.cc.
References category_, edm::ParameterSet::getParameter(), MuonServiceProxy_cff::MuonServiceProxy, theAllStationHits, theCacheId_MT, theCacheId_TRH, theCorrelatedStationHits, theMuonRecHitBuilderName, theService, theStationShowerDeltaR, theStationShowerTSize, and theTrackerRecHitBuilderName.
MuonShowerInformationFiller::~MuonShowerInformationFiller | ( | ) |
destructor
Definition at line 101 of file MuonShowerInformationFiller.cc.
References theService.
|
private |
Definition at line 439 of file MuonShowerInformationFiller.cc.
References BarrelDetLayer::specificSurface().
Referenced by crossingPoint(), and getCompatibleDets().
|
private |
Definition at line 448 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 490 of file MuonShowerInformationFiller.cc.
References crossingPoint(), and ForwardDetLayer::specificSurface().
|
private |
Definition at line 499 of file MuonShowerInformationFiller.cc.
References BoundSurface::bounds(), Reference_intrackfit_cff::endcap, p2, GloballyPositioned< T >::position(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 598 of file MuonShowerInformationFiller.cc.
References category_, SiPixelRawToDigiRegional_cfi::deltaPhi, Reference_intrackfit_cff::endcap, 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 529 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 703 of file MuonShowerInformationFiller.cc.
References 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 108 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 333 of file MuonShowerInformationFiller.cc.
References perp(), query::result, and launcher::step.
Referenced by fillHitsByStation().
|
private |
Definition at line 276 of file MuonShowerInformationFiller.cc.
References category_, SiPixelRawToDigiRegional_cfi::deltaPhi, LogTrace, phi, query::result, and launcher::step.
Referenced by fillHitsByStation().
|
private |
Definition at line 306 of file MuonShowerInformationFiller.cc.
References query::result, launcher::step, and theta().
Referenced by fillHitsByStation().
|
private |
Definition at line 362 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 177 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 135 of file MuonShowerInformationFiller.cc.
References theAllStationHits, theCorrelatedStationHits, theCSCRecHitLabel, theCSCRecHits, theCSCSegments, theCSCSegmentsLabel, theDT4DRecSegmentLabel, theDT4DRecSegments, theDTRecHitLabel, theDTRecHits, theStationShowerDeltaR, and theStationShowerTSize.
Referenced by fillShowerInformation().
void MuonShowerInformationFiller::setServices | ( | const edm::EventSetup & | setup | ) |
set the services needed
Definition at line 155 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 202 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 190 of file MuonShowerInformationFiller.h.
Referenced by setEvent().
|
private |
Definition at line 194 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 195 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 191 of file MuonShowerInformationFiller.h.
Referenced by setEvent().
|
private |
Definition at line 192 of file MuonShowerInformationFiller.h.
Referenced by setEvent().
|
private |
Definition at line 196 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 203 of file MuonShowerInformationFiller.h.
Referenced by setServices().
|
private |
Definition at line 189 of file MuonShowerInformationFiller.h.
Referenced by setEvent().
|
private |
Definition at line 193 of file MuonShowerInformationFiller.h.
Referenced by fillHitsByStation(), and setEvent().
|
private |
Definition at line 201 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 199 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 200 of file MuonShowerInformationFiller.h.
Referenced by setServices().