ATLAS Offline Software
Loading...
Searching...
No Matches
FPGATrackSimDumpDetStatusAlgo.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#include <sstream>
8#include <iostream>
9#include <fstream>
10
12FPGATrackSimDumpDetStatusAlgo::FPGATrackSimDumpDetStatusAlgo(const std::string& name, ISvcLocator* pSvcLocator) :
13 AthAlgorithm(name, pSvcLocator)
14{}
15
16// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
18 // select how the input is obtained
20 // Use the SG to retrieve the hits, this also means other Athena tools can be used
21 ATH_CHECK(m_detectorTool.retrieve());
22 }
23 return StatusCode::SUCCESS;
24}
25
26// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
28
29 if (m_DumpBadModules) {
30 // These are not available yet
31 ATH_MSG_WARNING( "FPGATrackSimDumpDetStatusAlgo DumpBadModules not available yet");
32 //m_detectorTool->makeBadModuleMap(); //Dump bad SS map
33 //m_detectorTool->dumpDeadModuleSummary(); //Dump bad module map
34 m_DumpBadModules = false; // in case you run on more than 1 event, only dump once
35 }
36
38 m_detectorTool->dumpGlobalToLocalModuleMap(); // Dump the map of the module of each tower
40 }
41
42 if (m_DumpIDMap) {
43 // This is not available yet
44 ATH_MSG_WARNING( "FPGATrackSimDumpDetStatusAlgo DumpIDMap not available yet" );
45 //m_detectorTool->dumpIDMap();
46 m_DumpIDMap = false; // in case you run on more than 1 event, only dump once
47 }
48
50 //m_detectorTool->dumpModulePositions();
52 }
53
54 return StatusCode::SUCCESS;
55}
56
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ToolHandle< FPGATrackSimDetectorTool > m_detectorTool
FPGATrackSimDumpDetStatusAlgo(const std::string &name, ISvcLocator *pSvcLocator)