CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
HGCal_helpers::Coordinates Class Reference

Public Member Functions

 Coordinates ()
 
math::XYZTLorentzVectorD toVector ()
 

Public Attributes

float eta
 
float phi
 
float x
 
float y
 
float z
 

Detailed Description

Definition at line 27 of file HGCalTriggerNtupleGen.cc.

Constructor & Destructor Documentation

◆ Coordinates()

HGCal_helpers::Coordinates::Coordinates ( )
inline

Definition at line 29 of file HGCalTriggerNtupleGen.cc.

29 : x(0), y(0), z(0), eta(0), phi(0) {}

Member Function Documentation

◆ toVector()

math::XYZTLorentzVectorD HGCal_helpers::Coordinates::toVector ( )
inline

Definition at line 31 of file HGCalTriggerNtupleGen.cc.

31 { return math::XYZTLorentzVectorD(x, y, z, 0); }

References x, y, and z.

Referenced by HGCalTriggerNtupleGen::fill().

Member Data Documentation

◆ eta

float HGCal_helpers::Coordinates::eta

◆ phi

float HGCal_helpers::Coordinates::phi

◆ x

float HGCal_helpers::Coordinates::x

◆ y

float HGCal_helpers::Coordinates::y

◆ z

float HGCal_helpers::Coordinates::z
math::XYZTLorentzVectorD
ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< double > > XYZTLorentzVectorD
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:14
HGCal_helpers::Coordinates::phi
float phi
Definition: HGCalTriggerNtupleGen.cc:30
HGCal_helpers::Coordinates::x
float x
Definition: HGCalTriggerNtupleGen.cc:30
HGCal_helpers::Coordinates::eta
float eta
Definition: HGCalTriggerNtupleGen.cc:30
HGCal_helpers::Coordinates::y
float y
Definition: HGCalTriggerNtupleGen.cc:30
HGCal_helpers::Coordinates::z
float z
Definition: HGCalTriggerNtupleGen.cc:30