#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 47 of file TrackTransformerForCosmicMuons.h.
TrackTransformerForCosmicMuons::TrackTransformerForCosmicMuons | ( | const edm::ParameterSet & | parameterSet | ) |
Constructor.
Definition at line 36 of file TrackTransformerForCosmicMuons.cc.
References edm::ParameterSet::getParameter().
|
override |
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 popcon2dropbox::copy(), MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, LogTrace, DetId::Muon, reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), groupFilesInBlocks::reverse, MuonSubdetId::RPC, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
the magnetic field
Definition at line 63 of file TrackTransformerForCosmicMuons.h.
|
private |
Definition at line 205 of file TrackTransformerForCosmicMuons.cc.
|
overridevirtual |
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 350 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), PVValHelper::dy, PVValHelper::dz, MillePedeFileConverter_cfg::e, plotBeamSpotDB::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 410 of file TrackTransformerForCosmicMuons.cc.
References DetId::det(), PVValHelper::dy, PVValHelper::dz, MillePedeFileConverter_cfg::e, plotBeamSpotDB::first, DetId::Muon, DetId::subdetId(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
the tracking geometry
Definition at line 66 of file TrackTransformerForCosmicMuons.h.
References HiIsolationCommonParameters_cff::track.
|
overridevirtual |
Convert a reco::Track into Trajectory.
Convert Tracks into Trajectories.
Implements TrackTransformerBase.
Definition at line 217 of file TrackTransformerForCosmicMuons.cc.
References alongMomentum, popcon2dropbox::copy(), gather_cfg::cout, MuonSubdetId::CSC, MuonSubdetId::DT, reco::Track::innerDetId(), reco::TransientTrack::innermostMeasurementState(), LogTrace, seedCreatorFromRegionConsecutiveHitsEDProducer_cff::magneticField, metname, DetId::Muon, oppositeToMomentum, reco::Track::outerDetId(), reco::TransientTrack::outermostMeasurementState(), PhotonConversionTrajectorySeedProducerFromQuadruplets_cfi::propagator, reco::TransientTrack::recHitsBegin(), reco::TransientTrack::recHitsEnd(), groupFilesInBlocks::reverse, SurveyInfoScenario_cff::seed, AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), HiIsolationCommonParameters_cff::track, reco::TransientTrack::track(), HiRegitMuonDetachedTripletStep_cff::trajectories, 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.
|
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.