ATLAS Offline Software
Public Member Functions | List of all members
JetMoment::MomentData Class Reference

#include <JetMoment.h>

Inheritance diagram for JetMoment::MomentData:
Collaboration diagram for JetMoment::MomentData:

Public Member Functions

 MomentData ()
 
 MomentData (float_t moment, tag_t tag)
 
 ~MomentData ()=default
 
void setMoment (float_t moment)
 
void setTag (tag_t tag)
 
void setData (float_t moment, tag_t tag)
 
float_t moment () const
 
tag_t tag () const
 

Detailed Description

Definition at line 20 of file JetMoment.h.

Constructor & Destructor Documentation

◆ MomentData() [1/2]

JetMoment::MomentData::MomentData ( )
inline

Definition at line 24 of file JetMoment.h.

24  : database_t()
25  {
26  this->setMoment(0.);
27  this->setTag(false);
28  }

◆ MomentData() [2/2]

JetMoment::MomentData::MomentData ( float_t  moment,
tag_t  tag 
)
inline

Definition at line 29 of file JetMoment.h.

29  : database_t()
30  {
31  this->setMoment(moment);
32  this->setTag(tag);
33  }

◆ ~MomentData()

JetMoment::MomentData::~MomentData ( )
default

Member Function Documentation

◆ moment()

float_t JetMoment::MomentData::moment ( ) const
inline

Definition at line 42 of file JetMoment.h.

42 { return std::get<0>(*this); }

◆ setData()

void JetMoment::MomentData::setData ( float_t  moment,
tag_t  tag 
)
inline

Definition at line 39 of file JetMoment.h.

40  { std::get<0>(*this) = moment; std::get<1>(*this) = tag; }

◆ setMoment()

void JetMoment::MomentData::setMoment ( float_t  moment)
inline

Definition at line 37 of file JetMoment.h.

37 { std::get<0>(*this) = moment; }

◆ setTag()

void JetMoment::MomentData::setTag ( tag_t  tag)
inline

Definition at line 38 of file JetMoment.h.

38 { std::get<1>(*this) = tag; }

◆ tag()

tag_t JetMoment::MomentData::tag ( ) const
inline

Definition at line 43 of file JetMoment.h.

43 { return std::get<1>(*this); }

The documentation for this class was generated from the following file:
JetMoment::MomentData::setMoment
void setMoment(float_t moment)
Definition: JetMoment.h:37
JetMoment::database_t
std::tuple< float_t, tag_t > database_t
Definition: JetMoment.h:15
JetMoment::MomentData::tag
tag_t tag() const
Definition: JetMoment.h:43
JetMoment::MomentData::moment
float_t moment() const
Definition: JetMoment.h:42
JetMoment::MomentData::setTag
void setTag(tag_t tag)
Definition: JetMoment.h:38