ATLAS Offline Software
TileCalibMonitorAlgorithm.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
10 
12 
16 
17  ATH_CHECK( m_cablingSvc.retrieve() );
18  m_cabling = m_cablingSvc->cablingService();
19  int runPeriod = m_cabling->runPeriod();
20 
21  if (runPeriod == 3) {
22  std::vector<int> v = { 0x10d }; // LBA14 is demonstrator in RUN3
23 
24  if ( m_fragIDsToIgnoreDMUerrors.size() == 0) {
26  }
27 
28  if ( m_fragIDsDemonstrators.size() == 0) {
30  }
31  }
32 
33  if ( m_fragIDsToIgnoreDMUerrors.size() != 0) {
34 
36 
37  std::ostringstream os;
39  os << " 0x" << std::hex << fragID << std::dec;
40  }
41 
42  ATH_MSG_INFO("Tile DMU errors will be ignored in drawers (frag IDs):" << os.str());
43  }
44 
45  if ( m_fragIDsDemonstrators.size() != 0) {
46 
47  std::sort(m_fragIDsDemonstrators.begin(), m_fragIDsDemonstrators.end());
48 
49  std::ostringstream os;
50  for (int fragID : m_fragIDsDemonstrators) {
51  os << " 0x" << std::hex << fragID << std::dec;
52  }
53 
54  ATH_MSG_INFO("Special settings in histograms for demonstrator modules (frag IDs):" << os.str());
55  }
56 
57  return StatusCode::SUCCESS;
58 }
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
RunTileTBMonitoring.fragID
fragID
Definition: RunTileTBMonitoring.py:212
TileCalibMonitorAlgorithm::m_tileInfo
const TileInfo * m_tileInfo
Definition: TileCalibMonitorAlgorithm.h:98
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
TileInfo.h
TileCalibMonitorAlgorithm::m_tileHWID
const TileHWID * m_tileHWID
Definition: TileCalibMonitorAlgorithm.h:97
TileCalibMonitorAlgorithm::m_tileInfoName
Gaudi::Property< std::string > m_tileInfoName
Definition: TileCalibMonitorAlgorithm.h:75
TileCalibMonitorAlgorithm.h
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
TileHWID.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileCalibMonitorAlgorithm::m_cablingSvc
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Definition: TileCalibMonitorAlgorithm.h:93
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
ReadFromCoolCompare.os
os
Definition: ReadFromCoolCompare.py:231
TileCalibMonitorAlgorithm::m_fragIDsToIgnoreDMUerrors
Gaudi::Property< std::vector< int > > m_fragIDsToIgnoreDMUerrors
Definition: TileCalibMonitorAlgorithm.h:78
TileCalibMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TileCalibMonitorAlgorithm.cxx:9
TileCalibMonitorAlgorithm::m_dqStatusKey
SG::ReadHandleKey< TileDQstatus > m_dqStatusKey
Definition: TileCalibMonitorAlgorithm.h:87
AthMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AthMonitorAlgorithm.cxx:18
python.PyAthena.v
v
Definition: PyAthena.py:154
TileCalibMonitorAlgorithm::m_fragIDsDemonstrators
Gaudi::Property< std::vector< int > > m_fragIDsDemonstrators
Definition: TileCalibMonitorAlgorithm.h:81
TileCablingService::runPeriod
int runPeriod() const
Definition: TileCablingService.h:280
TileCalibMonitorAlgorithm::m_cabling
const TileCablingService * m_cabling
Definition: TileCalibMonitorAlgorithm.h:96