ATLAS Offline Software
Functions
BCMPrimeDetectorTool.cxx File Reference
#include "BCMPrimeDetectorTool.h"
#include "BCMPrimeGmxInterface.h"
#include <BCMPrimeReadoutGeometry/BCMPrimeDetectorManager.h>
#include <DetDescrConditions/AlignableTransformContainer.h>
#include <GeoModelKernel/GeoPhysVol.h>
#include <GeoModelUtilities/GeoModelExperiment.h>
Include dependency graph for BCMPrimeDetectorTool.cxx:

Go to the source code of this file.

Functions

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

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

StatusCode BCMPrimeDetectorTool::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 86 of file BCMPrimeDetectorTool.cxx.

87 {
88  //
89  // Register call-back for software alignment
90  //
91  if (m_alignable) {
92  std::string folderName = "/ITk/Align";
93  if (detStore()->contains<AlignableTransformContainer>(folderName)) {
94  ATH_MSG_DEBUG( "Registering callback on AlignableTransformContainer with folder " << folderName );
96  StatusCode sc = detStore()->regFcn(&IGeoModelTool::align, dynamic_cast<IGeoModelTool *>(this), atc, folderName);
97  if (sc.isFailure()) {
98  ATH_MSG_ERROR( "Could not register callback on AlignableTransformContainer with folder " <<
99  folderName );
100  }
101  return StatusCode::FAILURE;
102  } else {
103  ATH_MSG_WARNING( "Unable to register callback on AlignableTransformContainer with folder " <<
104  folderName << ", Alignment disabled (only if no Run2 scheme is loaded)!" );
105  }
106  } else {
107  ATH_MSG_INFO( "Alignment disabled. No callback registered" );
108  // We return failure otherwise it will try and register a GeoModelSvc callback associated with this callback.
109  }
110  return StatusCode::SUCCESS;
111 }
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
CaloCellTimeCorrFiller.folderName
string folderName
Definition: CaloCellTimeCorrFiller.py:20
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