ATLAS Offline Software
VertexCommonFlags.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
7 // //
8 // Various flags - put here to avoid the need to include //
9 // other header files just for the flags //
10 // //
11 // Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
12 // Initial version: August 2008 //
13 // //
15 
16 #ifndef VERTEXCOMMONFLAGS_H
17 #define VERTEXCOMMONFLAGS_H
18 
19 #include <QFlags>
20 #include <QString>
21 
23 public:
24 
26  RVT_Primary = 0x01,
27  RVT_Secondary = 0x02,
28  RVT_V0 = 0x04,
30  RVT_Kink = 0x10,
31  RVT_Pileup = 0x20,
32  RVT_Other = 0x40,
33  RVT_Any = 0x7F
34  };
35  Q_DECLARE_FLAGS(ReconVertexTypeFlags, ReconVertexTypeFlag)
36 
38  static QString toString(const QUANTITY&);
39 
40 private:
43 };
44 
45 Q_DECLARE_OPERATORS_FOR_FLAGS(VertexCommonFlags::ReconVertexTypeFlags)
46 
47 #endif
VertexCommonFlags::MOMENTUM
@ MOMENTUM
Definition: VertexCommonFlags.h:37
VertexCommonFlags::RVT_Primary
@ RVT_Primary
Definition: VertexCommonFlags.h:26
VertexCommonFlags::ENERGY
@ ENERGY
Definition: VertexCommonFlags.h:37
VertexCommonFlags::RVT_Kink
@ RVT_Kink
Definition: VertexCommonFlags.h:30
VertexCommonFlags::RVT_Other
@ RVT_Other
Definition: VertexCommonFlags.h:32
VertexCommonFlags::toString
static QString toString(const QUANTITY &)
Definition: VertexCommonFlags.cxx:18
VertexCommonFlags::RVT_Secondary
@ RVT_Secondary
Definition: VertexCommonFlags.h:27
VertexCommonFlags::RVT_V0
@ RVT_V0
Definition: VertexCommonFlags.h:28
VertexCommonFlags
Definition: VertexCommonFlags.h:22
VertexCommonFlags::MASS
@ MASS
Definition: VertexCommonFlags.h:37
VertexCommonFlags::RVT_Conversion
@ RVT_Conversion
Definition: VertexCommonFlags.h:29
VertexCommonFlags::RVT_Any
@ RVT_Any
Definition: VertexCommonFlags.h:33
VertexCommonFlags::TRANSVERSE_MOM
@ TRANSVERSE_MOM
Definition: VertexCommonFlags.h:37
VertexCommonFlags::QUANTITY
QUANTITY
Definition: VertexCommonFlags.h:37
VertexCommonFlags::ReconVertexTypeFlag
ReconVertexTypeFlag
Definition: VertexCommonFlags.h:25
VertexCommonFlags::RVT_Pileup
@ RVT_Pileup
Definition: VertexCommonFlags.h:31
VertexCommonFlags::VertexCommonFlags
VertexCommonFlags()
VertexCommonFlags::~VertexCommonFlags
~VertexCommonFlags()