CMS 3D CMS Logo

Functions
TrackingParticleIP Namespace Reference

Functions

template<typename T_Vertex , typename T_Momentum , typename T_Point >
auto dxy (const T_Vertex &vertex, const T_Momentum &momentum, const T_Point &point)
 
template<typename T_Vertex , typename T_Momentum , typename T_Point >
auto dz (const T_Vertex &vertex, const T_Momentum &momentum, const T_Point &point)
 

Function Documentation

◆ dxy()

template<typename T_Vertex , typename T_Momentum , typename T_Point >
auto TrackingParticleIP::dxy ( const T_Vertex &  vertex,
const T_Momentum &  momentum,
const T_Point &  point 
)
inline

Definition at line 11 of file TrackingParticleIP.h.

References funct::cos(), point, funct::sin(), and bphysicsOniaDQM_cfi::vertex.

Referenced by MuonTrackValidator::analyze(), MultiTrackValidator::dqmAnalyze(), MTVHistoProducerAlgoForTracker::fill_ResoAndPull_recoTrack_histos(), and TrackingNtuple::fillTrackingParticles().

11  {
12  return -(vertex.x() - point.x()) * std::sin(momentum.phi()) + (vertex.y() - point.y()) * std::cos(momentum.phi());
13  }
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5

◆ dz()

template<typename T_Vertex , typename T_Momentum , typename T_Point >
auto TrackingParticleIP::dz ( const T_Vertex &  vertex,
const T_Momentum &  momentum,
const T_Point &  point 
)
inline

Definition at line 16 of file TrackingParticleIP.h.

References point, and bphysicsOniaDQM_cfi::vertex.

Referenced by MuonTrackValidator::analyze(), MultiTrackValidator::dqmAnalyze(), MTVHistoProducerAlgoForTracker::fill_ResoAndPull_recoTrack_histos(), and TrackingNtuple::fillTrackingParticles().

16  {
17  return vertex.z() - point.z() -
18  ((vertex.x() - point.x()) * momentum.x() + (vertex.y() - point.y()) * momentum.y()) * momentum.z() /
19  momentum.perp2();
20  }
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5