CMS 3D CMS Logo

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

#include <CosmicTrajectoryBuilder.h>

Public Member Functions

 CosmicTrajectoryBuilder (const edm::ParameterSet &conf)
 
Trajectory createStartingTrajectory (const TrajectorySeed &seed) const
 
const TransientTrackingRecHitBuilderhitBuilder () const
 
void init (const edm::EventSetup &es, bool)
 
void run (const TrajectorySeedCollection &collseed, const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const edm::EventSetup &es, edm::Event &e, std::vector< Trajectory > &trajoutput)
 Runs the algorithm. More...
 
 ~CosmicTrajectoryBuilder ()
 

Private Types

typedef TrajectoryMeasurement TM
 
typedef TrajectoryStateOnSurface TSOS
 

Private Member Functions

void AddHit (Trajectory &traj, const std::vector< const TrackingRecHit * > &Hits)
 
bool qualityFilter (const Trajectory &traj)
 
std::vector< TrajectoryMeasurementseedMeasurements (const TrajectorySeed &seed) const
 
std::vector< const TrackingRecHit * > SortHits (const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed)
 
TSOS startingTSOS (const TrajectorySeed &seed) const
 
void updateTrajectory (Trajectory &traj, const TM &tm, const TransientTrackingRecHit &hit) const
 

Private Attributes

double chi2cut
 
std::string geometry
 
TkClonerImpl hitCloner
 
TransientTrackingRecHit::RecHitContainer hits
 
edm::ESHandle< MagneticFieldmagfield
 
const TransientTrackingRecHitBuilderRHBuilder
 
bool seed_plus
 
std::string theBuilderName
 
Chi2MeasurementEstimatortheEstimator
 
KFTrajectoryFittertheFitter
 
int theMinHits
 
PropagatorWithMaterialthePropagator
 
PropagatorWithMaterialthePropagatorOp
 
KFTrajectorySmoothertheSmoother
 
KFUpdatortheUpdator
 
edm::ESHandle< TrackerGeometrytracker
 
std::vector< TrajectorytrajFit
 

Detailed Description

Definition at line 74 of file CosmicTrajectoryBuilder.h.

Member Typedef Documentation

◆ TM

Definition at line 76 of file CosmicTrajectoryBuilder.h.

◆ TSOS

Definition at line 75 of file CosmicTrajectoryBuilder.h.

Constructor & Destructor Documentation

◆ CosmicTrajectoryBuilder()

CosmicTrajectoryBuilder::CosmicTrajectoryBuilder ( const edm::ParameterSet conf)

Definition at line 21 of file CosmicTrajectoryBuilder.cc.

21  {
22  //minimum number of hits per tracks
23 
24  theMinHits = conf.getParameter<int>("MinHits");
25  //cut on chi2
26  chi2cut = conf.getParameter<double>("Chi2Cut");
27  edm::LogInfo("CosmicTrackFinder") << "Minimum number of hits " << theMinHits << " Cut on Chi2= " << chi2cut;
28 
29  geometry = conf.getUntrackedParameter<std::string>("GeometricStructure", "STANDARD");
30  theBuilderName = conf.getParameter<std::string>("TTRHBuilder");
31 }

References trackAssociatorByChi2_cfi::chi2cut, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~CosmicTrajectoryBuilder()

CosmicTrajectoryBuilder::~CosmicTrajectoryBuilder ( )

Definition at line 33 of file CosmicTrajectoryBuilder.cc.

33 {}

Member Function Documentation

◆ AddHit()

void CosmicTrajectoryBuilder::AddHit ( Trajectory traj,
const std::vector< const TrackingRecHit * > &  Hits 
)
private

Definition at line 192 of file CosmicTrajectoryBuilder.cc.

