DAS  3.0
Das Analysis System
Variation.cc File Reference
#include "Variation.h"
#include <strnatcmp.h>
+ Include dependency graph for Variation.cc:

Namespaces

 Darwin
 
 Darwin::Physics
 

Functions

std::strong_ordering operator<=> (const Variation &lhs, const Variation &rhs)
 
std::ostream & operator<< (std::ostream &s, const Darwin::Physics::Variation &v)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
const Darwin::Physics::Variation v 
)
21 {
22  using namespace Darwin::Physics;
23  // if (v == nominal) return s << v.Name(); // TODO
24  return s << v.Group() << '[' << v.Index() << "]=" << v.Name() << '(' << v.Bit() << ')';
25 }
Darwin::Physics::Variation::Index
size_t Index() const
Definition: Variation.h:68
Darwin::Physics::Variation::Group
std::string_view Group() const
Definition: Variation.h:66
Darwin::Physics::Variation::Bit
int Bit() const
Definition: Variation.h:69
Darwin::Physics
Everything what concerns physics analysis directly.
Definition: darwin.h:24
Darwin::Physics::Variation::Name
std::string_view Name() const
Definition: Variation.h:67