CMS 3D CMS Logo

TevMuonProducer.h
Go to the documentation of this file.
1 #ifndef RecoMuon_GlobalMuonProducer_TevMuonProducer_H
2 #define RecoMuon_GlobalMuonProducer_TevMuonProducer_H
3 
20 
23 // Input and output collection
24 
32 
34 
35 class MuonTrackFinder;
36 class MuonServiceProxy;
37 class TrackerTopologyRcd;
38 
40 public:
43 
45  ~TevMuonProducer() override;
46 
48  void produce(edm::Event&, const edm::EventSetup&) override;
49 
50 private:
56 
58  std::unique_ptr<MuonServiceProxy> theService;
59 
60  std::unique_ptr<GlobalMuonRefitter> theRefitter;
61 
62  std::unique_ptr<MuonTrackLoader> theTrackLoader;
63 
65  std::vector<std::string> theRefits;
66  std::vector<int> theRefitIndex;
67 
69  alias.erase(alias.size() - 1, alias.size());
70  theAlias = alias;
71  }
72 };
73 
74 #endif
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
edm::ValueMap< reco::DYTInfo > DYTestimators
std::vector< int > theRefitIndex
edm::EDGetTokenT< std::vector< Trajectory > > glbMuonsTrajToken
void setAlias(std::string alias)
const edm::ESGetToken< TrackerTopology, TrackerTopologyRcd > tTopoToken
TevMuonProducer(const edm::ParameterSet &)
constructor with config
edm::InputTag theGLBCollectionLabel
STA Label.
~TevMuonProducer() override
destructor
std::vector< std::string > theRefits
std::string theAlias
std::unique_ptr< MuonTrackLoader > theTrackLoader
std::unique_ptr< GlobalMuonRefitter > theRefitter
edm::EDGetTokenT< reco::TrackCollection > glbMuonsToken