ATLAS Offline Software
Loading...
Searching...
No Matches
MissingETHandlers Namespace Reference

Classes

class  Weight

Typedefs

typedef std::tuple< float, float, float, unsigned short int > struct_t

Functions

static float precision ()
Weight operator* (const Weight &w1, const Weight &w2)
Weight operator* (const Weight &w, double scale)
Weight operator* (double scale, const Weight &w)
Weight operator/ (const Weight &w1, const Weight &w2)
Weight operator+ (const Weight &w1, const Weight &w2)
Weight operator- (const Weight &w1, const Weight &w2)

Typedef Documentation

◆ struct_t

typedef std::tuple<float,float,float,unsigned short int> MissingETHandlers::struct_t

Function Documentation

◆ operator*() [1/3]

Weight MissingETHandlers::operator* ( const Weight & w,
double scale )

◆ operator*() [2/3]

◆ operator*() [3/3]

Weight MissingETHandlers::operator* ( double scale,
const Weight & w )

Definition at line 24 of file Reconstruction/MissingETEvent/src/MissingETComposition.cxx.

25{
26 return Weight(scale*w.wpx(),scale*w.wpy(),scale*w.wet());
27}

◆ operator+()

Weight MissingETHandlers::operator+ ( const Weight & w1,
const Weight & w2 )

Definition at line 34 of file Reconstruction/MissingETEvent/src/MissingETComposition.cxx.

35{
36 return Weight(w1.wpx()+w2.wpx(),w1.wpy()+w2.wpy(),w1.wet()+w2.wet());
37}

◆ operator-()

Weight MissingETHandlers::operator- ( const Weight & w1,
const Weight & w2 )

Definition at line 39 of file Reconstruction/MissingETEvent/src/MissingETComposition.cxx.

40{
41 return Weight(w1.wpx()-w2.wpx(),w1.wpy()-w2.wpy(),w1.wet()-w2.wet());
42}

◆ operator/()

Weight MissingETHandlers::operator/ ( const Weight & w1,
const Weight & w2 )

Definition at line 29 of file Reconstruction/MissingETEvent/src/MissingETComposition.cxx.

30{
31 return Weight(w1.wpx()/w2.wpx(),w1.wpy()/w2.wpy(),w1.wet()/w2.wet());
32}

◆ precision()

float MissingETHandlers::precision ( )
static

Definition at line 183 of file Reconstruction/MissingETEvent/MissingETEvent/MissingETComposition.h.

183{ return 0.0001; }