48 LogTrace(
"Muon|RecoMuon|L2MuonProducer")<<
"constructor called"<<endl;
55 seedsToken = consumes<edm::View<TrajectorySeed> >(theSeedCollectionLabel);
69 string typeOfBuilder = parameterSet.
existsAs<
string>(
"MuonTrajectoryBuilder") ?
70 parameterSet.
getParameter<
string>(
"MuonTrajectoryBuilder") :
"StandAloneMuonTrajectoryBuilder";
71 if(typeOfBuilder ==
"StandAloneMuonTrajectoryBuilder" || typeOfBuilder ==
"")
73 else if(typeOfBuilder ==
"Exhaustive")
76 LogWarning(
"Muon|RecoMuon|StandAloneMuonProducer") <<
"No Trajectory builder associated with "<<typeOfBuilder
77 <<
". Falling down to the default (StandAloneMuonTrajectoryBuilder)";
84 produces<reco::TrackCollection>();
85 produces<reco::TrackCollection>(
"UpdatedAtVtx");
86 produces<TrackingRecHitCollection>();
87 produces<reco::TrackExtraCollection>();
88 produces<reco::TrackToTrackMap>();
90 produces<std::vector<Trajectory> >();
91 produces<TrajTrackAssociationCollection>();
93 produces<edm::AssociationMap<edm::OneToMany<std::vector<L2MuonTrajectorySeed>, std::vector<L2MuonTrajectorySeed> > > >();
98 LogTrace(
"Muon|RecoMuon|L2eMuonProducer")<<
"L2MuonProducer destructor called"<<endl;
100 delete theTrackFinder;
109 LogTrace(metname)<<endl<<endl<<endl;
110 LogTrace(metname)<<
"L2 Muon Reconstruction Started"<<endl;
113 LogTrace(metname)<<
"Taking the seeds: "<<theSeedCollectionLabel.label()<<endl;
115 event.getByToken(seedsToken,seeds);
118 theService->update(eventSetup);
121 LogTrace(metname)<<
"Track Reconstruction"<<endl;
122 theTrackFinder->reconstruct(seeds,event);
125 <<
"================================"
T getParameter(std::string const &) const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
const std::string metname
virtual void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
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
L2MuonProducer(const edm::ParameterSet &)
constructor with config
virtual ~L2MuonProducer()
destructor
ParameterSet const & parameterSet(Provenance const &provenance)