ATLAS Offline Software
PhysicsAnalysis
D3PDMaker
EventCommonD3PDMaker
src
EventFlagNames.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3
/*
4
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
5
*/
6
15
#ifndef EVENTCOMMOND3PPDMAKER_EVENTFLAGNAMES_H
16
#define EVENTCOMMOND3PPDMAKER_EVENTFLAGNAMES_H
17
18
19
#include "
xAODEventInfo/EventInfo.h
"
20
21
namespace
D3PD
{
22
23
24
struct
EventFlagNames
25
{
26
xAOD::EventInfo::EventFlagSubDet
m_flag
;
27
const
char
*
m_name
;
28
};
29
30
31
static
const
EventFlagNames
eventFlagNames[] = {
32
{
xAOD::EventInfo::Pixel
,
"pixel"
},
33
{
xAOD::EventInfo::SCT
,
"sct"
},
34
{
xAOD::EventInfo::TRT
,
"trt"
},
35
{
xAOD::EventInfo::LAr
,
"lar"
},
36
{
xAOD::EventInfo::Tile
,
"tile"
},
37
{
xAOD::EventInfo::Muon
,
"muon"
},
38
{
xAOD::EventInfo::ForwardDet
,
"fwd"
},
39
{
xAOD::EventInfo::Core
,
"core"
},
40
};
41
42
static
constexpr
size_t
nEventFlagNames =
43
sizeof
(eventFlagNames) /
sizeof
(eventFlagNames[0]);
44
45
46
}
// namespace D3PD
47
48
49
#endif // not EVENTCOMMOND3PDMAKER_EVENTFLAGNAMES_H
D3PD::EventFlagNames
Definition:
EventFlagNames.h:25
xAOD::EventInfo_v1::Pixel
@ Pixel
The pixel tracker.
Definition:
EventInfo_v1.h:332
D3PD::EventFlagNames::m_name
const char * m_name
Definition:
EventFlagNames.h:27
D3PD::EventFlagNames::m_flag
xAOD::EventInfo::EventFlagSubDet m_flag
Definition:
EventFlagNames.h:26
xAOD::EventInfo_v1::LAr
@ LAr
The LAr calorimeter.
Definition:
EventInfo_v1.h:335
D3PD
Block filler tool for noisy FEB information.
Definition:
CaloCellDetailsFillerTool.cxx:29
xAOD::EventInfo_v1::ForwardDet
@ ForwardDet
The forward detectors.
Definition:
EventInfo_v1.h:338
xAOD::EventInfo_v1::Muon
@ Muon
The muon spectrometer.
Definition:
EventInfo_v1.h:337
xAOD::EventInfo_v1::EventFlagSubDet
EventFlagSubDet
Sub-detector types for which we store event-level flags.
Definition:
EventInfo_v1.h:331
xAOD::EventInfo_v1::TRT
@ TRT
The TRT.
Definition:
EventInfo_v1.h:334
EventInfo.h
xAOD::EventInfo_v1::Tile
@ Tile
The Tile calorimeter.
Definition:
EventInfo_v1.h:336
xAOD::EventInfo_v1::Core
@ Core
Core flags describing the event.
Definition:
EventInfo_v1.h:339
xAOD::EventInfo_v1::SCT
@ SCT
The SCT.
Definition:
EventInfo_v1.h:333
Generated on Thu Nov 7 2024 21:14:55 for ATLAS Offline Software by
1.8.18