ATLAS Offline Software
Calorimeter
CaloEvent
src
CaloRecoStatus.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
CaloEvent/CaloRecoStatus.h
"
6
7
bool
CaloRecoStatus::getStatus
(std::vector<CaloRecoStatus::StatusIndicator>&
8
pStatusList)
const
9
{
10
const
size_t
oldSize = pStatusList.size();
11
for
(
const
auto
&
s
: {
TAGGEDEM
,
TAGGEDHAD
,
TAGGEDMUON
,
TAGGEDUNKNOWN
,
CALIBRATED
,
CALIBRATEDLHC
,
CALIBRATEDALT
,
UNKNOWNSTATUS
}) {
12
if
((
s
&
m_status
) ==
s
) pStatusList.push_back(
s
);
13
}
14
return
oldSize < pStatusList.size();
15
}
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
CaloRecoStatus::CALIBRATEDLHC
@ CALIBRATEDLHC
Definition:
CaloRecoStatus.h:43
CaloRecoStatus::TAGGEDUNKNOWN
@ TAGGEDUNKNOWN
Definition:
CaloRecoStatus.h:41
CaloRecoStatus::CALIBRATEDALT
@ CALIBRATEDALT
Definition:
CaloRecoStatus.h:44
CaloRecoStatus::TAGGEDMUON
@ TAGGEDMUON
Definition:
CaloRecoStatus.h:40
CaloRecoStatus::m_status
store_type m_status
Status store.
Definition:
CaloRecoStatus.h:88
CaloRecoStatus::getStatus
virtual bool getStatus(std::vector< CaloRecoStatus::StatusIndicator > &pStatusList) const
retrieve all status indicators
Definition:
CaloRecoStatus.cxx:7
CaloRecoStatus::CALIBRATED
@ CALIBRATED
Definition:
CaloRecoStatus.h:42
CaloRecoStatus.h
CaloRecoStatus::TAGGEDEM
@ TAGGEDEM
Definition:
CaloRecoStatus.h:38
CaloRecoStatus::UNKNOWNSTATUS
@ UNKNOWNSTATUS
Definition:
CaloRecoStatus.h:45
CaloRecoStatus::TAGGEDHAD
@ TAGGEDHAD
Definition:
CaloRecoStatus.h:39
Generated on Thu Nov 7 2024 21:11:35 for ATLAS Offline Software by
1.8.18