192  {
193  unsigned int icosm2;
194  unsigned int ibestdet;
195  float chi2min;
196  for (unsigned int icosmhit = 0; icosmhit < Hits.size(); icosmhit++) {
197  GlobalPoint gphit = RHBuilder->build(Hits[icosmhit])->globalPosition();
198  unsigned int iraw = Hits[icosmhit]->geographicalId().rawId();
199  LogDebug("CosmicTrackFinder") << " HIT POSITION " << gphit;
200  //RC TransientTrackingRecHit* tmphit=RHBuilder->build(Hits[icosmhit]);
201  TransientTrackingRecHit::RecHitPointer tmphit = RHBuilder->build(Hits[icosmhit]);
203  tracker->idToDet(Hits[icosmhit]->geographicalId())->surface());
204 
205  //After propagating the trajectory to a detector,
206  //find the most compatible hit in the det
207  chi2min = 20000000;
208  ibestdet = 1000;
209  if (prSt.isValid()) {
210  LocalPoint prLoc = prSt.localPosition();
211  LogDebug("CosmicTrackFinder") << "STATE PROPAGATED AT DET " << iraw << " " << prSt;
212  for (icosm2 = icosmhit; icosm2 < Hits.size(); icosm2++) {
213  if (iraw == Hits[icosm2]->geographicalId().rawId()) {
215  float contr = theEstimator->estimate(prSt, *tmphit).second;
216  if (contr < chi2min) {
217  chi2min = contr;
218  ibestdet = icosm2;
219  }
220  if (icosm2 != icosmhit)
221  icosmhit++;
222 
223  } else
224  icosm2 = Hits.size();
225  }
226 
227  if (chi2min < chi2cut)
228  LogDebug("CosmicTrackFinder") << "Chi2 contribution for hit at "
229  << RHBuilder->build(Hits[ibestdet])->globalPosition() << " is " << chi2min;
230 
231  if (traj.foundHits() < 3 && (chi2min < chi2cut)) {
232  //check on the first hit after the seed
233  GlobalVector ck = RHBuilder->build(Hits[ibestdet])->globalPosition() -
235  if ((abs(ck.x() / ck.y()) > 2) || (abs(ck.z() / ck.y()) > 2))
236  chi2min = 300;
237  }
238  if (chi2min < chi2cut) {
239  if (abs(prLoc.x()) < 25 && abs(prLoc.y()) < 25) {
240  TransientTrackingRecHit::RecHitPointer tmphitbestdet = RHBuilder->build(Hits[ibestdet]);
241  TSOS UpdatedState = theUpdator->update(prSt, *tmphitbestdet);
242  if (UpdatedState.isValid()) {
243  traj.push(TM(prSt, UpdatedState, RHBuilder->build(Hits[ibestdet]), chi2min));
244  LogDebug("CosmicTrackFinder") << "STATE UPDATED WITH HIT AT POSITION " << tmphitbestdet->globalPosition()
245  << UpdatedState << " " << traj.chiSquared();
246 
247  hits.push_back(tmphitbestdet);
248  }
249  } else
250  LogDebug("CosmicTrackFinder") << " Hits outside module surface " << prLoc;
251  } else
252  LogDebug("CosmicTrackFinder") << " State can not be updated with hit at position " << gphit;
253  } else
254  LogDebug("CosmicTrackFinder") << " State can not be propagated at det " << iraw;
255  }
256 
257  if (qualityFilter(traj)) {
258  const TrajectorySeed &tmpseed = traj.seed();
259  if (thePropagatorOp
260  ->propagate(traj.lastMeasurement().updatedState(),
261  tracker->idToDet((*hits.begin())->geographicalId())->surface())
262  .isValid()) {
263  TSOS startingState = thePropagatorOp->propagate(traj.lastMeasurement().updatedState(),
264  tracker->idToDet((*hits.begin())->geographicalId())->surface());
265 
266  trajFit = theFitter->fit(tmpseed, hits, startingState);
267  }
268  }
269 }

