DAS  3.0
Das Analysis System
Variation.h File Reference
#include <iostream>
#include <memory>
#include <string>
#include <Weight.h>
+ Include dependency graph for Variation.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Variation
 

Namespaces

 Darwin
 
 Darwin::Physics
 

Enumerations

enum  VarType {
  single = 0b0000, symmetric = 0b0001, replicas = 0b0010, bits = 0b0100,
  single = 0b0000, symmetric = 0b0001, replicas = 0b0010, bits = 0b0100
}
 

Functions

const Variation nominal ("", "nominal")
 
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