ATLAS Offline Software
Loading...
Searching...
No Matches
BCMPrimeDetectorTool.cxx File Reference
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.

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE()

StatusCode BCMPrimeDetectorTool::registerCallback 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

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";
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}
#define ATH_MSG_ERROR(x)
#define ATH_MSG_INFO(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
static Double_t sc
an iterator over instances of a given type in StoreGateSvc.
Definition DataHandle.h:43
bool contains(const std::string &s, const std::string &regx)
does a string contain the substring
Definition hcg.cxx:114