#include <TrackTransformerForGlobalCosmicMuons.h>
Public Member Functions | |
edm::ESHandle< TrajectoryFitter > | fitter (bool) const |
the refitter used to refit the reco::Track More... | |
TransientTrackingRecHit::ConstRecHitContainer | getTransientRecHits (const reco::TransientTrack &track) const |
const MagneticField * | magneticField () const |
the magnetic field More... | |
bool | MuonKeep (DetId id) const |
check (via options) if this is a muon rec hit for removal More... | |
void | setServices (const edm::EventSetup &) override |
set the services needed by the TrackTransformer More... | |
edm::ESHandle< TrajectorySmoother > | smoother (bool) const |
the smoother used to smooth the trajectory which came from the refitting step More... | |
bool | TrackerKeep (DetId id) const |
check (via options) if this is a tracker rec hit for removal More... | |
edm::ESHandle< GlobalTrackingGeometry > | trackingGeometry () const |
the tracking geometry More... | |
TrackTransformerForGlobalCosmicMuons (const edm::ParameterSet &, edm::ConsumesCollector) | |
Constructor. More... | |
std::vector< Trajectory > | transform (const reco::Track &) const override |
Convert a reco::Track into Trajectory. More... | |
~TrackTransformerForGlobalCosmicMuons () override | |
Destructor. More... | |
Public Member Functions inherited from TrackTransformerBase | |
TrackTransformerBase () | |
Constructor. More... | |
virtual | ~TrackTransformerBase () |
Destructor. More... | |
Private Member Functions | |
edm::ESHandle< Propagator > | propagator (bool) const |
Definition at line 45 of file TrackTransformerForGlobalCosmicMuons.h.
TrackTransformerForGlobalCosmicMuons::TrackTransformerForGlobalCosmicMuons | ( | const edm::ParameterSet & | parameterSet, |
edm::ConsumesCollector | iC | ||
) |
Constructor.
Definition at line 26 of file TrackTransformerForGlobalCosmicMuons.cc.
References edm::ParameterSet::getParameter(), edm::parameterSet(), theCacheId_GTG, theCacheId_MG, theCacheId_TC, theCacheId_TRH, theRPCInTheFit, theSkipStationCSC, theSkipStationDT, theSkipWheelDT, theTrackerSkipSection, and theTrackerSkipSystem.
|
override |
ESHandle< TrajectoryFitter > TrackTransformerForGlobalCosmicMuons::fitter | ( | bool | up | ) | const |
the refitter used to refit the reco::Track
Definition at line 168 of file TrackTransformerForGlobalCosmicMuons.cc.
References theFitterIO, theFitterOI, and up.
Referenced by transform().
TransientTrackingRecHit::ConstRecHitContainer TrackTransformerForGlobalCosmicMuons::getTransientRecHits | ( | const reco::TransientTrack & | track | ) | const |
Definition at line 100 of file TrackTransformerForGlobalCosmicMuons.cc.
References TransientTrackingRecHitBuilder::build(), filterCSVwithJSON::copy, MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, GlobalTrackingGeometry::idToDet(), createfilelist::int, LogTrace, DetId::Muon, MuonKeep(), PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, GeomDet::position(), TrackerTopology::pxbLayer(), TrackerTopology::pxfDisk(), MuonSubdetId::RPC, DetId::subdetId(), StripSubdetector::TEC, TrackerTopology::tecWheel(), theMuonRecHitBuilder, theRPCInTheFit, theTrackerRecHitBuilder, StripSubdetector::TIB, TrackerTopology::tibLayer(), StripSubdetector::TID, TrackerTopology::tidWheel(), StripSubdetector::TOB, TrackerTopology::tobLayer(), HLT_2023v12_cff::track, DetId::Tracker, TrackerKeep(), trackingGeometry(), and tTopo_.
Referenced by transform().
|
inline |
the magnetic field
Definition at line 59 of file TrackTransformerForGlobalCosmicMuons.h.
References theMGField.
Referenced by transform().
bool TrackTransformerForGlobalCosmicMuons::MuonKeep | ( | DetId | id | ) | const |
check (via options) if this is a muon rec hit for removal
Definition at line 265 of file TrackTransformerForGlobalCosmicMuons.cc.
References MuonSubdetId::CSC, MuonSubdetId::DT, GeomDetEnumerators::isCSC(), GeomDetEnumerators::isDT(), nano_mu_reco_cff::isRPC, DetId::Muon, nano_mu_digi_cff::rawId, MuonSubdetId::RPC, DTChamberId::station(), relativeConstraints::station, RPCDetId::station(), CSCDetId::station(), theSkipStationCSC, theSkipStationDT, theSkipWheelDT, DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.
Referenced by getTransientRecHits().
|
private |
Definition at line 183 of file TrackTransformerForGlobalCosmicMuons.cc.
References thePropagatorIO, thePropagatorOI, and up.
Referenced by transform().
|
overridevirtual |
set the services needed by the TrackTransformer
Implements TrackTransformerBase.
Definition at line 54 of file TrackTransformerForGlobalCosmicMuons.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, theTopologyToken, theTrackerRecHitBuilder, theTrackingGeometry, thGlobTrackGeoToken, and tTopo_.
ESHandle< TrajectorySmoother > TrackTransformerForGlobalCosmicMuons::smoother | ( | bool | up | ) | const |
the smoother used to smooth the trajectory which came from the refitting step
Definition at line 176 of file TrackTransformerForGlobalCosmicMuons.cc.
References theSmootherIO, theSmootherOI, and up.
Referenced by transform().
bool TrackTransformerForGlobalCosmicMuons::TrackerKeep | ( | DetId | id | ) | const |
check (via options) if this is a tracker rec hit for removal
Definition at line 245 of file TrackTransformerForGlobalCosmicMuons.cc.
References nano_mu_digi_cff::layer, TrackerTopology::layer(), theTrackerSkipSection, theTrackerSkipSystem, DetId::Tracker, and tTopo_.
Referenced by getTransientRecHits().
|
inline |
the tracking geometry
Definition at line 62 of file TrackTransformerForGlobalCosmicMuons.h.
References theTrackingGeometry.
Referenced by getTransientRecHits(), and transform().
|
overridevirtual |
Convert a reco::Track into Trajectory.
Convert Tracks into Trajectories.
Implements TrackTransformerBase.
Definition at line 191 of file TrackTransformerForGlobalCosmicMuons.cc.
References alongMomentum, TrajectoryFitter::fit(), fitter(), getTransientRecHits(), LogTrace, magneticField(), metname, oppositeToMomentum, Propagator::propagate(), propagator(), fileCollector::seed, smoother(), AlCaHLTBitMon_QueryRunRegistry::string, HLT_2023v12_cff::track, trackingGeometry(), FastTrackerRecHitMaskProducer_cfi::trajectories, TrajectorySmoother::trajectories(), funct::true, and up.
|
private |
Definition at line 100 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 101 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 99 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 102 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 114 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by fitter(), and setServices().
|
private |
Definition at line 115 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by fitter(), and setServices().
|
private |
Definition at line 86 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 82 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 88 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 85 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 112 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by magneticField(), and setServices().
|
private |
Definition at line 124 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by getTransientRecHits(), and setServices().
|
private |
Definition at line 123 of file TrackTransformerForGlobalCosmicMuons.h.
|
private |
Definition at line 91 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 87 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 83 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 89 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 94 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by propagator(), and setServices().
|
private |
Definition at line 95 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by propagator(), and setServices().
|
private |
Definition at line 104 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by getTransientRecHits(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 106 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by MuonKeep(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 105 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by MuonKeep(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 107 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by MuonKeep(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 117 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices(), and smoother().
|
private |
Definition at line 118 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices(), and smoother().
|
private |
Definition at line 90 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 92 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 121 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by getTransientRecHits(), and setServices().
|
private |
Definition at line 120 of file TrackTransformerForGlobalCosmicMuons.h.
|
private |
Definition at line 109 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by TrackerKeep(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 108 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by TrackerKeep(), and TrackTransformerForGlobalCosmicMuons().
|
private |
Definition at line 111 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices(), and trackingGeometry().
|
private |
Definition at line 84 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by setServices().
|
private |
Definition at line 126 of file TrackTransformerForGlobalCosmicMuons.h.
Referenced by getTransientRecHits(), setServices(), and TrackerKeep().