ATLAS Offline Software
Functions
PLRDetectorTool.cxx File Reference
#include "PLRDetectorTool.h"
#include "PLRGmxInterface.h"
#include <PixelReadoutGeometry/PixelDetectorManager.h>
#include <DetDescrConditions/AlignableTransformContainer.h>
#include <GeoModelKernel/GeoPhysVol.h>
#include <GeoModelUtilities/GeoModelExperiment.h>
#include <InDetIdentifier/PLR_ID.h>
#include <SGTools/DataProxy.h>
Include dependency graph for PLRDetectorTool.cxx:

Go to the source code of this file.

Functions

StatusCode PLRDetectorTool::registerCallback ATLAS_NOT_THREAD_SAFE ()
 Install fatal handler with default options. More...
 

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

StatusCode PLRDetectorTool::registerCallback ATLAS_NOT_THREAD_SAFE ( )
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

Definition at line 102 of file PLRDetectorTool.cxx.

103 {
104  //
105  // Register call-back for software alignment
106  //
107  if (m_alignable) {
108  if (detStore()->contains<AlignableTransformContainer>(m_alignmentFolderName)) {
109  ATH_MSG_DEBUG("Registering callback on AlignableTransformContainer with folder " << m_alignmentFolderName);
111  StatusCode sc = detStore()->regFcn(&IGeoModelTool::align, dynamic_cast<IGeoModelTool *>(this), atc, m_alignmentFolderName);
112  if (sc.isFailure()) {
113  ATH_MSG_ERROR("Could not register callback on AlignableTransformContainer with folder "
114  << m_alignmentFolderName);
115  return StatusCode::FAILURE;
116  }
117  } else {
118  ATH_MSG_WARNING("Unable to register callback on AlignableTransformContainer with folder "
119  << m_alignmentFolderName << ", Alignment disabled (only if no Run2 scheme is loaded)!");
120  }
121  } else {
122  ATH_MSG_INFO("Alignment disabled. No callback registered");
123  // We return failure otherwise it will try and register a GeoModelSvc callback associated with this callback.
124  }
125  return StatusCode::SUCCESS;
126 }
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
IGeoModelTool::align
virtual StatusCode align(IOVSVC_CALLBACK_ARGS)=0
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
python.PyKernel.detStore
detStore
Definition: PyKernel.py:41
DataHandle
an iterator over instances of a given type in StoreGateSvc. It d-casts and caches locally the pointed...
Definition: DataHandle.h:42
IGeoModelTool
Definition: IGeoModelTool.h:12
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32