CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParticleBuilder.h
Go to the documentation of this file.
1 #ifndef RecoTauTag_ImpactParameter_ParticleBuilder_h
2 #define RecoTauTag_ImpactParameter_ParticleBuilder_h
3 
4 /* From SimpleFits Package
5  * Designed an written by
6  * author: Ian M. Nugent
7  * Humboldt Foundations
8  */
9 
12 #include "TString.h"
13 #include "TVector3.h"
22 
23 namespace tauImpactParameter {
24 
26  public:
28 
31 
32  static LorentzVectorParticle createLorentzVectorParticle(const reco::TransientTrack& transTrk, const reco::Vertex& V, bool fromPerigee, bool useTrackHelixPropagation);
33  static TrackParticle createTrackParticle(const reco::TransientTrack& transTrk, const GlobalPoint& p, bool fromPerigee=true, bool useTrackHelixPropogation=true);
35 
36  private:
37  static TVectorT<double> convertCMSSWTrackParToSFTrackPar(const TVectorT<double>& inpar);
38  static TVectorT<double> convertCMSSWTrackPerigeeToSFTrackPar(const TVectorT<double>& inpar);
39 };
40 
41 }
42 #endif
43 
44 
static LorentzVectorParticle createLorentzVectorParticle(const reco::TransientTrack &transTrk, const reco::Vertex &V, bool fromPerigee, bool useTrackHelixPropagation)
static TVectorT< double > convertCMSSWTrackPerigeeToSFTrackPar(const TVectorT< double > &inpar)
static TVectorT< double > convertCMSSWTrackParToSFTrackPar(const TVectorT< double > &inpar)
static reco::Vertex getVertex(const LorentzVectorParticle &p)
static TrackParticle createTrackParticle(const reco::TransientTrack &transTrk, const GlobalPoint &p, bool fromPerigee=true, bool useTrackHelixPropogation=true)