CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
TrackTransformerForGlobalCosmicMuons Class Reference

#include <TrackTransformerForGlobalCosmicMuons.h>

Inheritance diagram for TrackTransformerForGlobalCosmicMuons:
TrackTransformerBase

Public Member Functions

edm::ESHandle< TrajectoryFitterfitter (bool) const
 the refitter used to refit the reco::Track More...
 
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits (const reco::TransientTrack &track) const
 
const MagneticFieldmagneticField () 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< TrajectorySmoothersmoother (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< GlobalTrackingGeometrytrackingGeometry () const
 the tracking geometry More...
 
 TrackTransformerForGlobalCosmicMuons (const edm::ParameterSet &)
 Constructor. More...
 
std::vector< Trajectorytransform (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< Propagatorpropagator (bool) 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< TrajectoryFittertheFitterIO
 
edm::ESHandle< TrajectoryFittertheFitterOI
 
edm::ESHandle< MagneticFieldtheMGField
 
edm::ESHandle< TransientTrackingRecHitBuildertheMuonRecHitBuilder
 
std::string theMuonRecHitBuilderName
 
edm::ESHandle< PropagatorthePropagatorIO
 
edm::ESHandle< PropagatorthePropagatorOI
 
bool theRPCInTheFit
 
int theSkipStationCSC
 
int theSkipStationDT
 
int theSkipWheelDT
 
edm::ESHandle< TrajectorySmoothertheSmootherIO
 
edm::ESHandle< TrajectorySmoothertheSmootherOI
 
edm::ESHandle< TransientTrackingRecHitBuildertheTrackerRecHitBuilder
 
std::string theTrackerRecHitBuilderName
 
int theTrackerSkipSection
 
int theTrackerSkipSystem
 
edm::ESHandle< GlobalTrackingGeometrytheTrackingGeometry
 
const TrackerTopologytTopo_
 

Detailed Description

Definition at line 43 of file TrackTransformerForGlobalCosmicMuons.h.

Constructor & Destructor Documentation

◆ TrackTransformerForGlobalCosmicMuons()

TrackTransformerForGlobalCosmicMuons::TrackTransformerForGlobalCosmicMuons ( const edm::ParameterSet parameterSet)

Constructor.

Definition at line 37 of file TrackTransformerForGlobalCosmicMuons.cc.

37  {
38  theTrackerRecHitBuilderName = parameterSet.getParameter<string>("TrackerRecHitBuilder");
39  theMuonRecHitBuilderName = parameterSet.getParameter<string>("MuonRecHitBuilder");
40 
41  theRPCInTheFit = parameterSet.getParameter<bool>("RefitRPCHits");
42 
44  theSkipStationDT = parameterSet.getParameter<int>("SkipStationDT");
45  theSkipStationCSC = parameterSet.getParameter<int>("SkipStationCSC");
46  theSkipWheelDT = parameterSet.getParameter<int>("SkipWheelDT");
47  theTrackerSkipSystem = parameterSet.getParameter<int>("TrackerSkipSystem");
49  parameterSet.getParameter<int>("TrackerSkipSection"); //layer, wheel, or disk depending on the system
50 }

References edm::ParameterSet::getParameter(), and edm::parameterSet().

◆ ~TrackTransformerForGlobalCosmicMuons()

TrackTransformerForGlobalCosmicMuons::~TrackTransformerForGlobalCosmicMuons ( )
override

Destructor.

Definition at line 53 of file TrackTransformerForGlobalCosmicMuons.cc.

53 {}

Member Function Documentation

◆ fitter()

ESHandle< TrajectoryFitter > TrackTransformerForGlobalCosmicMuons::fitter ( bool  up) const

the refitter used to refit the reco::Track

Definition at line 171 of file TrackTransformerForGlobalCosmicMuons.cc.

171  {
172  if (up)
173  return theFitterOI;
174  else
175  return theFitterIO;
176 }

References up.

◆ getTransientRecHits()

TransientTrackingRecHit::ConstRecHitContainer TrackTransformerForGlobalCosmicMuons::getTransientRecHits ( const reco::TransientTrack track) const

Definition at line 103 of file TrackTransformerForGlobalCosmicMuons.cc.

104  {
107 
108  for (trackingRecHit_iterator hit = track.recHitsBegin(); hit != track.recHitsEnd(); ++hit) {
109  if ((*hit)->isValid()) {
110  if ((*hit)->geographicalId().det() == DetId::Tracker && TrackerKeep((*hit)->geographicalId())) {
111  tkHits.push_back(theTrackerRecHitBuilder->build(&**hit));
112  } else if ((*hit)->geographicalId().det() == DetId::Muon && MuonKeep((*hit)->geographicalId())) {
113  if ((*hit)->geographicalId().subdetId() == 3 && !theRPCInTheFit) {
114  LogTrace("Reco|TrackingTools|TrackTransformer") << "RPC Rec Hit discarged";
115  continue;
116  }
117  staHits.push_back(theMuonRecHitBuilder->build(&**hit));
118  }
119  }
120  }
121 
122  if (staHits.empty())
123  return staHits;
124 
125  /*
126  bool up = staHits.front()->globalPosition().y()>0 ? true : false;
127 
128  if(up){
129  reverse(staHits.begin(),staHits.end());
130  reverse(tkHits.begin(),tkHits.end());
131  }
132 */
133  copy(staHits.begin(), staHits.end(), back_inserter(tkHits));
134 
135  for (TransientTrackingRecHit::ConstRecHitContainer::const_iterator hit = tkHits.begin(); hit != tkHits.end(); ++hit) {
136  DetId hitId = (*hit)->geographicalId();
137  GlobalPoint glbpoint = trackingGeometry()->idToDet(hitId)->position();
138 
139  if (hitId.det() == DetId::Tracker) {
140  if (hitId.subdetId() == StripSubdetector::TIB)
141  LogTrace("TrackFitters") << glbpoint << " I am TIB " << tTopo_->tibLayer(hitId);
142  else if (hitId.subdetId() == StripSubdetector::TOB)
143  LogTrace("TrackFitters") << glbpoint << " I am TOB " << tTopo_->tobLayer(hitId);
144  else if (hitId.subdetId() == StripSubdetector::TEC)
145  LogTrace("TrackFitters") << glbpoint << " I am TEC " << tTopo_->tecWheel(hitId);
146  else if (hitId.subdetId() == StripSubdetector::TID)
147  LogTrace("TrackFitters") << glbpoint << " I am TID " << tTopo_->tidWheel(hitId);
148  else if (hitId.subdetId() == (int)PixelSubdetector::PixelBarrel)
149  LogTrace("TrackFitters") << glbpoint << " I am PixBar " << tTopo_->pxbLayer(hitId);
150  else if (hitId.subdetId() == (int)PixelSubdetector::PixelEndcap)
151  LogTrace("TrackFitters") << glbpoint << " I am PixFwd " << tTopo_->pxfDisk(hitId);
152  else
153  LogTrace("TrackFitters") << " UNKNOWN TRACKER HIT TYPE ";
154  } else if (hitId.det() == DetId::Muon) {
155  if (hitId.subdetId() == MuonSubdetId::DT)
156  LogTrace("TrackFitters") << glbpoint << " I am DT " << DTWireId(hitId);
157  else if (hitId.subdetId() == MuonSubdetId::CSC)
158  LogTrace("TrackFitters") << glbpoint << " I am CSC " << CSCDetId(hitId);
159  else if (hitId.subdetId() == MuonSubdetId::RPC)
160  LogTrace("TrackFitters") << glbpoint << " I am RPC " << RPCDetId(hitId);
161  else
162  LogTrace("TrackFitters") << " UNKNOWN MUON HIT TYPE ";
163  } else
164  LogTrace("TrackFitters") << " UNKNOWN HIT TYPE ";
165  }
166 
167  return tkHits;
168 }

References filterCSVwithJSON::copy, MuonSubdetId::CSC, DetId::det(), MuonSubdetId::DT, createfilelist::int, LogTrace, DetId::Muon, PixelSubdetector::PixelBarrel, PixelSubdetector::PixelEndcap, MuonSubdetId::RPC, DetId::subdetId(), StripSubdetector::TEC, StripSubdetector::TIB, StripSubdetector::TID, StripSubdetector::TOB, HLT_FULL_cff::track, and DetId::Tracker.

◆ magneticField()

const MagneticField* TrackTransformerForGlobalCosmicMuons::magneticField ( ) const
inline

the magnetic field

Definition at line 57 of file TrackTransformerForGlobalCosmicMuons.h.

57 { return &*theMGField; }

References theMGField.

◆ MuonKeep()

bool TrackTransformerForGlobalCosmicMuons::MuonKeep ( DetId  id) const

check (via options) if this is a muon rec hit for removal

Definition at line 268 of file TrackTransformerForGlobalCosmicMuons.cc.

268  {
269  if (id.det() != DetId::Muon)
270  return false;
271  if (theSkipStationDT < 0 && theSkipStationCSC < 0)
272  return true;
273 
274  int station = -999;
275  int wheel = -999;
276  bool isRPC = false;
277  bool isDT = false;
278  bool isCSC = false;
279 
280  if (id.subdetId() == MuonSubdetId::DT) {
281  DTChamberId did(id.rawId());
282  station = did.station();
283  wheel = did.wheel();
284  isDT = true;
285  } else if (id.subdetId() == MuonSubdetId::CSC) {
286  CSCDetId did(id.rawId());
287  station = did.station();
288  isCSC = true;
289  } else if (id.subdetId() == MuonSubdetId::RPC) {
290  RPCDetId rpcid(id.rawId());
291  station = rpcid.station();
292  isRPC = true;
293  }
294 
296  return false;
297  if (isDT && station == theSkipStationDT)
298  return false;
299  if (isCSC && station == theSkipStationCSC)
300  return false;
301 
302  if (isDT && theSkipWheelDT > -998 && wheel == theSkipWheelDT)
303  return false;
304 
305  return true;
306 }

References MuonSubdetId::CSC, MuonSubdetId::DT, GeomDetEnumerators::isCSC(), GeomDetEnumerators::isDT(), GeomDetEnumerators::isRPC(), DetId::Muon, MuonSubdetId::RPC, DTChamberId::station(), relativeConstraints::station, RPCDetId::station(), CSCDetId::station(), DTChamberId::wheel(), and makeMuonMisalignmentScenario::wheel.

◆ propagator()

ESHandle< Propagator > TrackTransformerForGlobalCosmicMuons::propagator ( bool  up) const
private

Definition at line 186 of file TrackTransformerForGlobalCosmicMuons.cc.

186  {
187  if (up)
188  return thePropagatorIO;
189  else
190  return thePropagatorOI;
191 }

References up.

◆ setServices()

void TrackTransformerForGlobalCosmicMuons::setServices ( const edm::EventSetup setup)
overridevirtual

set the services needed by the TrackTransformer

Implements TrackTransformerBase.

Definition at line 55 of file TrackTransformerForGlobalCosmicMuons.cc.

55  {
56  const std::string metname = "Reco|TrackingTools|TrackTransformer";
57 
58  setup.get<TrajectoryFitter::Record>().get("KFFitterForRefitInsideOut", theFitterIO);
59  setup.get<TrajectoryFitter::Record>().get("KFSmootherForRefitInsideOut", theSmootherIO);
60  setup.get<TrajectoryFitter::Record>().get("KFFitterForRefitOutsideIn", theFitterOI);
61  setup.get<TrajectoryFitter::Record>().get("KFSmootherForRefitOutsideIn", theSmootherOI);
62 
63  unsigned long long newCacheId_TC = setup.get<TrackingComponentsRecord>().cacheIdentifier();
64 
65  if (newCacheId_TC != theCacheId_TC) {
66  LogTrace(metname) << "Tracking Component changed!";
67  theCacheId_TC = newCacheId_TC;
68  setup.get<TrackingComponentsRecord>().get("SmartPropagatorRK", thePropagatorIO);
69  setup.get<TrackingComponentsRecord>().get("SmartPropagatorRKOpposite", thePropagatorOI);
70  }
71 
72  // Global Tracking Geometry
73  unsigned long long newCacheId_GTG = setup.get<GlobalTrackingGeometryRecord>().cacheIdentifier();
74  if (newCacheId_GTG != theCacheId_GTG) {
75  LogTrace(metname) << "GlobalTrackingGeometry changed!";
76  theCacheId_GTG = newCacheId_GTG;
78  }
79 
80  // Magfield Field
81  unsigned long long newCacheId_MG = setup.get<IdealMagneticFieldRecord>().cacheIdentifier();
82  if (newCacheId_MG != theCacheId_MG) {
83  LogTrace(metname) << "Magnetic Field changed!";
84  theCacheId_MG = newCacheId_MG;
86  }
87 
88  // Transient Rechit Builders
89  unsigned long long newCacheId_TRH = setup.get<TransientRecHitRecord>().cacheIdentifier();
90  if (newCacheId_TRH != theCacheId_TRH) {
91  theCacheId_TRH = newCacheId_TRH;
92  LogTrace(metname) << "TransientRecHitRecord changed!";
95  }
96 
97  //Retrieve tracker topology from geometry
99  setup.get<TrackerTopologyRcd>().get(tTopoHand);
100  tTopo_ = tTopoHand.product();
101 }

References get, LogTrace, metname, edm::ESHandle< T >::product(), singleTopDQM_cfi::setup, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ smoother()

ESHandle< TrajectorySmoother > TrackTransformerForGlobalCosmicMuons::smoother ( bool  up) const

the smoother used to smooth the trajectory which came from the refitting step

Definition at line 179 of file TrackTransformerForGlobalCosmicMuons.cc.

179  {
180  if (up)
181  return theSmootherOI;
182  else
183  return theSmootherIO;
184 }

References up.

◆ TrackerKeep()

bool TrackTransformerForGlobalCosmicMuons::TrackerKeep ( DetId  id) const

check (via options) if this is a tracker rec hit for removal

Definition at line 248 of file TrackTransformerForGlobalCosmicMuons.cc.

248  {
249  if (id.det() != DetId::Tracker)
250  return false;
251  if (theTrackerSkipSystem < 0)
252  return true;
253  bool retVal = true;
254 
255  int layer = -999;
256 
257  if (id.subdetId() == theTrackerSkipSystem)
258  layer = tTopo_->layer(id);
259 
261  retVal = false;
262 
263  return retVal;
264 }

References phase1PixelTopology::layer, and DetId::Tracker.

◆ trackingGeometry()

edm::ESHandle<GlobalTrackingGeometry> TrackTransformerForGlobalCosmicMuons::trackingGeometry ( ) const
inline

the tracking geometry

Definition at line 60 of file TrackTransformerForGlobalCosmicMuons.h.

60 { return theTrackingGeometry; }

References theTrackingGeometry.

◆ transform()

vector< Trajectory > TrackTransformerForGlobalCosmicMuons::transform ( const reco::Track tr) const
overridevirtual

Convert a reco::Track into Trajectory.

Convert Tracks into Trajectories.

Implements TrackTransformerBase.

Definition at line 194 of file TrackTransformerForGlobalCosmicMuons.cc.

194  {
195  const std::string metname = "Reco|TrackingTools|TrackTransformer";
196 
198 
199  // Build the transient Rechits
201 
202  if (recHitsForReFit.size() < 2)
203  return vector<Trajectory>();
204 
205  bool up = recHitsForReFit.back()->globalPosition().y() > 0 ? true : false;
206  LogTrace(metname) << "Up ? " << up;
207 
208  PropagationDirection propagationDirection = up ? oppositeToMomentum : alongMomentum;
209  TrajectoryStateOnSurface firstTSOS = up ? track.outermostMeasurementState() : track.innermostMeasurementState();
210  unsigned int innerId = up ? track.track().outerDetId() : track.track().innerDetId();
211 
212  LogTrace(metname) << "Prop Dir: " << propagationDirection << " FirstId " << innerId << " firstTSOS " << firstTSOS;
213 
214  TrajectorySeed seed({}, {}, propagationDirection);
215 
216  if (recHitsForReFit.front()->geographicalId() != DetId(innerId)) {
217  LogTrace(metname) << "Propagation occurring" << endl;
218  firstTSOS = propagator(up)->propagate(firstTSOS, recHitsForReFit.front()->det()->surface());
219  LogTrace(metname) << "Final destination: " << recHitsForReFit.front()->det()->surface().position() << endl;
220  if (!firstTSOS.isValid()) {
221  LogTrace(metname) << "Propagation error!" << endl;
222  return vector<Trajectory>();
223  }
224  }
225 
226  vector<Trajectory> trajectories = fitter(up)->fit(seed, recHitsForReFit, firstTSOS);
227 
228  if (trajectories.empty()) {
229  LogTrace(metname) << "No Track refitted!" << endl;
230  return vector<Trajectory>();
231  }
232 
233  Trajectory trajectoryBW = trajectories.front();
234 
235  vector<Trajectory> trajectoriesSM = smoother(up)->trajectories(trajectoryBW);
236 
237  if (trajectoriesSM.empty()) {
238  LogTrace(metname) << "No Track smoothed!" << endl;
239  return vector<Trajectory>();
240  }
241 
242  return trajectoriesSM;
243 }

References alongMomentum, LogTrace, HLT_FULL_cff::magneticField, metname, oppositeToMomentum, TrackCandidateProducer_cfi::propagator, fileCollector::seed, AlCaHLTBitMon_QueryRunRegistry::string, HLT_FULL_cff::track, FastTrackerRecHitMaskProducer_cfi::trajectories, funct::true, and up.

Member Data Documentation

◆ theCacheId_GTG

unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_GTG
private

Definition at line 86 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theCacheId_MG

unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_MG
private

Definition at line 87 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theCacheId_TC

unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_TC
private

Definition at line 85 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theCacheId_TRH

unsigned long long TrackTransformerForGlobalCosmicMuons::theCacheId_TRH
private

Definition at line 88 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theFitterIO

edm::ESHandle<TrajectoryFitter> TrackTransformerForGlobalCosmicMuons::theFitterIO
private

Definition at line 100 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theFitterOI

edm::ESHandle<TrajectoryFitter> TrackTransformerForGlobalCosmicMuons::theFitterOI
private

Definition at line 101 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theMGField

edm::ESHandle<MagneticField> TrackTransformerForGlobalCosmicMuons::theMGField
private

Definition at line 98 of file TrackTransformerForGlobalCosmicMuons.h.

Referenced by magneticField().

◆ theMuonRecHitBuilder

edm::ESHandle<TransientTrackingRecHitBuilder> TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilder
private

Definition at line 110 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theMuonRecHitBuilderName

std::string TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilderName
private

Definition at line 109 of file TrackTransformerForGlobalCosmicMuons.h.

◆ thePropagatorIO

edm::ESHandle<Propagator> TrackTransformerForGlobalCosmicMuons::thePropagatorIO
private

Definition at line 80 of file TrackTransformerForGlobalCosmicMuons.h.

◆ thePropagatorOI

edm::ESHandle<Propagator> TrackTransformerForGlobalCosmicMuons::thePropagatorOI
private

Definition at line 81 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theRPCInTheFit

bool TrackTransformerForGlobalCosmicMuons::theRPCInTheFit
private

Definition at line 90 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theSkipStationCSC

int TrackTransformerForGlobalCosmicMuons::theSkipStationCSC
private

Definition at line 92 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theSkipStationDT

int TrackTransformerForGlobalCosmicMuons::theSkipStationDT
private

Definition at line 91 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theSkipWheelDT

int TrackTransformerForGlobalCosmicMuons::theSkipWheelDT
private

Definition at line 93 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theSmootherIO

edm::ESHandle<TrajectorySmoother> TrackTransformerForGlobalCosmicMuons::theSmootherIO
private

Definition at line 103 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theSmootherOI

edm::ESHandle<TrajectorySmoother> TrackTransformerForGlobalCosmicMuons::theSmootherOI
private

Definition at line 104 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theTrackerRecHitBuilder

edm::ESHandle<TransientTrackingRecHitBuilder> TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilder
private

Definition at line 107 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theTrackerRecHitBuilderName

std::string TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilderName
private

Definition at line 106 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theTrackerSkipSection

int TrackTransformerForGlobalCosmicMuons::theTrackerSkipSection
private

Definition at line 95 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theTrackerSkipSystem

int TrackTransformerForGlobalCosmicMuons::theTrackerSkipSystem
private

Definition at line 94 of file TrackTransformerForGlobalCosmicMuons.h.

◆ theTrackingGeometry

edm::ESHandle<GlobalTrackingGeometry> TrackTransformerForGlobalCosmicMuons::theTrackingGeometry
private

Definition at line 97 of file TrackTransformerForGlobalCosmicMuons.h.

Referenced by trackingGeometry().

◆ tTopo_

const TrackerTopology* TrackTransformerForGlobalCosmicMuons::tTopo_
private

Definition at line 112 of file TrackTransformerForGlobalCosmicMuons.h.

GeomDet::position
const Surface::PositionType & position() const
The position (origin of the R.F.)
Definition: GeomDet.h:43
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
MuonSubdetId::CSC
static constexpr int CSC
Definition: MuonSubdetId.h:12
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11724
PixelSubdetector::PixelEndcap
Definition: PixelSubdetector.h:11
PixelSubdetector::PixelBarrel
Definition: PixelSubdetector.h:11
filterCSVwithJSON.copy
copy
Definition: filterCSVwithJSON.py:36
TrackTransformerForGlobalCosmicMuons::theMGField
edm::ESHandle< MagneticField > theMGField
Definition: TrackTransformerForGlobalCosmicMuons.h:98
relativeConstraints.station
station
Definition: relativeConstraints.py:67
GeomDetEnumerators::isRPC
bool isRPC(GeomDetEnumerators::SubDetector m)
Definition: GeomDetEnumerators.cc:90
TrackTransformerForGlobalCosmicMuons::theSkipStationCSC
int theSkipStationCSC
Definition: TrackTransformerForGlobalCosmicMuons.h:92
TrackTransformerForGlobalCosmicMuons::theSkipWheelDT
int theSkipWheelDT
Definition: TrackTransformerForGlobalCosmicMuons.h:93
TrackTransformerForGlobalCosmicMuons::fitter
edm::ESHandle< TrajectoryFitter > fitter(bool) const
the refitter used to refit the reco::Track
Definition: TrackTransformerForGlobalCosmicMuons.cc:171
DetId::det
constexpr Detector det() const
get the detector field from this detid
Definition: DetId.h:46
RPCDetId
Definition: RPCDetId.h:16
TransientRecHitRecord
Definition: TransientRecHitRecord.h:14
oppositeToMomentum
Definition: PropagationDirection.h:4
GlobalTrackingGeometryRecord
Definition: GlobalTrackingGeometryRecord.h:17
TrackerTopology::layer
unsigned int layer(const DetId &id) const
Definition: TrackerTopology.cc:47
TrackTransformerForGlobalCosmicMuons::TrackerKeep
bool TrackerKeep(DetId id) const
check (via options) if this is a tracker rec hit for removal
Definition: TrackTransformerForGlobalCosmicMuons.cc:248
FastTrackerRecHitMaskProducer_cfi.trajectories
trajectories
Definition: FastTrackerRecHitMaskProducer_cfi.py:7
TrackTransformerForGlobalCosmicMuons::thePropagatorOI
edm::ESHandle< Propagator > thePropagatorOI
Definition: TrackTransformerForGlobalCosmicMuons.h:81
TransientTrackingRecHitBuilder::build
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
TrackerTopology::tidWheel
unsigned int tidWheel(const DetId &id) const
Definition: TrackerTopology.h:201
TrajectorySmoother::trajectories
virtual TrajectoryContainer trajectories(const Trajectory &traj) const
Definition: TrajectorySmoother.h:18
TrackerTopology::pxbLayer
unsigned int pxbLayer(const DetId &id) const
Definition: TrackerTopology.h:144
TrackTransformerForGlobalCosmicMuons::propagator
edm::ESHandle< Propagator > propagator(bool) const
Definition: TrackTransformerForGlobalCosmicMuons.cc:186
edm::parameterSet
ParameterSet const & parameterSet(StableProvenance const &provenance, ProcessHistory const &history)
Definition: Provenance.cc:11
TrackTransformerForGlobalCosmicMuons::theFitterIO
edm::ESHandle< TrajectoryFitter > theFitterIO
Definition: TrackTransformerForGlobalCosmicMuons.h:100
fileCollector.seed
seed
Definition: fileCollector.py:127
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
DetId
Definition: DetId.h:17
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
DTWireId
Definition: DTWireId.h:12
edm::ESHandle< TrackerTopology >
TrackTransformerForGlobalCosmicMuons::thePropagatorIO
edm::ESHandle< Propagator > thePropagatorIO
Definition: TrackTransformerForGlobalCosmicMuons.h:80
TrajectoryFitterRecord
Definition: TrajectoryFitterRecord.h:12
StripSubdetector::TIB
static constexpr auto TIB
Definition: StripSubdetector.h:16
TrackTransformerForGlobalCosmicMuons::theSkipStationDT
int theSkipStationDT
Definition: TrackTransformerForGlobalCosmicMuons.h:91
MuonSubdetId::DT
static constexpr int DT
Definition: MuonSubdetId.h:11
Point3DBase< float, GlobalTag >
GeomDetEnumerators::isCSC
bool isCSC(GeomDetEnumerators::SubDetector m)
Definition: GeomDetEnumerators.cc:88
edm::OwnVector::const_iterator
Definition: OwnVector.h:41
DetId::subdetId
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum)
Definition: DetId.h:48
phase1PixelTopology::layer
constexpr std::array< uint8_t, layerIndexSize > layer
Definition: phase1PixelTopology.h:99
funct::true
true
Definition: Factorize.h:173
TrackTransformerForGlobalCosmicMuons::theCacheId_GTG
unsigned long long theCacheId_GTG
Definition: TrackTransformerForGlobalCosmicMuons.h:86
TrackTransformerForGlobalCosmicMuons::theFitterOI
edm::ESHandle< TrajectoryFitter > theFitterOI
Definition: TrackTransformerForGlobalCosmicMuons.h:101
DetId::Tracker
Definition: DetId.h:25
TrackingRecHit::ConstRecHitContainer
std::vector< ConstRecHitPointer > ConstRecHitContainer
Definition: TrackingRecHit.h:32
TrackTransformerForGlobalCosmicMuons::theCacheId_TC
unsigned long long theCacheId_TC
Definition: TrackTransformerForGlobalCosmicMuons.h:85
CSCDetId
Definition: CSCDetId.h:26
makeMuonMisalignmentScenario.wheel
wheel
Definition: makeMuonMisalignmentScenario.py:319
createfilelist.int
int
Definition: createfilelist.py:10
TrackerTopology::pxfDisk
unsigned int pxfDisk(const DetId &id) const
Definition: TrackerTopology.h:446
Propagator::propagate
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:50
get
#define get
TrackTransformerForGlobalCosmicMuons::theTrackerSkipSystem
int theTrackerSkipSystem
Definition: TrackTransformerForGlobalCosmicMuons.h:94
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrajectoryFitter::fit
std::vector< Trajectory > fit(const Trajectory &traj, fitType type=standard) const
Definition: TrajectoryFitter.h:43
TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilderName
std::string theTrackerRecHitBuilderName
Definition: TrackTransformerForGlobalCosmicMuons.h:106
TrackTransformerForGlobalCosmicMuons::MuonKeep
bool MuonKeep(DetId id) const
check (via options) if this is a muon rec hit for removal
Definition: TrackTransformerForGlobalCosmicMuons.cc:268
TrackerTopology::tobLayer
unsigned int tobLayer(const DetId &id) const
Definition: TrackerTopology.h:147
TrackTransformerForGlobalCosmicMuons::theCacheId_MG
unsigned long long theCacheId_MG
Definition: TrackTransformerForGlobalCosmicMuons.h:87
TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilderName
std::string theMuonRecHitBuilderName
Definition: TrackTransformerForGlobalCosmicMuons.h:109
TrackTransformerForGlobalCosmicMuons::theSmootherOI
edm::ESHandle< TrajectorySmoother > theSmootherOI
Definition: TrackTransformerForGlobalCosmicMuons.h:104
reco::TransientTrack
Definition: TransientTrack.h:19
StripSubdetector::TEC
static constexpr auto TEC
Definition: StripSubdetector.h:19
Trajectory
Definition: Trajectory.h:38
TrackTransformerForGlobalCosmicMuons::magneticField
const MagneticField * magneticField() const
the magnetic field
Definition: TrackTransformerForGlobalCosmicMuons.h:57
MuonSubdetId::RPC
static constexpr int RPC
Definition: MuonSubdetId.h:13
TrackTransformerForGlobalCosmicMuons::smoother
edm::ESHandle< TrajectorySmoother > smoother(bool) const
the smoother used to smooth the trajectory which came from the refitting step
Definition: TrackTransformerForGlobalCosmicMuons.cc:179
GlobalTrackingGeometry::idToDet
const GeomDet * idToDet(DetId) const override
Definition: GlobalTrackingGeometry.cc:44
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
StripSubdetector::TOB
static constexpr auto TOB
Definition: StripSubdetector.h:18
TrajectorySeed
Definition: TrajectorySeed.h:18
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
TrackTransformerForGlobalCosmicMuons::theTrackerRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTrackerRecHitBuilder
Definition: TrackTransformerForGlobalCosmicMuons.h:107
DetId::Muon
Definition: DetId.h:26
TrackTransformerForGlobalCosmicMuons::theMuonRecHitBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theMuonRecHitBuilder
Definition: TrackTransformerForGlobalCosmicMuons.h:110
DTChamberId
Definition: DTChamberId.h:14
LogTrace
#define LogTrace(id)
Definition: MessageLogger.h:234
TrackerTopologyRcd
Definition: TrackerTopologyRcd.h:10
TrackTransformerForGlobalCosmicMuons::theSmootherIO
edm::ESHandle< TrajectorySmoother > theSmootherIO
Definition: TrackTransformerForGlobalCosmicMuons.h:103
TrackTransformerForGlobalCosmicMuons::theRPCInTheFit
bool theRPCInTheFit
Definition: TrackTransformerForGlobalCosmicMuons.h:90
TrackTransformerForGlobalCosmicMuons::trackingGeometry
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
the tracking geometry
Definition: TrackTransformerForGlobalCosmicMuons.h:60
TrackerTopology::tecWheel
unsigned int tecWheel(const DetId &id) const
Definition: TrackerTopology.h:198
TrackTransformerForGlobalCosmicMuons::theTrackerSkipSection
int theTrackerSkipSection
Definition: TrackTransformerForGlobalCosmicMuons.h:95
TrackTransformerForGlobalCosmicMuons::tTopo_
const TrackerTopology * tTopo_
Definition: TrackTransformerForGlobalCosmicMuons.h:112
GeomDetEnumerators::isDT
bool isDT(GeomDetEnumerators::SubDetector m)
Definition: GeomDetEnumerators.cc:86
alongMomentum
Definition: PropagationDirection.h:4
up
Definition: BitonicSort.h:7
StripSubdetector::TID
static constexpr auto TID
Definition: StripSubdetector.h:17
hit
Definition: SiStripHitEffFromCalibTree.cc:88
TrackTransformerForGlobalCosmicMuons::theTrackingGeometry
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
Definition: TrackTransformerForGlobalCosmicMuons.h:97
TrackTransformerForGlobalCosmicMuons::getTransientRecHits
TransientTrackingRecHit::ConstRecHitContainer getTransientRecHits(const reco::TransientTrack &track) const
Definition: TrackTransformerForGlobalCosmicMuons.cc:103
TrackTransformerForGlobalCosmicMuons::theCacheId_TRH
unsigned long long theCacheId_TRH
Definition: TrackTransformerForGlobalCosmicMuons.h:88
metname
const std::string metname
Definition: MuonSeedOrcaPatternRecognition.cc:40
TrackerTopology::tibLayer
unsigned int tibLayer(const DetId &id) const
Definition: TrackerTopology.h:150
TrackingComponentsRecord
Definition: TrackingComponentsRecord.h:12