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

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(), and funct::sin().

Referenced by MultiTrackValidator::analyze(), NewMuonTrackValidator::analyze(), MuonTrackValidator::analyze(), 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 
14  }
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
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 17 of file TrackingParticleIP.h.

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

17  {
18  return vertex.z()-point.z() - ( (vertex.x()-point.x())*momentum.x() +
19  (vertex.y()-point.y())*momentum.y() ) * momentum.z()/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