CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
GlobalMuonProducer.h
Go to the documentation of this file.
1 #ifndef RecoMuon_GlobalMuonProducer_GlobalMuonProducer_H
2 #define RecoMuon_GlobalMuonProducer_GlobalMuonProducer_H
3 
17 
18 // Input and output collection
21 
26 
27 namespace edm {
28  class ParameterSet;
29  class Event;
30  class EventSetup;
31 } // namespace edm
32 
33 class MuonTrackFinder;
34 class MuonServiceProxy;
35 
37 public:
40 
42  ~GlobalMuonProducer() override;
43 
45  void produce(edm::Event&, const edm::EventSetup&) override;
46 
47 private:
54 
55  std::unique_ptr<MuonTrackFinder> theTrackFinder;
56 
59 
61 
63  alias.erase(alias.size() - 1, alias.size());
64  theAlias = alias;
65  }
66 };
67 
68 #endif
edm::EDGetTokenT< TrajTrackAssociationCollection > staAssoMapToken
edm::EDGetTokenT< reco::TrackToTrackMap > updatedStaAssoMapToken
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
edm::EDGetTokenT< reco::TrackCollection > staMuonsToken
STA Tokens.
~GlobalMuonProducer() override
destructor
GlobalMuonProducer(const edm::ParameterSet &)
constructor with config
std::unique_ptr< MuonTrackFinder > theTrackFinder
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
void setAlias(std::string alias)
edm::EDGetTokenT< std::vector< Trajectory > > staMuonsTrajToken
edm::InputTag theSTACollectionLabel