RDFAnalysis  0.1.1
Physics analysis with ROOT::RDataFrame
WeightStrategy.h File Reference

File containing the WeightStrategy enum class. More...

#include <type_traits>

Go to the source code of this file.

Namespaces

 RDFAnalysis
 

Enumerations

enum  WeightStrategy { Null = 0, Multiplicative = 1 << 0, MCOnly = 1 << 1, Default = Multiplicative | MCOnly }
 enum class to describe how weights are applied. More...
 

Functions

WeightStrategy operator| (WeightStrategy lhs, WeightStrategy rhs)
 Bitwise OR of two strategies. More...
 
WeightStrategy & operator|= (WeightStrategy &lhs, WeightStrategy rhs)
 Switch on the bits of lhs that are in rhs. More...
 
WeightStrategy operator& (WeightStrategy lhs, WeightStrategy rhs)
 Bitwise AND of two strategies. More...
 
WeightStrategy & operator&= (WeightStrategy &lhs, WeightStrategy rhs)
 Switch off any bits of lhs not in rhs. More...
 
WeightStrategy operator^ (WeightStrategy lhs, WeightStrategy rhs)
 Bitwise XOR of two strategies. More...
 
WeightStrategy & operator^= (WeightStrategy &lhs, WeightStrategy rhs)
 Flip any bits of rhs that are in rhs. More...
 
WeightStrategy operator~ (WeightStrategy ws)
 Negate a value. More...
 
bool operator! (WeightStrategy ws)
 Contextually convert to a bool. More...
 

Detailed Description

File containing the WeightStrategy enum class.