ATLAS Offline Software
Namespaces | Macros | Functions
TrackContainerHandlesHelper.cxx File Reference
#include "ActsEvent/TrackContainerHandlesHelper.h"
#include "xAODTracking/TrackStateContainer.h"
#include "xAODTracking/TrackState.h"
#include "xAODMeasurementBase/UncalibratedMeasurementContainer.h"
#include "GeoModelKernel/throwExcept.h"
#include <string>
#include <sstream>
#include <regex>
#include <span>
#include "StoreGate/WriteHandle.h"

Go to the source code of this file.

Namespaces

 ActsTrk
 The AlignStoreProviderAlg loads the rigid alignment corrections and pipes them through the readout geometry to cache the final transformations of the sensor surfaces associated to one particular detector technology (Pixel, Sct, etc.).
 

Macros

#define RECORD_xAOD(key, container, auxContainer, ctx)
 
#define INIT_CHECK(key)
 

Functions

std::string ActsTrk::prefixFromTrackContainerName (const std::string &tracks)
 Parse TrackContainer name to get the prefix for backends The name has to contain XYZTracks, the XYZ is returned. More...
 

Macro Definition Documentation

◆ INIT_CHECK

#define INIT_CHECK (   key)
Value:
if (!key.initialize().isSuccess()) { \
THROW_EXCEPTION("Failed to initialize key "<<key.fullKey()); \
}

Definition at line 43 of file TrackContainerHandlesHelper.cxx.

◆ RECORD_xAOD

#define RECORD_xAOD (   key,
  container,
  auxContainer,
  ctx 
)
Value:
{ \
SG::WriteHandle handle{key, ctx}; \
if (!handle.record(std::move(container), \
std::move(auxContainer)).isSuccess()){ \
THROW_EXCEPTION("Cannot record "<<key.fullKey()<<" backend"); \
} \
}

Definition at line 34 of file TrackContainerHandlesHelper.cxx.

mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37