ATLAS Offline Software
Loading...
Searching...
No Matches
graphics
VP1
VP1Systems
VP1VertexSystems
src
VertexCommonFlags.cxx
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
// Implementation of class VertexCommonFlags //
9
// //
10
// Author: Thomas H. Kittelmann (Thomas.Kittelmann@cern.ch) //
11
// Initial version: August 2008 //
12
// //
14
15
#include "
VP1VertexSystems/VertexCommonFlags.h
"
16
17
//____________________________________________________________________
18
QString
VertexCommonFlags::toString
(
const
QUANTITY
& q)
19
{
20
switch
(q) {
21
case
ENERGY
:
return
"ENERGY"
;
22
case
MOMENTUM
:
return
"MOMENTUM"
;
23
case
TRANSVERSE_MOM
:
return
"TRANSVERSE_MOM"
;
24
case
MASS
:
return
"MASS"
;
25
default
:
return
"Unknown (ERROR)"
;
26
}
27
}
VertexCommonFlags.h
VertexCommonFlags::toString
static QString toString(const QUANTITY &)
Definition
VertexCommonFlags.cxx:18
VertexCommonFlags::QUANTITY
QUANTITY
Definition
VertexCommonFlags.h:37
VertexCommonFlags::ENERGY
@ ENERGY
Definition
VertexCommonFlags.h:37
VertexCommonFlags::TRANSVERSE_MOM
@ TRANSVERSE_MOM
Definition
VertexCommonFlags.h:37
VertexCommonFlags::MASS
@ MASS
Definition
VertexCommonFlags.h:37
VertexCommonFlags::MOMENTUM
@ MOMENTUM
Definition
VertexCommonFlags.h:37
Generated on
for ATLAS Offline Software by
1.14.0