#include <TrackTransformerForCosmicMuons.h>
Public Member Functions | |
edm::ESHandle< TrajectoryFitter > | fitter (bool, int, float) 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... | |
void | setServices (const edm::EventSetup &) override |
set the services needed by the TrackTransformer More... | |
bool | SlopeSum (const TransientTrackingRecHit::ConstRecHitContainer &) const |
calculate the sum of slopes for the track More... | |
edm::ESHandle< TrajectorySmoother > | smoother (bool, int, float) const |
the smoother used to smooth the trajectory which came from the refitting step More... | |
float | SumDy (const TransientTrackingRecHit::ConstRecHitContainer &) const |
decide if the track should be reversed More... | |
edm::ESHandle< GlobalTrackingGeometry > | trackingGeometry () const |
the tracking geometry More... | |
TrackTransformerForCosmicMuons (const edm::ParameterSet &) | |
Constructor. More... | |
std::vector< Trajectory > | transform (const reco::Track &) const override |
Convert a reco::Track into Trajectory. More... | |
~TrackTransformerForCosmicMuons () override | |
Destructor. More... | |
Public Member Functions inherited from TrackTransformerBase | |
TrackTransformerBase () | |
Constructor. More... | |
virtual | ~TrackTransformerBase () |
Destructor. More... | |
Private Member Functions | |
edm::ESHandle< Propagator > | propagator (bool, int, float) const |
Private Attributes | |
unsigned long long | theCacheId_GTG |
unsigned long long | theCacheId_MG |
unsigned long long | theCacheId_TC |
unsigned long long | theCacheId_TRH |
edm::ESHandle< TrajectoryFitter > | theFitterIO |
edm::ESHandle< TrajectoryFitter > | theFitterOI |
edm::ESHandle< MagneticField > | theMGField |
edm::ESHandle< TransientTrackingRecHitBuilder > | theMuonRecHitBuilder |
std::string | theMuonRecHitBuilderName |
edm::ESHandle< Propagator > | thePropagatorIO |
edm::ESHandle< Propagator > | thePropagatorOI |
bool | theRPCInTheFit |
edm::ESHandle< TrajectorySmoother > | theSmootherIO |
edm::ESHandle< TrajectorySmoother > | theSmootherOI |
edm::ESHandle< TransientTrackingRecHitBuilder > | theTrackerRecHitBuilder |
std::string | theTrackerRecHitBuilderName |
edm::ESHandle< GlobalTrackingGeometry > | theTrackingGeometry |
Definition at line 52 of file TrackTransformerForCosmicMuons.h.
TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons | ( | const edm::ParameterSet & | parameterSet | ) |
Constructor.
Definition at line 34 of file TrackTransformerForCosmicMuons.cc.
References edm::ParameterSet::getParameter(), and edm::parameterSet().
|
override |
ESHandle< TrajectoryFitter > TrackTransformerForCosmicMuons::fitter | ( | bool | up, |
int | quad, | ||
float | sumy | ||
) | const |
the refitter used to refit the reco::Track
Definition at line 190 of file TrackTransformerForCosmicMuons.cc.
References up.
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 89 of file TrackTransformerForCosmicMuons.cc.
References filterCSVwithJSON::copy, MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, LogTrace, DetId::Muon, groupFilesInBlocks::reverse, MuonSubdetId::RPC, DetId::subdetId(), HLT_FULL_cff::track, 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.
|
private |
|
overridevirtual |
set the services needed by the TrackTransformer
Implements TrackTransformerBase.
Definition at line 46 of file TrackTransformerForCosmicMuons.cc.
References get, LogTrace, metname, singleTopDQM_cfi::setup, and AlCaHLTBitMon_QueryRunRegistry::string.
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 429 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), PVValHelper::dy, PVValHelper::dz, MillePedeFileConverter_cfg::e, dqmdumpme::first, DetId::Muon, multPhiCorr_741_25nsDY_cfi::py, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, PV3DBase< T, PVType, FrameType >::z(), and testProducerWithPsetDescEmpty_cfi::z2.
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 223 of file TrackTransformerForCosmicMuons.cc.
References up.
float TrackTransformerForCosmicMuons::SumDy | ( | const TransientTrackingRecHit::ConstRecHitContainer & | tkHits | ) | const |
decide if the track should be reversed
Definition at line 485 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), PVValHelper::dy, PVValHelper::dz, MillePedeFileConverter_cfg::e, dqmdumpme::first, DetId::Muon, multPhiCorr_741_25nsDY_cfi::py, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::y(), testProducerWithPsetDescEmpty_cfi::y1, testProducerWithPsetDescEmpty_cfi::y2, PV3DBase< T, PVType, FrameType >::z(), and testProducerWithPsetDescEmpty_cfi::z2.
|
inline |
the tracking geometry
Definition at line 69 of file TrackTransformerForCosmicMuons.h.
References theTrackingGeometry.
|
overridevirtual |
Convert a reco::Track into Trajectory.
Convert Tracks into Trajectories.
Implements TrackTransformerBase.
Definition at line 286 of file TrackTransformerForCosmicMuons.cc.
References alongMomentum, filterCSVwithJSON::copy, gather_cfg::cout, MuonSubdetId::CSC, MuonSubdetId::DT, LogTrace, HLT_FULL_cff::magneticField, metname, DetId::Muon, oppositeToMomentum, TrackCandidateProducer_cfi::propagator, SiPixelPI::quadrant(), groupFilesInBlocks::reverse, fileCollector::seed, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), HLT_FULL_cff::track, FastTrackerRecHitMaskProducer_cfi::trajectories, funct::true, up, PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 94 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 95 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 93 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 96 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 103 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 104 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 101 of file TrackTransformerForCosmicMuons.h.
Referenced by magneticField().
|
private |
Definition at line 113 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 112 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 88 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 89 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 98 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 106 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 107 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 110 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 109 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 100 of file TrackTransformerForCosmicMuons.h.
Referenced by trackingGeometry().