#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(), edm::parameterSet(), 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, theFitterOI, and up.
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 TransientTrackingRecHitBuilder::build(), filterCSVwithJSON::copy, MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, GlobalTrackingGeometry::idToDet(), LogTrace, DetId::Muon, GeomDet::position(), groupFilesInBlocks::reverse, MuonSubdetId::RPC, SlopeSum(), DetId::subdetId(), theMuonRecHitBuilder, theRPCInTheFit, HLT_2023v12_cff::track, trackingGeometry(), funct::true, 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, thePropagatorOI, and up.
Referenced by transform().
|
overridevirtual |
set the services needed by the TrackTransformer
Implements TrackTransformerBase.
Definition at line 55 of file TrackTransformerForCosmicMuons.cc.
References LogTrace, metname, singleTopDQM_cfi::setup, 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, MillePedeFileConverter_cfg::e, dqmdumpme::first, GlobalTrackingGeometry::idToDet(), DetId::Muon, GeomDet::position(), multPhiCorr_741_25nsDY_cfi::py, DetId::subdetId(), trackingGeometry(), PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, PV3DBase< T, PVType, FrameType >::z(), and testProducerWithPsetDescEmpty_cfi::z2.
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, theSmootherOI, and up.
Referenced by transform().
float TrackTransformerForCosmicMuons::SumDy | ( | const TransientTrackingRecHit::ConstRecHitContainer & | tkHits | ) | const |
decide if the track should be reversed
Definition at line 492 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), PVValHelper::dy, dqmdumpme::first, GlobalTrackingGeometry::idToDet(), DetId::Muon, GeomDet::position(), multPhiCorr_741_25nsDY_cfi::py, DetId::subdetId(), trackingGeometry(), PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, PV3DBase< T, PVType, FrameType >::z(), and testProducerWithPsetDescEmpty_cfi::z2.
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, TransientTrackingRecHitBuilder::build(), filterCSVwithJSON::copy, gather_cfg::cout, MuonSubdetId::CSC, MuonSubdetId::DT, TrajectoryFitter::fit(), fitter(), GlobalTrackingGeometry::idToDet(), LogTrace, magneticField(), metname, DetId::Muon, oppositeToMomentum, GeomDet::position(), Propagator::propagate(), propagator(), SiPixelPI::quadrant(), groupFilesInBlocks::reverse, fileCollector::seed, SlopeSum(), smoother(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), SumDy(), theMuonRecHitBuilder, theRPCInTheFit, HLT_2023v12_cff::track, trackingGeometry(), FastTrackerRecHitMaskProducer_cfi::trajectories, TrajectorySmoother::trajectories(), funct::true, 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().