46 LogTrace(
"Muon|RecoMuon|StandAloneMuonProducer")<<
"constructor called"<<endl;
67 string typeOfBuilder = parameterSet.
getParameter<
string>(
"MuonTrajectoryBuilder");
68 if(typeOfBuilder ==
"StandAloneMuonTrajectoryBuilder")
70 else if(typeOfBuilder ==
"DirectMuonTrajectoryBuilder")
72 else if(typeOfBuilder ==
"Exhaustive")
75 LogWarning(
"Muon|RecoMuon|StandAloneMuonProducer") <<
"No Trajectory builder associated with "<<typeOfBuilder
76 <<
". Falling down to the default (StandAloneMuonTrajectoryBuilder)";
83 produces<reco::TrackCollection>().setBranchAlias(theAlias +
"Tracks");
84 produces<reco::TrackCollection>(
"UpdatedAtVtx").setBranchAlias(theAlias +
"UpdatedAtVtxTracks");
85 produces<TrackingRecHitCollection>().setBranchAlias(theAlias +
"RecHits");
86 produces<reco::TrackExtraCollection>().setBranchAlias(theAlias +
"TrackExtras");
87 produces<reco::TrackToTrackMap>().setBranchAlias(theAlias +
"TrackToTrackMap");
89 produces<std::vector<Trajectory> >().setBranchAlias(theAlias +
"Trajectories");
90 produces<TrajTrackAssociationCollection>().setBranchAlias(theAlias +
"TrajToTrackMap");
94 seedToken = consumes<edm::View<TrajectorySeed> >(theSeedCollectionLabel);
101 LogTrace(
"Muon|RecoMuon|StandAloneMuonProducer")<<
"StandAloneMuonProducer destructor called"<<endl;
102 if (theService)
delete theService;
103 if (theTrackFinder)
delete theTrackFinder;
110 LogTrace(metname)<<endl<<endl<<endl;
111 LogTrace(metname)<<
"Stand Alone Muon Reconstruction Started"<<endl;
114 LogTrace(metname)<<
"Taking the seeds: "<<theSeedCollectionLabel.label()<<endl;
116 event.getByToken(seedToken,seeds);
119 theService->update(eventSetup);
123 LogTrace(metname)<<
"Track Reconstruction"<<endl;
124 theTrackFinder->reconstruct(seeds,event);
127 <<
"================================"
T getParameter(std::string const &) const
virtual void produce(edm::Event &, const edm::EventSetup &)
reconstruct muons
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
ParameterSet const & parameterSet(Provenance const &provenance)