CMS 3D CMS Logo

StandAloneMuonProducer.h
Go to the documentation of this file.
1 #ifndef RecoMuon_StandAloneMuonProducer_StandAloneMuonProducer_H
2 #define RecoMuon_StandAloneMuonProducer_StandAloneMuonProducer_H
3 
19 #include <memory>
20 
21 namespace edm {
22  class ParameterSet;
23  class Event;
24  class EventSetup;
25 } // namespace edm
26 
27 class MuonTrackFinder;
28 class MuonServiceProxy;
29 
31 public:
34 
36  ~StandAloneMuonProducer() override;
37 
39  void produce(edm::Event&, const edm::EventSetup&) override;
40 
41 private:
44 
46  std::unique_ptr<MuonTrackFinder> theTrackFinder; //It isn't the same as in ORCA
47 
49  std::unique_ptr<MuonServiceProxy> theService;
50 
52 
54 
56  alias.erase(alias.size() - 1, alias.size());
57  theAlias = alias;
58  }
59 };
60 
61 #endif
edm::InputTag theSeedCollectionLabel
MuonSeed Collection Label.
std::unique_ptr< MuonTrackFinder > theTrackFinder
the track finder
~StandAloneMuonProducer() override
destructor
StandAloneMuonProducer(const edm::ParameterSet &)
constructor with config
void setAlias(std::string alias)
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
HLT enums.
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedToken