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 
33 namespace reco {class Track;}
34 
35 class MuonServiceProxy;
36 class TrajectorySeed;
38 
39 //
40 // class decleration
41 //
42 
44  public:
46  explicit MuonSeedTrack(const edm::ParameterSet&);
47 
50 
51  private:
53  virtual void beginJob() ;
54 
56  virtual void produce(edm::Event&, const edm::EventSetup&);
57 
59  virtual void endJob() ;
60 
63 
65  void setAlias( std::string alias ){
66  alias.erase( alias.size() - 1, alias.size() );
67  theAlias=alias;
68  }
69 
71  double computeNDOF(const TrajectorySeed&) const;
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
std::string theAlias
the Branch alias
Definition: MuonSeedTrack.h:85
virtual void beginJob()
pre-job booking
MuonServiceProxy * theService
the event setup proxy, it takes care the services update
Definition: MuonSeedTrack.h:79
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: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
MuonSeedTrack(const edm::ParameterSet &)
constructor with config
void setAlias(std::string alias)
set the Branch alias
Definition: MuonSeedTrack.h:65
virtual void endJob()
post-job
virtual void produce(edm::Event &, const edm::EventSetup &)
construct proto-tracks