DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Public Member Functions | Public Attributes | List of all members

Small object describing a limit structure acting on a particle type. More...

#include <Objects.h>

Public Member Functions

 Limit ()=default
 Default constructor. More...
 
 Limit (const Limit &c)=default
 Copy constructor. More...
 
Limitoperator= (const Limit &c)=default
 Assignment operator. More...
 
bool operator== (const Limit &c) const
 Equality operator. More...
 
bool operator< (const Limit &c) const
 operator less More...
 
std::string toString () const
 Conversion to a string representation. More...
 

Public Attributes

std::string particles
 Particle the limit should be applied to. More...
 
std::string name
 Limit name. More...
 
std::string unit
 Units. More...
 
std::string content
 Content. More...
 
double value = 0.0
 Double value. More...
 

Detailed Description

Small object describing a limit structure acting on a particle type.

Author
M.Frank
Version
1.0

Definition at line 389 of file Objects.h.

Constructor & Destructor Documentation

◆ Limit() [1/2]

dd4hep::Limit::Limit ( )
default

Default constructor.

◆ Limit() [2/2]

dd4hep::Limit::Limit ( const Limit c)
default

Copy constructor.

Member Function Documentation

◆ operator<()

bool Limit::operator< ( const Limit c) const

operator less

Definition at line 433 of file Objects.cpp.

◆ operator=()

Limit& dd4hep::Limit::operator= ( const Limit c)
default

Assignment operator.

◆ operator==()

bool Limit::operator== ( const Limit c) const

Equality operator.

Definition at line 428 of file Objects.cpp.

◆ toString()

std::string Limit::toString ( ) const

Conversion to a string representation.

Definition at line 444 of file Objects.cpp.

Member Data Documentation

◆ content

std::string dd4hep::Limit::content

Content.

Definition at line 398 of file Objects.h.

◆ name

std::string dd4hep::Limit::name

Limit name.

Definition at line 394 of file Objects.h.

◆ particles

std::string dd4hep::Limit::particles

Particle the limit should be applied to.

Definition at line 392 of file Objects.h.

◆ unit

std::string dd4hep::Limit::unit

Units.

Definition at line 396 of file Objects.h.

◆ value

double dd4hep::Limit::value = 0.0

Double value.

Definition at line 400 of file Objects.h.


The documentation for this class was generated from the following files: