#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... | |
virtual void | setServices (const edm::EventSetup &) |
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... | |
virtual std::vector< Trajectory > | transform (const reco::Track &) const |
Convert a reco::Track into Trajectory. More... | |
virtual | ~TrackTransformerForCosmicMuons () |
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 48 of file TrackTransformerForCosmicMuons.h.
TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons | ( | const edm::ParameterSet & | parameterSet | ) |
Constructor.
Definition at line 36 of file TrackTransformerForCosmicMuons.cc.
References edm::ParameterSet::getParameter().
|
virtual |
ESHandle< TrajectoryFitter > TrackTransformerForCosmicMuons::fitter | ( | bool | up, |
int | quad, | ||
float | sumy | ||
) | const |
the refitter used to refit the reco::Track
Definition at line 185 of file TrackTransformerForCosmicMuons.cc.
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 96 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, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
the magnetic field
Definition at line 64 of file TrackTransformerForCosmicMuons.h.
References theMGField.
|
private |
Definition at line 205 of file TrackTransformerForCosmicMuons.cc.
|
virtual |
set the services needed by the TrackTransformer
Implements TrackTransformerBase.
Definition at line 50 of file TrackTransformerForCosmicMuons.cc.
References edm::EventSetup::get(), LogTrace, metname, 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 351 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), alignCSCRings::e, first, DetId::Muon, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
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 196 of file TrackTransformerForCosmicMuons.cc.
float TrackTransformerForCosmicMuons::SumDy | ( | const TransientTrackingRecHit::ConstRecHitContainer & | tkHits | ) | const |
decide if the track should be reversed
Definition at line 411 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), alignCSCRings::e, first, DetId::Muon, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
the tracking geometry
Definition at line 67 of file TrackTransformerForCosmicMuons.h.
References theTrackingGeometry.
|
virtual |
Convert a reco::Track into Trajectory.
Convert Tracks into Trajectories.
Implements TrackTransformerBase.
Definition at line 217 of file TrackTransformerForCosmicMuons.cc.
References alongMomentum, filterCSVwithJSON::copy, gather_cfg::cout, MuonSubdetId::CSC, CSCDetId, MuonSubdetId::DT, reco::Track::innerDetId(), reco::TransientTrack::innermostMeasurementState(), LogTrace, metname, DetId::Muon, oppositeToMomentum, reco::Track::outerDetId(), reco::TransientTrack::outermostMeasurementState(), LargeD0_PixelPairStep_cff::propagator, reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), reco::TransientTrack::track(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
private |
Definition at line 95 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 96 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 94 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 97 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 104 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 105 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 102 of file TrackTransformerForCosmicMuons.h.
Referenced by magneticField().
|
private |
Definition at line 114 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 113 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 89 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 90 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 99 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 107 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 108 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 111 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 110 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 101 of file TrackTransformerForCosmicMuons.h.
Referenced by trackingGeometry().