31 theTrajBuilder(ConcreteMuonTrajectoryBuilder),
33 theTrackLoader(trackLoader) {
40 theTrajBuilder(ConcreteMuonTrajectoryBuilder),
41 theTrajCleaner(cleaner),
42 theTrackLoader(trackLoader) {
48 LogTrace(
"Muon|RecoMuon|MuonTrackFinder")<<
"MuonTrackFinder destructor called"<<endl;
81 const string metname =
"Muon|RecoMuon|MuonTrackFinder";
82 LogTrace(metname)<<
"SA Recostruction starting from: "<<seeds->size()<<endl;
92 for(seed = seeds->
begin();
93 seed != seeds->
end(); ++
seed, ++nSeed){
94 LogTrace(metname)<<
"+++ New Seed +++"<<endl;
96 for(TrajectoryContainer::iterator it = muonTrajs_temp.begin();
97 it != muonTrajs_temp.end(); ++it){
98 (*it)->setSeedRef(seeds->refAt(nSeed));
99 muonTrajectories.push_back(*it);
104 LogTrace(metname)<<
"Clean the trajectories container"<<endl;
109 <<
"Convert the trajectories into tracks and load them in to the event"<<endl;
110 return load(muonTrajectories,event);
119 const string metname =
"Muon|RecoMuon|MuonTrackFinder";
128 for (vector<TrackCand>::const_iterator staCand = staCandColl.begin(); staCand != staCandColl.end(); ++staCand) {
130 muonCandidates.insert(muonCandidates.end(), muonCands_temp.begin(),muonCands_temp.end());
137 LogTrace(metname)<<
"Load Muon Candidates into the event"<<endl;
138 load(muonCandidates,event);
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
const std::string metname
virtual TrajectoryContainer trajectories(const TrajectorySeed &)=0
return a container of the reconstructed trajectories compatible with a given seed ...
void setEvent(const edm::Event &)
percolate the Event Setup
virtual ~MuonTrackFinder()
destructor
virtual void setEvent(const edm::Event &event)=0
pass the Event to the algo at each event
void clean(TrajectoryContainer &muonTrajectories, edm::Event &evt)
Clean the trajectories container, erasing the (worst) clone trajectory.
MuonTrackFinder(MuonTrajectoryBuilder *ConcreteMuonTrajectoryBuilder, MuonTrackLoader *trackLoader)
Constructor, with default cleaner. For the STA reconstruction the trackLoader must have the propagato...
MuonTrackLoader * theTrackLoader
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
MuonCandidate::TrajectoryContainer TrajectoryContainer
edm::OrphanHandle< reco::TrackCollection > loadTracks(const TrajectoryContainer &, edm::Event &, const std::string &="", bool=true)
Convert the trajectories into tracks and load the tracks in the event.
edm::OrphanHandle< reco::TrackCollection > load(const TrajectoryContainer &, edm::Event &)
convert the trajectories into tracks and load them in to the event
MuonTrajectoryBuilder * theTrajBuilder
MuonTrajectoryCleaner * theTrajCleaner
const_iterator begin() const
const_iterator end() const
edm::OrphanHandle< reco::TrackCollection > reconstruct(const edm::Handle< edm::View< TrajectorySeed > > &, edm::Event &)
reconstruct standalone tracks starting from a collection of seeds
MuonCandidate::CandidateContainer CandidateContainer