CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
pat::MET::PackedMETUncertainty Class Reference

this below should be private but Reflex doesn't like it More...

#include <MET.h>

Public Member Functions

void add (float dpx, float dpy, float dsumEt)
 
double dpx () const
 
double dpy () const
 
double dsumEt () const
 
void pack ()
 
 PackedMETUncertainty ()
 
 PackedMETUncertainty (float dpx, float dpy, float dsumEt)
 
void set (float dpx, float dpy, float dsumEt)
 
void unpack () const
 

Protected Attributes

float dpx_
 
float dpy_
 
float dsumEt_
 
uint16_t packedDpx_
 
uint16_t packedDpy_
 
uint16_t packedDSumEt_
 
bool unpacked_
 

Detailed Description

this below should be private but Reflex doesn't like it

Definition at line 224 of file MET.h.

Constructor & Destructor Documentation

pat::MET::PackedMETUncertainty::PackedMETUncertainty ( )
inline

Definition at line 228 of file MET.h.

References pack(), and unpack().

pat::MET::PackedMETUncertainty::PackedMETUncertainty ( float  dpx,
float  dpy,
float  dsumEt 
)
inline

Definition at line 229 of file MET.h.

References pack(), and unpack().

Member Function Documentation

void pat::MET::PackedMETUncertainty::add ( float  dpx,
float  dpy,
float  dsumEt 
)
inline

Definition at line 234 of file MET.h.

References dpx(), dpx_, dpy(), dpy_, dsumEt(), and dsumEt_.

Referenced by pat::MET::findMETTotalShift(), and counter.Counter::register().

double pat::MET::PackedMETUncertainty::dpx ( ) const
inline

Definition at line 230 of file MET.h.

References dpx_, unpack(), and unpacked_.

Referenced by add(), set(), pat::MET::setUncShift(), pat::MET::shiftedP2(), pat::MET::shiftedP3(), and pat::MET::shiftedP4().

230 { if(!unpacked_) unpack(); return dpx_; }
void unpack() const
Definition: MET.cc:443
double pat::MET::PackedMETUncertainty::dpy ( ) const
inline

Definition at line 231 of file MET.h.

References dpy_, unpack(), and unpacked_.

Referenced by add(), set(), pat::MET::setUncShift(), pat::MET::shiftedP2(), pat::MET::shiftedP3(), and pat::MET::shiftedP4().

231 { if(!unpacked_) unpack(); return dpy_; }
void unpack() const
Definition: MET.cc:443
double pat::MET::PackedMETUncertainty::dsumEt ( ) const
inline

Definition at line 232 of file MET.h.

References dsumEt_, unpack(), and unpacked_.

Referenced by add(), set(), pat::MET::setUncShift(), and pat::MET::shiftedSumEt().

232 { if(!unpacked_) unpack(); return dsumEt_; }
void unpack() const
Definition: MET.cc:443
void MET::PackedMETUncertainty::pack ( )
void pat::MET::PackedMETUncertainty::set ( float  dpx,
float  dpy,
float  dsumEt 
)
inline
void MET::PackedMETUncertainty::unpack ( ) const

Member Data Documentation

float pat::MET::PackedMETUncertainty::dpx_
mutableprotected

Definition at line 239 of file MET.h.

Referenced by add(), dpx(), and set().

float pat::MET::PackedMETUncertainty::dpy_
mutableprotected

Definition at line 239 of file MET.h.

Referenced by add(), dpy(), and set().

float pat::MET::PackedMETUncertainty::dsumEt_
mutableprotected

Definition at line 239 of file MET.h.

Referenced by add(), dsumEt(), and set().

uint16_t pat::MET::PackedMETUncertainty::packedDpx_
protected

Definition at line 241 of file MET.h.

uint16_t pat::MET::PackedMETUncertainty::packedDpy_
protected

Definition at line 241 of file MET.h.

uint16_t pat::MET::PackedMETUncertainty::packedDSumEt_
protected

Definition at line 241 of file MET.h.

bool pat::MET::PackedMETUncertainty::unpacked_
mutableprotected

Definition at line 240 of file MET.h.

Referenced by dpx(), dpy(), and dsumEt().