ATLAS Offline Software
Public Types | Static Public Member Functions | List of all members
TileRawChannelUnit Class Reference

#include <TileRawChannelUnit.h>

Collaboration diagram for TileRawChannelUnit:

Public Types

enum  UNIT {
  ADCcounts = 0, PicoCoulombs = 1, CesiumPicoCoulombs = 2, MegaElectronVolts = 3,
  OnlineADCcounts = 4, OnlinePicoCoulombs = 5, OnlineCesiumPicoCoulombs = 6, OnlineMegaElectronVolts = 7,
  OnlineOffset = 4, Invalid = 99
}
 

Static Public Member Functions

static std::string unitToString (UNIT type)
 Printable representation of a unit. More...
 

Detailed Description

Definition at line 12 of file TileRawChannelUnit.h.

Member Enumeration Documentation

◆ UNIT

Enumerator
ADCcounts 
PicoCoulombs 
CesiumPicoCoulombs 
MegaElectronVolts 
OnlineADCcounts 
OnlinePicoCoulombs 
OnlineCesiumPicoCoulombs 
OnlineMegaElectronVolts 
OnlineOffset 
Invalid 

Definition at line 15 of file TileRawChannelUnit.h.

16  {
17  ADCcounts = 0,
18  PicoCoulombs = 1,
21  OnlineADCcounts = 4,
25  OnlineOffset = 4,
26  Invalid = 99
27  };

Member Function Documentation

◆ unitToString()

std::string TileRawChannelUnit::unitToString ( UNIT  type)
static

Printable representation of a unit.

Definition at line 14 of file TileRawChannelUnit.cxx.

15 {
16  switch (unit) {
17 #define CASE(X) case TileRawChannelUnit::X: return #X
18  CASE(ADCcounts);
26 #undef CASE
27  default: break;
28  };
29  return "UNKNOWN";
30 }

The documentation for this class was generated from the following files:
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::OnlineOffset
@ OnlineOffset
Definition: TileRawChannelUnit.h:25
TileRawChannelUnit::Invalid
@ Invalid
Definition: TileRawChannelUnit.h:26
TileRawChannelUnit::MegaElectronVolts
@ MegaElectronVolts
Definition: TileRawChannelUnit.h:20
CASE
#define CASE(X)
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