ATLAS Offline Software
Loading...
Searching...
No Matches
NSWAGDDTool.cxx File Reference
Include dependency graph for NSWAGDDTool.cxx:

Go to the source code of this file.

Functions

StatusCode NSWAGDDTool::initialize ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options.

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

StatusCode NSWAGDDTool::initialize ATLAS_NOT_THREAD_SAFE ( void )
inline

Install fatal handler with default options.

This is meant to be easy to call from python via ctypes.

Install fatal handler with default options.

getLorentzAngle() Read LorentzAngle from HIST and write out into local DB

getBSErrors() Read BSErrors from Monitoring HIST and write out into local DB

getEfficiency() Read Efficiency from Monitoring HIST and write out into local DB

getRawOccupancy() Read RawOccupancy from Monitoring HIST and write out into local DB

getNoiseOccupancy() Read NoiseOccupancy from HIST and write out into local DB

getNoisyStrip() Find noisy strips from hitmaps and write out into xml/db formats

beginning of the loop of channels

bad bit newly found

known bad bit

for low noisy cells

for high noisy cells

0.01 is used to scale "PER" to the same order of magnitude to "SIG"

smaller deviation: distorted

checking TmaxAmp, Not mixed with MaxAmp and Width

channel information output

Only dead or distorted, or short known BCs are considered below.

index of bc

Definition at line 25 of file NSWAGDDTool.cxx.

26{
27 ATH_CHECK(AGDDToolBase::initialize());
28 ATH_MSG_INFO("NSWAGDDTool::initialize");
29
30 if( m_xmlFiles.size() == 1 && m_writeDBfile )
31 {
32 std::size_t found = m_xmlFiles[0].find_last_of('/');
33 m_outFileInName = m_xmlFiles[0].substr(found+1);
34 }
35 else if ( m_writeDBfile ) ATH_MSG_ERROR("writing data base files currently only supported if just a single input XML is given!");
36
37 m_outFileName = "Out.AmdcOracle.AM." + m_outFileType + "temp.data";
38 m_outPREsqlName = "Out.AmdcOracle.AM." + m_outFileType + ".PREsql";
39
40 if (m_DBFileName.empty()) {
41 m_DBFileName = "Generated_" + m_outFileType + "_pool.txt";
42 }
43
44 static std::once_flag init;
45 std::call_once (init, [&]()
46 {
47 MuonAGDDToolHelper theHelper;
48 theHelper.setAGDDtoGeoSvcName(m_agdd2GeoSvcName);
49 theHelper.SetNSWComponents();
50 });
51
52 ATH_CHECK(construct());
53 return StatusCode::SUCCESS;
54}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
#define ATH_MSG_INFO(x)
void setAGDDtoGeoSvcName(const std::string &name)
init(v_theApp, v_rootStream=None)
Definition PyKernel.py:45