CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
66 
69  alias.erase(alias.size() - 1, alias.size());
70  theAlias = alias;
71  }
72 
74  std::pair<bool, reco::Track> buildTrackAtPCA(const TrajectorySeed&) const;
75 
76  // ----------member data ---------------------------
77 
80 
83 
86 
88  //std::string theSeedPropagatorName;
89 
93 
96 };
97 
98 #endif
~MuonSeedTrack() override
destructor
std::string theAlias
the Branch alias
Definition: MuonSeedTrack.h:85
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition: MuonSeedTrack.h:79
std::pair< bool, reco::Track > buildTrackAtPCA(const TrajectorySeed &) const
Build a track at the PCA WITHOUT any vertex constriant.
edm::EDGetTokenT< TrajectorySeedCollection > theSeedsToken
Definition: MuonSeedTrack.h:92
MuonUpdatorAtVertex * theUpdatorAtVtx
the class used for updating a Trajectory State at veretex
Definition: MuonSeedTrack.h:82
TrajectoryStateOnSurface getSeedTSOS(const TrajectorySeed &seed) const
get the TrajectorySeed&#39;s TrajectoryStateOnSurface
bool theAllowNoVtxFlag
Definition: MuonSeedTrack.h:95
edm::InputTag theSeedsLabel
the propagator used for extracting TSOS from seed
Definition: MuonSeedTrack.h:91
void endJob() override
post-job
MuonSeedTrack(const edm::ParameterSet &)
constructor with config
void produce(edm::Event &, const edm::EventSetup &) override
construct proto-tracks
void setAlias(std::string alias)
set the Branch alias
Definition: MuonSeedTrack.h:68
void beginJob() override
pre-job booking