10 : theTrajBuilder(pset, proxy,iC),
30 pt *= localTrajectoryParameters.charge();
34 float sigmapt =
sqrt(err00)*pt*
pt;
39 recHitItr != range.second; ++recHitItr)
71 unsigned ntraj = trajectories.size();
72 for(
unsigned i = 0;
i < ntraj; ++
i)
74 int nhits = trajectories[
i]->foundHits();
75 if(nhits > best_nhits)
80 else if(nhits == best_nhits && trajectories[
i]->chiSquared() < trajectories[best]->chiSquared())
86 for(
unsigned i = 0;
i < ntraj; ++
i)
89 result.push_back(trajectories[best]);
91 delete trajectories[
i];
94 trajectories.swap(result);
MuonCandidate::CandidateContainer CandidateContainer
std::pair< const Trajectory *, reco::TrackRef > TrackCand
virtual void setEvent(const edm::Event &event)
pass the Event to the algo at each event
bool isBarrel(GeomDetEnumerators::SubDetector m)
StandAloneMuonTrajectoryBuilder theTrajBuilder
MuonCandidate::TrajectoryContainer TrajectoryContainer
virtual ~ExhaustiveMuonTrajectoryBuilder()
MuonSeedFromRecHits theSeeder
std::shared_ptr< MuonTransientTrackingRecHit > MuonRecHitPointer
virtual void setEvent(const edm::Event &event)
Pass the Event to the algo at each event.
recHitContainer::const_iterator const_iterator
std::pair< const_iterator, const_iterator > range
unsigned int detId() const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
PTrajectoryStateOnDet const & startingState() const
edm::ESHandle< GlobalTrackingGeometry > trackingGeometry() const
get the tracking geometry
void clean(TrajectoryContainer &trajectories) const
TrajectoryContainer trajectories(const TrajectorySeed &)
return a container of the reconstructed trajectories compatible with a given seed ...
TrajectorySeed createSeed(float ptmean, float sptmean, MuonTransientTrackingRecHit::ConstMuonRecHitPointer last) const
static MuonRecHitPointer specificBuild(const GeomDet *geom, const TrackingRecHit *rh)
virtual TrajectoryContainer trajectories(const TrajectorySeed &)
return a container of the reconstructed trajectories compatible with a given seed ...
ExhaustiveMuonTrajectoryBuilder(const edm::ParameterSet &pset, const MuonServiceProxy *, edm::ConsumesCollector &)
const LocalTrajectoryParameters & parameters() const
const MuonServiceProxy * theService