References funct::abs(), trackAssociatorByChi2_cfi::chi2cut, Trajectory::chiSquared(), Trajectory::firstMeasurement(), Trajectory::foundHits(), TrajectoryStateOnSurface::globalPosition(), hfClusterShapes_cfi::hits, TrajectoryStateOnSurface::isValid(), Trajectory::lastMeasurement(), TrajectoryStateOnSurface::localPosition(), LogDebug, Trajectory::push(), Trajectory::seed(), PbPb_ZMuSkimMuonDPG_cff::tracker, TrajectoryStateOnSurface::update(), TrajectoryMeasurement::updatedState(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().

◆ createStartingTrajectory()

Trajectory CosmicTrajectoryBuilder::createStartingTrajectory ( const TrajectorySeed seed) const

Definition at line 112 of file CosmicTrajectoryBuilder.cc.

112  {
113  Trajectory result(seed, seed.direction());
114  std::vector<TM> &&seedMeas = seedMeasurements(seed);
115  for (auto &i : seedMeas)
116  result.push(std::move(i));
117  return result;
118 }

References mps_fire::i, eostools::move(), mps_fire::result, and fileCollector::seed.

◆ hitBuilder()

const TransientTrackingRecHitBuilder* CosmicTrajectoryBuilder::hitBuilder ( ) const
inline

Definition at line 96 of file CosmicTrajectoryBuilder.h.

96 { return RHBuilder; }

References RHBuilder.

Referenced by cms::CosmicTrackFinder::produce().

◆ init()

void CosmicTrajectoryBuilder::init ( const edm::EventSetup es,
bool  seedplus 
)

Definition at line 35 of file CosmicTrajectoryBuilder.cc.

35  {
36  // FIXME: this is a memory leak generator
37 
38  //services
41 
42  if (seedplus) {
43  seed_plus = true;
46  } else {
47  seed_plus = false;
50  }
51 
52  theUpdator = new KFUpdator();
54 
56  es.get<TransientRecHitRecord>().get(theBuilderName, theBuilder);
57 
58  RHBuilder = theBuilder.product();
59  hitCloner = static_cast<TkTransientTrackingRecHitBuilder const *>(RHBuilder)->cloner();
60 
61  theFitter = new KFTrajectoryFitter(*thePropagator, *theUpdator, *theEstimator);
62  theFitter->setHitCloner(&hitCloner);
63 
66 }

References alongMomentum, trackAssociatorByChi2_cfi::chi2cut, Chi2MeasurementEstimator_cfi::Chi2MeasurementEstimator, edm::EventSetup::get(), get, volumeBasedMagneticField_160812_cfi::magfield, oppositeToMomentum, edm::ESHandle< T >::product(), and PbPb_ZMuSkimMuonDPG_cff::tracker.

◆ qualityFilter()

bool CosmicTrajectoryBuilder::qualityFilter ( const Trajectory traj)
private

Definition at line 271 of file CosmicTrajectoryBuilder.cc.

271  {
272  int ngoodhits = 0;
273  if (geometry == "MTCC") {
274  auto hits = traj.recHits();
275  for (auto hit = hits.begin(); hit != hits.end(); hit++) {
276  unsigned int iid = (*hit)->hit()->geographicalId().rawId();
277  //CHECK FOR 3 hits r-phi
278  if (((iid >> 0) & 0x3) != 1)
279  ngoodhits++;
280  }
281  } else
282  ngoodhits = traj.foundHits();
283 
284  if (ngoodhits >= theMinHits) {
285  return true;
286  } else {
287  return false;
288  }
289 }

References Trajectory::foundHits(), hfClusterShapes_cfi::hits, and Trajectory::recHits().

◆ run()

void CosmicTrajectoryBuilder::run ( const TrajectorySeedCollection collseed,
const SiStripRecHit2DCollection collstereo,
const SiStripRecHit2DCollection collrphi,
const SiStripMatchedRecHit2DCollection collmatched,
const SiPixelRecHitCollection collpixel,
const edm::EventSetup es,
edm::Event e,
std::vector< Trajectory > &  trajoutput 
)

Runs the algorithm.

Definition at line 68 of file CosmicTrajectoryBuilder.cc.

75  {
76  std::vector<Trajectory> trajSmooth;
77  std::vector<Trajectory>::iterator trajIter;
78 
79  TrajectorySeedCollection::const_iterator iseed;
80  unsigned int IS = 0;
81  for (iseed = collseed.begin(); iseed != collseed.end(); iseed++) {
82  bool seedplus = ((*iseed).direction() == alongMomentum);
83  init(es, seedplus);
84  hits.clear();
85  trajFit.clear();
86  trajSmooth.clear();
87  //order all the hits
88  vector<const TrackingRecHit *> allHits = SortHits(collstereo, collrphi, collmatched, collpixel, *iseed);
89  Trajectory startingTraj = createStartingTrajectory(*iseed);
90  AddHit(startingTraj, allHits);
91  for (trajIter = trajFit.begin(); trajIter != trajFit.end(); trajIter++) {
92  trajSmooth = theSmoother->trajectories((*trajIter));
93  }
94  for (trajIter = trajSmooth.begin(); trajIter != trajSmooth.end(); trajIter++) {
95  if ((*trajIter).isValid()) {
96  trajoutput.push_back((*trajIter));
97  }
98  }
99  delete theUpdator;
100  delete theEstimator;
101  delete thePropagator;
102  delete thePropagatorOp;
103  delete theFitter;
104  delete theSmoother;
105  //Only the first 30 seeds are considered
106  if (IS > 30)
107  return;
108  IS++;
109  }
110 }

References alongMomentum, hfClusterShapes_cfi::hits, init, and iseed.

Referenced by cms::CosmicTrackFinder::produce().

◆ seedMeasurements()

std::vector< TrajectoryMeasurement > CosmicTrajectoryBuilder::seedMeasurements ( const TrajectorySeed seed) const
private

Definition at line 120 of file CosmicTrajectoryBuilder.cc.

120  {
121  std::vector<TrajectoryMeasurement> result;
122  auto const &hitRange = seed.recHits();
123  for (auto ihit = hitRange.begin(); ihit != hitRange.end(); ihit++) {
124  //RC TransientTrackingRecHit* recHit = RHBuilder->build(&(*ihit));
126  const GeomDet *hitGeomDet = (&(*tracker))->idToDet(ihit->geographicalId());
127  TSOS invalidState(new BasicSingleTrajectoryState(hitGeomDet->surface()));
128 
129  if (ihit == hitRange.end() - 1) {
130  TSOS updatedState = startingTSOS(seed);
131  result.emplace_back(invalidState, updatedState, recHit);
132  } else {
133  result.emplace_back(invalidState, recHit);
134  }
135  }
136 
137  return result;
138 }

References rpcPointValidation_cfi::recHit, mps_fire::result, fileCollector::seed, and GeomDet::surface().

◆ SortHits()

vector< const TrackingRecHit * > CosmicTrajectoryBuilder::SortHits ( const SiStripRecHit2DCollection collstereo,
const SiStripRecHit2DCollection collrphi,
const SiStripMatchedRecHit2DCollection collmatched,
const SiPixelRecHitCollection collpixel,
const TrajectorySeed seed 
)
private

Definition at line 140 of file CosmicTrajectoryBuilder.cc.

144  {
145  //The Hits with global y more than the seed are discarded
146  //The Hits correspondign to the seed are discarded
147  //At the end all the hits are sorted in y
148  vector<const TrackingRecHit *> allHits;
149 
151  float yref = 0.;
152  for (auto const &recHit : seed.recHits()) {
153  yref = RHBuilder->build(&recHit)->globalPosition().y();
154  hits.push_back((RHBuilder->build(&recHit)));
155  LogDebug("CosmicTrackFinder") << "SEED HITS" << RHBuilder->build(&recHit)->globalPosition();
156  }
157 
159  for (ipix = collpixel.data().begin(); ipix != collpixel.data().end(); ipix++) {
160  float ych = RHBuilder->build(&(*ipix))->globalPosition().y();
161  if ((seed_plus && (ych < yref)) || (!(seed_plus) && (ych > yref)))
162  allHits.push_back(&(*ipix));
163  }
164 
165  for (istrip = collrphi.data().begin(); istrip != collrphi.data().end(); istrip++) {
166  float ych = RHBuilder->build(&(*istrip))->globalPosition().y();
167  if ((seed_plus && (ych < yref)) || (!(seed_plus) && (ych > yref)))
168  allHits.push_back(&(*istrip));
169  }
170 
171  for (istrip = collstereo.data().begin(); istrip != collstereo.data().end(); istrip++) {
172  float ych = RHBuilder->build(&(*istrip))->globalPosition().y();
173  if ((seed_plus && (ych < yref)) || (!(seed_plus) && (ych > yref)))
174  allHits.push_back(&(*istrip));
175  }
176 
177  if (seed_plus)
178  stable_sort(allHits.begin(), allHits.end(), CompareHitY_plus(*tracker));
179  else
180  stable_sort(allHits.begin(), allHits.end(), CompareHitY(*tracker));
181 
182  return allHits;
183 }

References edmNew::DetSetVector< T >::data(), hfClusterShapes_cfi::hits, LogDebug, rpcPointValidation_cfi::recHit, fileCollector::seed, and PbPb_ZMuSkimMuonDPG_cff::tracker.

◆ startingTSOS()

TrajectoryStateOnSurface CosmicTrajectoryBuilder::startingTSOS ( const TrajectorySeed seed) const
private

Definition at line 185 of file CosmicTrajectoryBuilder.cc.

185  {
186  PTrajectoryStateOnDet pState(seed.startingState());
187  const GeomDet *gdet = (&(*tracker))->idToDet(DetId(pState.detId()));
188  TSOS State = trajectoryStateTransform::transientState(pState, &(gdet->surface()), &(*magfield));
189  return State;
190 }

References volumeBasedMagneticField_160812_cfi::magfield, fileCollector::seed, and trajectoryStateTransform::transientState().

◆ updateTrajectory()

void CosmicTrajectoryBuilder::updateTrajectory ( Trajectory traj,
const TM tm,
const TransientTrackingRecHit hit 
) const
private

Member Data Documentation

◆ chi2cut

double CosmicTrajectoryBuilder::chi2cut
private

Definition at line 128 of file CosmicTrajectoryBuilder.h.

◆ geometry

std::string CosmicTrajectoryBuilder::geometry
private

Definition at line 133 of file CosmicTrajectoryBuilder.h.

◆ hitCloner

TkClonerImpl CosmicTrajectoryBuilder::hitCloner
private

Definition at line 123 of file CosmicTrajectoryBuilder.h.

◆ hits

TransientTrackingRecHit::RecHitContainer CosmicTrajectoryBuilder::hits
private

Definition at line 131 of file CosmicTrajectoryBuilder.h.

◆ magfield

edm::ESHandle<MagneticField> CosmicTrajectoryBuilder::magfield
private

Definition at line 115 of file CosmicTrajectoryBuilder.h.

◆ RHBuilder

const TransientTrackingRecHitBuilder* CosmicTrajectoryBuilder::RHBuilder
private

Definition at line 122 of file CosmicTrajectoryBuilder.h.

Referenced by hitBuilder().

◆ seed_plus

bool CosmicTrajectoryBuilder::seed_plus
private

Definition at line 132 of file CosmicTrajectoryBuilder.h.

◆ theBuilderName

std::string CosmicTrajectoryBuilder::theBuilderName
private

Definition at line 134 of file CosmicTrajectoryBuilder.h.

◆ theEstimator

Chi2MeasurementEstimator* CosmicTrajectoryBuilder::theEstimator
private

Definition at line 121 of file CosmicTrajectoryBuilder.h.

◆ theFitter

KFTrajectoryFitter* CosmicTrajectoryBuilder::theFitter
private

Definition at line 125 of file CosmicTrajectoryBuilder.h.

◆ theMinHits

int CosmicTrajectoryBuilder::theMinHits
private

Definition at line 127 of file CosmicTrajectoryBuilder.h.

◆ thePropagator

PropagatorWithMaterial* CosmicTrajectoryBuilder::thePropagator
private

Definition at line 118 of file CosmicTrajectoryBuilder.h.

◆ thePropagatorOp

PropagatorWithMaterial* CosmicTrajectoryBuilder::thePropagatorOp
private

Definition at line 119 of file CosmicTrajectoryBuilder.h.

◆ theSmoother

KFTrajectorySmoother* CosmicTrajectoryBuilder::theSmoother
private

Definition at line 124 of file CosmicTrajectoryBuilder.h.

◆ theUpdator

KFUpdator* CosmicTrajectoryBuilder::theUpdator
private

Definition at line 120 of file CosmicTrajectoryBuilder.h.

◆ tracker

edm::ESHandle<TrackerGeometry> CosmicTrajectoryBuilder::tracker
private

Definition at line 116 of file CosmicTrajectoryBuilder.h.

◆ trajFit

std::vector<Trajectory> CosmicTrajectoryBuilder::trajFit
private

Definition at line 129 of file CosmicTrajectoryBuilder.h.

Vector3DBase
Definition: Vector3DBase.h:8
TrackerGeometry::idToDet
const TrackerGeomDet * idToDet(DetId) const override
Definition: TrackerGeometry.cc:193
CosmicTrajectoryBuilder::thePropagatorOp
PropagatorWithMaterial * thePropagatorOp
Definition: CosmicTrajectoryBuilder.h:119
edm::ESHandle::product
T const * product() const
Definition: ESHandle.h:86
CosmicTrajectoryBuilder::AddHit
void AddHit(Trajectory &traj, const std::vector< const TrackingRecHit * > &Hits)
Definition: CosmicTrajectoryBuilder.cc:192
KFUpdator::update
TrajectoryStateOnSurface update(const TrajectoryStateOnSurface &, const TrackingRecHit &) const override
Definition: KFUpdator.cc:177
mps_fire.i
i
Definition: mps_fire.py:428
GeomDet
Definition: GeomDet.h:27
hcaldqm::flag::State
State
Definition: Flag.h:13
PropagatorWithMaterial::propagate
TrajectoryStateOnSurface propagate(STA const &state, SUR const &surface) const
Definition: Propagator.h:50
Trajectory::chiSquared
float chiSquared() const
Definition: Trajectory.h:241
PV3DBase::x
T x() const
Definition: PV3DBase.h:59
TrajectoryStateOnSurface::globalPosition
GlobalPoint globalPosition() const
Definition: TrajectoryStateOnSurface.h:65
geometry
Definition: geometry.py:1
TransientRecHitRecord
Definition: TransientRecHitRecord.h:14
CosmicTrajectoryBuilder::theUpdator
KFUpdator * theUpdator
Definition: CosmicTrajectoryBuilder.h:120
CosmicTrajectoryBuilder::theSmoother
KFTrajectorySmoother * theSmoother
Definition: CosmicTrajectoryBuilder.h:124
edmNew::DetSetVector::const_iterator
boost::transform_iterator< IterHelp, const_IdIter > const_iterator
Definition: DetSetVectorNew.h:197
oppositeToMomentum
Definition: PropagationDirection.h:4
CosmicTrajectoryBuilder::theFitter
KFTrajectoryFitter * theFitter
Definition: CosmicTrajectoryBuilder.h:125
TrajectoryMeasurement::updatedState
TrajectoryStateOnSurface const & updatedState() const
Definition: TrajectoryMeasurement.h:184
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
TrackingRecHit::RecHitPointer
std::shared_ptr< TrackingRecHit const > RecHitPointer
Definition: TrackingRecHit.h:24
Trajectory::foundHits
int foundHits() const
Definition: Trajectory.h:206
CosmicTrajectoryBuilder::hitCloner
TkClonerImpl hitCloner
Definition: CosmicTrajectoryBuilder.h:123
TransientTrackingRecHitBuilder::build
virtual RecHitPointer build(const TrackingRecHit *p) const =0
build a tracking rechit from an existing rechit
CompareHitY_plus
Definition: CosmicTrajectoryBuilder.h:58
rpcPointValidation_cfi.recHit
recHit
Definition: rpcPointValidation_cfi.py:7
TrajectorySmoother::trajectories
virtual TrajectoryContainer trajectories(const Trajectory &traj) const
Definition: TrajectorySmoother.h:18
CosmicTrajectoryBuilder::tracker
edm::ESHandle< TrackerGeometry > tracker
Definition: CosmicTrajectoryBuilder.h:116
PV3DBase::z
T z() const
Definition: PV3DBase.h:61
fileCollector.seed
seed
Definition: fileCollector.py:127
IdealMagneticFieldRecord
Definition: IdealMagneticFieldRecord.h:11
DetId
Definition: DetId.h:17
CosmicTrajectoryBuilder::chi2cut
double chi2cut
Definition: CosmicTrajectoryBuilder.h:128
GeomDet::surface
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
PropagatorWithMaterial
Definition: PropagatorWithMaterial.h:25
edm::EventSetup::get
T get() const
Definition: EventSetup.h:80
CosmicTrajectoryBuilder::magfield
edm::ESHandle< MagneticField > magfield
Definition: CosmicTrajectoryBuilder.h:115
TrackerDigiGeometryRecord
Definition: TrackerDigiGeometryRecord.h:15
Chi2MeasurementEstimator_cfi.Chi2MeasurementEstimator
Chi2MeasurementEstimator
Definition: Chi2MeasurementEstimator_cfi.py:5
edm::ESHandle< TransientTrackingRecHitBuilder >
Point3DBase< float, GlobalTag >
CosmicTrajectoryBuilder::trajFit
std::vector< Trajectory > trajFit
Definition: CosmicTrajectoryBuilder.h:129
BasicSingleTrajectoryState
Definition: BasicSingleTrajectoryState.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CosmicTrajectoryBuilder::theMinHits
int theMinHits
Definition: CosmicTrajectoryBuilder.h:127
TrajectoryStateOnSurface::localPosition
LocalPoint localPosition() const
Definition: TrajectoryStateOnSurface.h:74
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
iseed
int iseed
Definition: AMPTWrapper.h:134
CosmicTrajectoryBuilder::init
void init(const edm::EventSetup &es, bool)
Definition: CosmicTrajectoryBuilder.cc:35
CosmicTrajectoryBuilder::thePropagator
PropagatorWithMaterial * thePropagator
Definition: CosmicTrajectoryBuilder.h:118
Trajectory::lastMeasurement
TrajectoryMeasurement const & lastMeasurement() const
Definition: Trajectory.h:150
CosmicTrajectoryBuilder::RHBuilder
const TransientTrackingRecHitBuilder * RHBuilder
Definition: CosmicTrajectoryBuilder.h:122
State
State
Definition: RPixErrorChecker.h:15
PV3DBase::y
T y() const
Definition: PV3DBase.h:60
CosmicTrajectoryBuilder::SortHits
std::vector< const TrackingRecHit * > SortHits(const SiStripRecHit2DCollection &collstereo, const SiStripRecHit2DCollection &collrphi, const SiStripMatchedRecHit2DCollection &collmatched, const SiPixelRecHitCollection &collpixel, const TrajectorySeed &seed)
Definition: CosmicTrajectoryBuilder.cc:140
trajectoryStateTransform::transientState
TrajectoryStateOnSurface transientState(const PTrajectoryStateOnDet &ts, const Surface *surface, const MagneticField *field)
Definition: TrajectoryStateTransform.cc:35
CosmicTrajectoryBuilder::qualityFilter
bool qualityFilter(const Trajectory &traj)
Definition: CosmicTrajectoryBuilder.cc:271
CosmicTrajectoryBuilder::theBuilderName
std::string theBuilderName
Definition: CosmicTrajectoryBuilder.h:134
get
#define get
Trajectory::push
void push(const TrajectoryMeasurement &tm)
Definition: Trajectory.cc:50
CosmicTrajectoryBuilder::hits
TransientTrackingRecHit::RecHitContainer hits
Definition: CosmicTrajectoryBuilder.h:131
Trajectory::recHits
ConstRecHitContainer recHits() const
Definition: Trajectory.h:186
eostools.move
def move(src, dest)
Definition: eostools.py:511
CosmicTrajectoryBuilder::seed_plus
bool seed_plus
Definition: CosmicTrajectoryBuilder.h:132
CosmicTrajectoryBuilder::seedMeasurements
std::vector< TrajectoryMeasurement > seedMeasurements(const TrajectorySeed &seed) const
Definition: CosmicTrajectoryBuilder.cc:120
Trajectory::firstMeasurement
TrajectoryMeasurement const & firstMeasurement() const
Definition: Trajectory.h:166
edmNew::DetSetVector::data
data_type const * data(size_t cell) const
Definition: DetSetVectorNew.h:560
Trajectory
Definition: Trajectory.h:38
KFTrajectorySmoother
Definition: KFTrajectorySmoother.h:20
Trajectory::seed
TrajectorySeed const & seed() const
Access to the seed used to reconstruct the Trajectory.
Definition: Trajectory.h:263
TrajectorySeed
Definition: TrajectorySeed.h:18
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
CosmicTrajectoryBuilder::TM
TrajectoryMeasurement TM
Definition: CosmicTrajectoryBuilder.h:76
mps_fire.result
result
Definition: mps_fire.py:311
funct::abs
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
CosmicTrajectoryBuilder::createStartingTrajectory
Trajectory createStartingTrajectory(const TrajectorySeed &seed) const
Definition: CosmicTrajectoryBuilder.cc:112
CompareHitY
Definition: CosmicTrajectoryBuilder.h:44
PTrajectoryStateOnDet
Definition: PTrajectoryStateOnDet.h:10
CosmicTrajectoryBuilder::startingTSOS
TSOS startingTSOS(const TrajectorySeed &seed) const
Definition: CosmicTrajectoryBuilder.cc:185
KFTrajectorySmoother::setHitCloner
void setHitCloner(TkCloner const *hc) override
Definition: KFTrajectorySmoother.h:91
alongMomentum
Definition: PropagationDirection.h:4
CosmicTrajectoryBuilder::theEstimator
Chi2MeasurementEstimator * theEstimator
Definition: CosmicTrajectoryBuilder.h:121
KFUpdator
Definition: KFUpdator.h:32
TrajectoryStateOnSurface::isValid
bool isValid() const
Definition: TrajectoryStateOnSurface.h:54
hit
Definition: SiStripHitEffFromCalibTree.cc:88