CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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:
27  enum CMSSWPerigee { aCurv = 0, aTheta, aPhi, aTip, aLip };
28 
31 
33  const reco::Vertex& V,
34  bool fromPerigee,
35  bool useTrackHelixPropagation);
37  const GlobalPoint& p,
38  bool fromPerigee = true,
39  bool useTrackHelixPropogation = true);
41 
42  private:
43  static TVectorT<double> convertCMSSWTrackParToSFTrackPar(const TVectorT<double>& inpar);
44  static TVectorT<double> convertCMSSWTrackPerigeeToSFTrackPar(const TVectorT<double>& inpar);
45  };
46 
47 } // namespace tauImpactParameter
48 #endif
static LorentzVectorParticle createLorentzVectorParticle(const reco::TransientTrack &transTrk, const reco::Vertex &V, bool fromPerigee, bool useTrackHelixPropagation)
static TVectorT< double > convertCMSSWTrackPerigeeToSFTrackPar(const TVectorT< double > &inpar)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t V
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)