45 LogTrace(
"Muon|RecoMuon|StandAloneMuonProducer")<<
"constructor called"<<endl;
66 string typeOfBuilder = parameterSet.
getParameter<
string>(
"MuonTrajectoryBuilder");
67 if(typeOfBuilder ==
"StandAloneMuonTrajectoryBuilder")
69 else if(typeOfBuilder ==
"DirectMuonTrajectoryBuilder")
71 else if(typeOfBuilder ==
"Exhaustive")
74 LogWarning(
"Muon|RecoMuon|StandAloneMuonProducer") <<
"No Trajectory builder associated with "<<typeOfBuilder
75 <<
". Falling down to the default (StandAloneMuonTrajectoryBuilder)";
82 produces<reco::TrackCollection>().setBranchAlias(theAlias +
"Tracks");
83 produces<reco::TrackCollection>(
"UpdatedAtVtx").setBranchAlias(theAlias +
"UpdatedAtVtxTracks");
84 produces<TrackingRecHitCollection>().setBranchAlias(theAlias +
"RecHits");
85 produces<reco::TrackExtraCollection>().setBranchAlias(theAlias +
"TrackExtras");
86 produces<reco::TrackToTrackMap>().setBranchAlias(theAlias +
"TrackToTrackMap");
88 produces<std::vector<Trajectory> >().setBranchAlias(theAlias +
"Trajectories");
89 produces<TrajTrackAssociationCollection>().setBranchAlias(theAlias +
"TrajToTrackMap");
93 seedToken = consumes<edm::View<TrajectorySeed> >(theSeedCollectionLabel);
100 LogTrace(
"Muon|RecoMuon|StandAloneMuonProducer")<<
"StandAloneMuonProducer destructor called"<<endl;
101 if (theService)
delete theService;
102 if (theTrackFinder)
delete theTrackFinder;
109 LogTrace(metname)<<endl<<endl<<endl;
110 LogTrace(metname)<<
"Stand Alone Muon Reconstruction Started"<<endl;
113 LogTrace(metname)<<
"Taking the seeds: "<<theSeedCollectionLabel.label()<<endl;
115 event.getByToken(seedToken,seeds);
118 theService->update(eventSetup);
121 LogTrace(metname)<<
"Track Reconstruction"<<endl;
122 theTrackFinder->reconstruct(seeds,event, eventSetup);
125 <<
"================================"
T getParameter(std::string const &) const
const std::string metname
virtual ~StandAloneMuonProducer()
destructor
StandAloneMuonProducer(const edm::ParameterSet &)
constructor with config
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
virtual void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
ParameterSet const & parameterSet(Provenance const &provenance)