46 LogTrace(
"L3MuonProducer") <<
"constructor called" << endl;
68 theL2SeededTkLabel = trackLoaderParameters.getUntrackedParameter<
std::string>(
"MuonSeededTracksInstance",
std::string());
70 produces<reco::TrackCollection>(theL2SeededTkLabel);
71 produces<TrackingRecHitCollection>(theL2SeededTkLabel);
72 produces<reco::TrackExtraCollection>(theL2SeededTkLabel);
73 produces<vector<Trajectory> >(theL2SeededTkLabel) ;
74 produces<TrajTrackAssociationCollection>(theL2SeededTkLabel);
76 produces<reco::TrackCollection>();
77 produces<TrackingRecHitCollection>();
78 produces<reco::TrackExtraCollection>();
79 produces<vector<Trajectory> >() ;
80 produces<TrajTrackAssociationCollection>();
82 produces<reco::MuonTrackLinksCollection>();
92 LogTrace(
"L3MuonProducer") <<
"destructor called" << endl;
93 if (theService)
delete theService;
94 if (theTrackFinder)
delete theTrackFinder;
103 const string metname =
"Muon|RecoMuon|L3MuonProducer";
104 LogTrace(metname)<<endl<<endl<<endl;
105 LogTrace(metname)<<
"L3 Muon Reconstruction started"<<endl;
107 typedef vector<Trajectory> TrajColl;
110 theService->update(eventSetup);
113 LogTrace(metname)<<
"Taking the L2 Muons "<<theL2CollectionLabel<<endl;
116 event.getByLabel(theL2CollectionLabel,L2Muons);
119 vector<MuonTrajectoryBuilder::TrackCand> L2TrackCands;
122 event.getByLabel(theL2CollectionLabel.label(), L2MuonsTraj);
125 event.getByLabel(theL2CollectionLabel.label(),L2AssoMap);
128 event.getByLabel(theL2CollectionLabel.label(),updatedL2AssoMap);
136 if ( theL2CollectionLabel.instance() ==
"UpdatedAtVtx") {
137 iEnd = updatedL2AssoMap->end();
138 iii = updatedL2AssoMap->find(it->val);
139 if (iii != iEnd ) tkUpdated = (*updatedL2AssoMap)[it->val] ;
145 if( traj->isValid() ) L2Cand.first = &*traj ;
146 L2TrackCands.push_back(L2Cand);
149 theTrackFinder->reconstruct(L2TrackCands, event);
152 <<
"================================"
T getParameter(std::string const &) const
std::pair< const Trajectory *, reco::TrackRef > TrackCand
const std::string metname
virtual ~L3MuonProducer()
destructor
bool isNonnull() const
Checks for non-null.
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
L3MuonProducer(const edm::ParameterSet &)
constructor with config
key_type key() const
Accessor for product key.
virtual void produce(edm::Event &, const edm::EventSetup &)
reconstruct muons