ATLAS Offline Software
Loading...
Searching...
No Matches
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
13 ATH_CHECK( m_dqStatusKey.initialize() );
14 ATH_CHECK( detStore()->retrieve(m_tileHWID) );
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;
38 for (int fragID : m_fragIDsToIgnoreDMUerrors) {
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
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}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_INFO(x)
const ServiceHandle< StoreGateSvc > & detStore() const
virtual StatusCode initialize() override
initialize
SG::ReadHandleKey< TileDQstatus > m_dqStatusKey
virtual StatusCode initialize() override
initialize
const TileCablingService * m_cabling
Gaudi::Property< std::vector< int > > m_fragIDsDemonstrators
ServiceHandle< TileCablingSvc > m_cablingSvc
Name of Tile cabling service.
Gaudi::Property< std::string > m_tileInfoName
Gaudi::Property< std::vector< int > > m_fragIDsToIgnoreDMUerrors
void sort(typename DataModel_detail::iterator< DVL > beg, typename DataModel_detail::iterator< DVL > end)
Specialization of sort for DataVector/List.