Orientation.hh
Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include <string>
7 
8 #include "boca/generic/Flag.hh"
9 
10 namespace boca
11 {
12 
20 enum class Orientation
21 {
22  none = 0,
23  center = 1 << 0,
24  left = 1 << 1,
25  right = 1 << 2,
26  top = 1 << 3,
27  bottom = 1 << 4,
28  outside = 1 << 5
29 // inside = 1 << 6,
30 };
31 
32 template<>
33 struct Flag<Orientation> {
34  static const bool enable = true;
35 };
36 
37 std::string Name(Orientation orientation);
38 
39 }
Mark a strongly typed enumerator as a flag.
Definition: Flag.hh:22
Bottom Quark.
Boosted Collider Analysis.
Definition: Analysis.hh:15
Top Quark.
Orientation
Orientation of the Legend.
Definition: Orientation.hh:20
std::string Name(Output output)
Definition: Base.cpp:23