#include <TrackTransformerForCosmicMuons.h>
Private Member Functions | |
edm::ESHandle< Propagator > | propagator (bool, int, float) const |
Definition at line 52 of file TrackTransformerForCosmicMuons.h.
TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons | ( | const edm::ParameterSet & | parameterSet, |
edm::ConsumesCollector | iC | ||
) |
Constructor.
Definition at line 34 of file TrackTransformerForCosmicMuons.cc.
References edm::ParameterSet::getParameter(), theCacheId_GTG, theCacheId_MG, theCacheId_TC, theCacheId_TRH, and theRPCInTheFit.
|
override |
ESHandle< TrajectoryFitter > TrackTransformerForCosmicMuons::fitter | ( | bool | up, |
int | quad, | ||
float | sumy | ||
) | const |
the refitter used to refit the reco::Track
Definition at line 199 of file TrackTransformerForCosmicMuons.cc.
References theFitterIO, and theFitterOI.
Referenced by transform().
TransientTrackingRecHit::ConstRecHitContainer TrackTransformerForCosmicMuons::getTransientRecHits | ( | const reco::TransientTrack & | track | ) | const |
if ( quad1 && slopeSum < 0) printout = true;
if ( quad3 && slopeSum > 0) printout = true; if ( quad4 && slopeSum < 0) printout = true;
Definition at line 98 of file TrackTransformerForCosmicMuons.cc.
References filterCSVwithJSON::copy, MuonSubdetId::CSC, CSCDetId, DetId::det(), MuonSubdetId::DT, LogTrace, DetId::Muon, reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), MuonSubdetId::RPC, RPCDetId, SlopeSum(), DetId::subdetId(), theMuonRecHitBuilder, theRPCInTheFit, trackingGeometry(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
the magnetic field
Definition at line 66 of file TrackTransformerForCosmicMuons.h.
References theMGField.
Referenced by transform().
|
private |
Definition at line 263 of file TrackTransformerForCosmicMuons.cc.
References thePropagatorIO, and thePropagatorOI.
Referenced by transform().
|
overridevirtual |
set the services needed by the TrackTransformer
Implements TrackTransformerBase.
Definition at line 55 of file TrackTransformerForCosmicMuons.cc.
References edm::EventSetup::get(), edm::EventSetup::getHandle(), LogTrace, metname, AlCaHLTBitMon_QueryRunRegistry::string, theCacheId_GTG, theCacheId_MG, theCacheId_TC, theCacheId_TRH, theFitterIO, theFitterOI, theIOFitterToken, theIOpropToken, theIOSmootherToken, theMFToken, theMGField, theMuonRecHitBuilder, theMuonRecHitBuildToken, theOIFitterToken, theOIpropToken, theOISmootherToken, thePropagatorIO, thePropagatorOI, theSmootherIO, theSmootherOI, theTkRecHitBuildToken, theTrackerRecHitBuilder, theTrackingGeometry, and thGlobTrackGeoToken.
bool TrackTransformerForCosmicMuons::SlopeSum | ( | const TransientTrackingRecHit::ConstRecHitContainer & | tkHits | ) | const |
calculate the sum of slopes for the track
decide if the track should be reversed
Definition at line 438 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), PVValHelper::dy, PVValHelper::dz, alignCSCRings::e, first, DetId::Muon, DetId::subdetId(), trackingGeometry(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by getTransientRecHits(), and transform().
ESHandle< TrajectorySmoother > TrackTransformerForCosmicMuons::smoother | ( | bool | up, |
int | quad, | ||
float | sumy | ||
) | const |
the smoother used to smooth the trajectory which came from the refitting step
Definition at line 232 of file TrackTransformerForCosmicMuons.cc.
References theSmootherIO, and theSmootherOI.
Referenced by transform().
float TrackTransformerForCosmicMuons::SumDy | ( | const TransientTrackingRecHit::ConstRecHitContainer & | tkHits | ) | const |
decide if the track should be reversed
Definition at line 494 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), PVValHelper::dy, PVValHelper::dz, alignCSCRings::e, first, DetId::Muon, DetId::subdetId(), trackingGeometry(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by transform().
|
inline |
the tracking geometry
Definition at line 69 of file TrackTransformerForCosmicMuons.h.
References theTrackingGeometry.
Referenced by getTransientRecHits(), SlopeSum(), SumDy(), and transform().
|
overridevirtual |
Convert a reco::Track into Trajectory.
Convert Tracks into Trajectories.
Implements TrackTransformerBase.
Definition at line 295 of file TrackTransformerForCosmicMuons.cc.
References alongMomentum, filterCSVwithJSON::copy, gather_cfg::cout, MuonSubdetId::CSC, CSCDetId, MuonSubdetId::DT, fitter(), reco::Track::innerDetId(), reco::TransientTrack::innermostMeasurementState(), LogTrace, magneticField(), metname, DetId::Muon, oppositeToMomentum, reco::Track::outerDetId(), reco::TransientTrack::outermostMeasurementState(), propagator(), SiPixelPI::quadrant(), reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), fileCollector::seed, SlopeSum(), smoother(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), SumDy(), theMuonRecHitBuilder, theRPCInTheFit, reco::TransientTrack::track(), HLT_FULL_cff::track, trackingGeometry(), HLT_FULL_cff::trajectories, up, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 105 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForCosmicMuons().
|
private |
Definition at line 106 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForCosmicMuons().
|
private |
Definition at line 104 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForCosmicMuons().
|
private |
Definition at line 107 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForCosmicMuons().
|
private |
Definition at line 114 of file TrackTransformerForCosmicMuons.h.
Referenced by fitter(), and setServices().
|
private |
Definition at line 115 of file TrackTransformerForCosmicMuons.h.
Referenced by fitter(), and setServices().
|
private |
Definition at line 92 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 88 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 94 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 91 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 112 of file TrackTransformerForCosmicMuons.h.
Referenced by magneticField(), and setServices().
|
private |
Definition at line 124 of file TrackTransformerForCosmicMuons.h.
Referenced by getTransientRecHits(), setServices(), and transform().
|
private |
Definition at line 123 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 97 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 93 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 89 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 95 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 99 of file TrackTransformerForCosmicMuons.h.
Referenced by propagator(), and setServices().
|
private |
Definition at line 100 of file TrackTransformerForCosmicMuons.h.
Referenced by propagator(), and setServices().
|
private |
Definition at line 109 of file TrackTransformerForCosmicMuons.h.
Referenced by getTransientRecHits(), TrackTransformerForCosmicMuons(), and transform().
|
private |
Definition at line 117 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices(), and smoother().
|
private |
Definition at line 118 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices(), and smoother().
|
private |
Definition at line 96 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 121 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 120 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 111 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices(), and trackingGeometry().
|
private |
Definition at line 90 of file TrackTransformerForCosmicMuons.h.
Referenced by setServices().