CMS 3D CMS Logo

MuonSeedTrack.h
Go to the documentation of this file.
1 #ifndef Validation_RecoMuon_MuonSeedTrack_H
2 #define Validation_RecoMuon_MuonSeedTrack_H
3 
16 // system include files
17 #include <memory>
18 
19 // user include files
22 
25 
27 
29 
32 
34 
35 namespace reco {
36  class Track;
37 }
38 
39 class MuonServiceProxy;
40 class TrajectorySeed;
42 //
43 // class decleration
44 //
45 
47 public:
49  explicit MuonSeedTrack(const edm::ParameterSet&);
50 
52  ~MuonSeedTrack() override;
53 
54 private:
56  void beginJob() override;
57 
59  void produce(edm::Event&, const edm::EventSetup&) override;
60 
62  void endJob() override;
63 
65  TrajectoryStateOnSurface getSeedTSOS(const TrajectorySeed& seed) const;
66 
69  alias.erase(alias.size() - 1, alias.size());
70  theAlias = alias;
71  }
72 
74  double computeNDOF(const TrajectorySeed&) const;
75 
77  std::pair<bool, reco::Track> buildTrackAtPCA(const TrajectorySeed&) const;
78 
79  // ----------member data ---------------------------
80 
83 
86 
89 
91  //std::string theSeedPropagatorName;
92 
96 
99 };
100 
101 #endif
std::string theAlias
the Branch alias
Definition: MuonSeedTrack.h:88
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition: MuonSeedTrack.h:82
void beginJob()
Definition: Breakpoints.cc:14
edm::EDGetTokenT< TrajectorySeedCollection > theSeedsToken
Definition: MuonSeedTrack.h:95
MuonUpdatorAtVertex * theUpdatorAtVtx
the class used for updating a Trajectory State at veretex
Definition: MuonSeedTrack.h:85
bool theAllowNoVtxFlag
Definition: MuonSeedTrack.h:98
fixed size matrix
edm::InputTag theSeedsLabel
the propagator used for extracting TSOS from seed
Definition: MuonSeedTrack.h:94
void setAlias(std::string alias)
set the Branch alias
Definition: MuonSeedTrack.h:68