CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions
TrkMETMaker.cc File Reference
#include "DataFormats/ParticleFlowReco/interface/PFBlock.h"
#include "DataFormats/Math/interface/deltaR.h"
#include "DQM/PhysicsHWW/interface/TrkMETMaker.h"

Go to the source code of this file.

Typedefs

typedef math::XYZTLorentzVectorF LorentzVector
 
typedef math::XYZPoint Point
 

Functions

double TrkMETdzPV (const LorentzVector &vtx, const LorentzVector &p4, const LorentzVector &pv)
 

Typedef Documentation

Definition at line 5 of file TrkMETMaker.cc.

Definition at line 6 of file TrkMETMaker.cc.

Function Documentation

double TrkMETdzPV ( const LorentzVector vtx,
const LorentzVector p4,
const LorentzVector pv 
)

Definition at line 12 of file TrkMETMaker.cc.

Referenced by TrkMETMaker::SetVars().

12  {
13  return (vtx.z()-pv.z()) - ((vtx.x()-pv.x())*p4.x()+(vtx.y()-pv.y())*p4.y())/p4.pt() * p4.z()/p4.pt();
14 }
double p4[4]
Definition: TauolaWrapper.h:92