CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MuonSeedTrack.h
Go to the documentation of this file.
1 #ifndef Validation_RecoMuon_MuonSeedTrack_H
2 #define Validation_RecoMuon_MuonSeedTrack_H
3 
17 // system include files
18 #include <memory>
19 
20 // user include files
23 
26 
28 
30 
32 
34 
35 namespace reco {class Track;}
36 
37 class MuonServiceProxy;
38 class TrajectorySeed;
40 class DQMStore;
41 //
42 // class decleration
43 //
44 
46  public:
48  explicit MuonSeedTrack(const edm::ParameterSet&);
49 
52 
53  private:
55  virtual void beginJob() ;
56 
58  virtual void produce(edm::Event&, const edm::EventSetup&);
59 
61  virtual void endJob() ;
62 
65 
68  alias.erase( alias.size() - 1, alias.size() );
70  }
71 
73  double computeNDOF(const TrajectorySeed&) const;
74 
76  std::pair<bool,reco::Track> buildTrackAtPCA(const TrajectorySeed&) const;
77 
78  // ----------member data ---------------------------
79 
82 
85 
88 
90  //std::string theSeedPropagatorName;
91 
95 
98 };
99 
100 #endif
std::string theAlias
the Branch alias
Definition: MuonSeedTrack.h:87
virtual void beginJob()
pre-job booking
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition: MuonSeedTrack.h:81
double computeNDOF(const TrajectorySeed &) const
compute the TrajectorySeed&#39;s degree of freedom
~MuonSeedTrack()
destructor
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:94
MuonUpdatorAtVertex * theUpdatorAtVtx
the class used for updating a Trajectory State at veretex
Definition: MuonSeedTrack.h:84
TrajectoryStateOnSurface getSeedTSOS(const TrajectorySeed &seed) const
get the TrajectorySeed&#39;s TrajectoryStateOnSurface
bool theAllowNoVtxFlag
Definition: MuonSeedTrack.h:97
edm::InputTag theSeedsLabel
the propagator used for extracting TSOS from seed
Definition: MuonSeedTrack.h:93
MuonSeedTrack(const edm::ParameterSet &)
constructor with config
void setAlias(std::string alias)
set the Branch alias
Definition: MuonSeedTrack.h:67
virtual void endJob()
post-job
virtual void produce(edm::Event &, const edm::EventSetup &)
construct proto-tracks