ATLAS Offline Software
TileCalorimeter
TileIdentifier
src
TileRawChannelUnit.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
/*
5
*/
6
7
8
#include "
TileIdentifier/TileRawChannelUnit.h
"
9
10
14
std::string
TileRawChannelUnit::unitToString
(
UNIT
unit
)
15
{
16
switch
(
unit
) {
17
#define CASE(X) case TileRawChannelUnit::X: return #X
18
CASE
(
ADCcounts
);
19
CASE
(
PicoCoulombs
);
20
CASE
(
CesiumPicoCoulombs
);
21
CASE
(
MegaElectronVolts
);
22
CASE
(
OnlineADCcounts
);
23
CASE
(
OnlinePicoCoulombs
);
24
CASE
(
OnlineCesiumPicoCoulombs
);
25
CASE
(
OnlineMegaElectronVolts
);
26
#undef CASE
27
default
:
break
;
28
};
29
return
"UNKNOWN"
;
30
}
TileRawChannelUnit::CesiumPicoCoulombs
@ CesiumPicoCoulombs
Definition:
TileRawChannelUnit.h:19
TileRawChannelUnit::OnlineADCcounts
@ OnlineADCcounts
Definition:
TileRawChannelUnit.h:21
TileRawChannelUnit::PicoCoulombs
@ PicoCoulombs
Definition:
TileRawChannelUnit.h:18
TileRawChannelUnit::OnlinePicoCoulombs
@ OnlinePicoCoulombs
Definition:
TileRawChannelUnit.h:22
TileRawChannelUnit::OnlineCesiumPicoCoulombs
@ OnlineCesiumPicoCoulombs
Definition:
TileRawChannelUnit.h:23
TileRawChannelUnit::MegaElectronVolts
@ MegaElectronVolts
Definition:
TileRawChannelUnit.h:20
TileRawChannelUnit::UNIT
UNIT
Definition:
TileRawChannelUnit.h:16
TileRawChannelUnit.h
CASE
#define CASE(X)
TileRawChannelUnit::unitToString
static std::string unitToString(UNIT type)
Printable representation of a unit.
Definition:
TileRawChannelUnit.cxx:14
unit
const PlainObject unit() const
This is a plugin that makes Eigen look like CLHEP & defines some convenience methods.
Definition:
AmgMatrixBasePlugin.h:21
TileRawChannelUnit::ADCcounts
@ ADCcounts
Definition:
TileRawChannelUnit.h:17
TileRawChannelUnit::OnlineMegaElectronVolts
@ OnlineMegaElectronVolts
Definition:
TileRawChannelUnit.h:24
Generated on Sun Dec 22 2024 21:19:58 for ATLAS Offline Software by
1.8.18