ATLAS Offline Software
Classes | Typedefs | Functions | Variables
DMTest Namespace Reference

Classes

class  AllocTest_v1
 Testing an xAOD object with a non-standard memory allocator. More...
 
class  AllocTestAuxContainer_v1
 Testing an xAOD object with a non-standard memory allocator. More...
 
class  AllocTestReadWithAlloc
 Test reading AllocTest with a non-default allocator. More...
 
class  AllocTestReadWithoutAlloc
 Test reading AllocTest with a non-default allocator. More...
 
class  AllocTestWriteWithAlloc
 Test writing AllocTest with a non-default allocator. More...
 
class  AllocTestWriteWithoutAlloc
 Test writing AllocTest with a non-default allocator. More...
 
struct  B
 Base contained class for DataVector tests. More...
 
struct  BDer
 A class deriving from DataVector containing the base class, B. More...
 
class  C_v1
 
class  CAuxContainer_v1
 
class  CInfoAuxContainer_v1
 
class  CLinks_v1
 For testing thinning of xAOD objects. More...
 
class  CLinksAOD
 For testing thinning of AOD objects. More...
 
class  CLinksAOD_p1
 Persistent class for AOD CLinks container. More...
 
class  CLinksAODCnv_p1
 
class  CLinksAuxContainer_v1
 For testing thinning of xAOD objects. More...
 
class  CLinksAuxInfo_v1
 For testing thinning of xAOD objects (standalone store). More...
 
class  CondAlg1
 
class  CondAlg2
 
class  CondReaderAlg
 
class  CondWriterAlg
 
class  CondWriterExtAlg
 Alg to write conditions data via an external script. More...
 
class  CTrigAuxContainer_v1
 
class  CVecWithData_v1
 
struct  D
 Derived contained class for DataVector tests. More...
 
struct  DDer
 A class deriving from DataVector containing the derived class, D. More...
 
class  DMTestRead
 Algorithm for printing test data. More...
 
class  DMTestWrite
 Algorithm for creating test data. More...
 
class  DummyDecisionWriter
 Make a dummy xAOD::TrigDecision to avoid warnings when writing bytestream. More...
 
struct  ELVec
 For testing ElementLink. More...
 
class  G_v1
 
class  GAuxContainer_v1
 
class  H_v1
 
class  H_v2
 
class  HAuxContainer_v1
 
class  HAuxContainer_v2
 
class  HAuxContainerCnv_v1
 
class  HLTResultReader
 Test for serializing an xAOD object from bytestream. More...
 
class  HLTResultWriter
 Test for serializing an xAOD object into bytestream. More...
 
class  HVecCnv_v1
 
class  ITestTool
 
class  MetaReaderAlg
 
class  MetaWriterAlg
 
class  S1
 
class  S2
 
class  S3
 
class  xAODTestAlg
 
class  xAODTestClearDecor
 Algorithm to test adding decorations to a DataVector with auxiliary data. More...
 
class  xAODTestDecor
 Algorithm to test adding decorations to xAOD data. More...
 
class  xAODTestFilterCVec
 Algorithm to test filtering xAOD data. More...
 
class  xAODTestRead
 Algorithm to test reading xAOD data. More...
 
class  xAODTestReadCInfo
 Algorithm to test reading xAOD data. More...
 
class  xAODTestReadCLinks
 Read and dump CLinks/CLinksAOD objects. More...
 
class  xAODTestReadCVec
 Algorithm to test reading xAOD data (CVec). More...
 
class  xAODTestReadCView
 Algorithm to test reading xAOD data (CView). More...
 
class  xAODTestReadDecor
 Algorithm to test reading decorations using handles. More...
 
class  xAODTestReadHVec
 Algorithm to test reading xAOD data with schema evolution (HVec/HView) More...
 
class  xAODTestReadSymlink
 
class  xAODTestReadSymlinkTool
 
class  xAODTestShallowCopy
 Algorithm to do a shallow copy of CVec types. More...
 
class  xAODTestShallowCopyHVec
 Algorithm to do a shallow copy of HVec types. More...
 
class  xAODTestThinCVec
 Thin CVec objects. More...
 
class  xAODTestTypelessRead
 Algorithm for reading test xAOD data. More...
 
class  xAODTestWrite
 Algorithm for creating test aux data. More...
 
class  xAODTestWriteCInfo
 Algorithm for creating test aux data. More...
 
class  xAODTestWriteCInfoTool
 Algorithm for creating test aux data. More...
 
class  xAODTestWriteCLinks
 Algorithm for creating test aux data. More...
 
class  xAODTestWriteCVec
 Algorithm for creating test aux data. More...
 
class  xAODTestWriteCVecConst
 Test recording a const aux obj via WriteHandle. More...
 
class  xAODTestWriteCView
 Algorithm to test writing an xAOD view vector (cview) More...
 
class  xAODTestWriteFwdLink1
 
class  xAODTestWriteFwdLink2
 
class  xAODTestWriteHVec
 Algorithm to test writing xAOD classes for schema evolution (hvec/hview). More...
 
class  xAODTestWriteSymlinks
 Algorithm testing making symlinks/aliases through handles. More...
 

Typedefs

typedef C_v1 C
 
typedef CAuxContainer_v1 CAuxContainer
 
typedef CInfoAuxContainer_v1 CInfoAuxContainer
 
typedef CLinks_v1 CLinks
 
typedef CLinksAuxContainer_v1 CLinksAuxContainer
 
typedef CLinksAuxInfo_v1 CLinksAuxInfo
 
typedef CLinksContainer_v1 CLinksContainer
 
typedef CTrigAuxContainer_v1 CTrigAuxContainer
 
typedef CVec_v1 CVec
 
typedef CVecWithData_v1 CVecWithData
 
typedef CView_v1 CView
 
typedef DataVector< CLinks_v1CLinksContainer_v1
 
typedef DataVector< C_v1CVec_v1
 
typedef ViewVector< CVec_v1CView_v1
 
typedef ElementLink< CVecEL
 
typedef AllocTest_v1 AllocTest
 
typedef AllocTestAuxContainer_v1 AllocTestAuxContainer
 
typedef AllocTestContainer_v1 AllocTestContainer
 
typedef DataVector< DMTest::BBVec
 A DataVector containing the base class, B. More...
 
typedef DataVector< DDVec
 A DataVector containing the derived class, B. More...
 
typedef G_v1 G
 
typedef GAuxContainer_v1 GAuxContainer
 
typedef GVec_v1 GVec
 
typedef H_v2 H
 
typedef HAuxContainer_v2 HAuxContainer
 
typedef HVec_v2 HVec
 
typedef HView_v2 HView
 
typedef DataVector< AllocTest_v1AllocTestContainer_v1
 
typedef DataVector< G_v1GVec_v1
 
typedef DataVector< H_v1HVec_v1
 
typedef DataVector< H_v2HVec_v2
 
typedef ViewVector< HVec_v1HView_v1
 
typedef ViewVector< HVec_v2HView_v2
 

Functions

void setPluginLibrary ATLAS_NOT_THREAD_SAFE (const std::string &name, const std::string &lib)
 
void setConverterLibrary ATLAS_NOT_THREAD_SAFE (CLID clid, const std::string &lib)
 
void setConverterLibrary ATLAS_NOT_THREAD_SAFE (const std::string &lib)
 
 AUXSTORE_OBJECT_SETTER_AND_GETTER (CLinks_v1, ElementLink< CVec >, link, setLink) AUXSTORE_OBJECT_SETTER_AND_GETTER(CLinks_v1
 
std::string formEL (const EL &el)
 Format an ElementLink to a string. More...
 
StatusCode HLTResultReader::initialize ATLAS_NOT_THREAD_SAFE ()
 Algorithm initialization; called at the beginning of the job. More...
 
StatusCode recordView1 (SG::WriteHandle< ConstDataVector< ViewVector< DMTest::CVec > > > &h, std::unique_ptr< ConstDataVector< ViewVector< DMTest::CVec > > > view)
 
StatusCode recordView2 (SG::WriteHandle< ViewVector< DMTest::HVec > > &h, std::unique_ptr< ViewVector< DMTest::HVec > > view)
 

Variables

 links
 

Typedef Documentation

◆ AllocTest

◆ AllocTestAuxContainer

◆ AllocTestContainer

◆ AllocTestContainer_v1

◆ BVec

A DataVector containing the base class, B.

The redundant DMTest:: is required by the stupid pooliohander machinery.

Definition at line 35 of file DataModelTestDataRead/DataModelTestDataRead/BVec.h.

◆ C

typedef C_v1 DMTest::C

Definition at line 26 of file C.h.

◆ CAuxContainer

Definition at line 26 of file CAuxContainer.h.

◆ CInfoAuxContainer

Definition at line 28 of file CInfoAuxContainer.h.

◆ CLinks

Definition at line 23 of file CLinks.h.

◆ CLinksAuxContainer

Definition at line 24 of file CLinksAuxContainer.h.

◆ CLinksAuxInfo

Definition at line 23 of file CLinksAuxInfo.h.

◆ CLinksContainer

Definition at line 23 of file CLinksContainer.h.

◆ CLinksContainer_v1

Definition at line 24 of file CLinksContainer_v1.h.

◆ CTrigAuxContainer

Definition at line 26 of file CTrigAuxContainer.h.

◆ CVec

Definition at line 26 of file CVec.h.

◆ CVec_v1

Definition at line 27 of file CVec_v1.h.

◆ CVecWithData

Definition at line 26 of file CVecWithData.h.

◆ CView

Definition at line 26 of file CView.h.

◆ CView_v1

Definition at line 27 of file CView_v1.h.

◆ DVec

A DataVector containing the derived class, B.

Definition at line 42 of file DataModelTestDataRead/DataModelTestDataRead/DVec.h.

◆ EL

Definition at line 20 of file xAODTestReadCLinks.cxx.

◆ G

typedef G_v1 DMTest::G

◆ GAuxContainer

◆ GVec

◆ GVec_v1

◆ H

typedef H_v1 DMTest::H

◆ HAuxContainer

◆ HVec

◆ HVec_v1

◆ HVec_v2

Definition at line 27 of file HVec_v2.h.

◆ HView

◆ HView_v1

◆ HView_v2

Definition at line 27 of file HView_v2.h.

Function Documentation

◆ ATLAS_NOT_THREAD_SAFE() [1/4]

StatusCode HLTResultWriter::initialize DMTest::ATLAS_NOT_THREAD_SAFE ( )

Algorithm initialization; called at the beginning of the job.

Definition at line 73 of file HLTResultReader.cxx.

74 {
75  ATH_CHECK( m_resultKey.initialize() );
76  ATH_CHECK( m_nav.retrieve() );
77  HLT::TypeMaps::registerFeatureContainer<DMTest::CVec,DMTest::CVec>();
78  HLT::TypeMaps::registerFeatureContainer<DMTest::CView,DMTest::CView>();
79  HLT::TypeMaps::registerType<DMTest::CAuxContainer>();
80  HLT::TypeMaps::registerFeatureContainer<DMTest::HVec,DMTest::HVec>();
81  HLT::TypeMaps::registerFeatureContainer<DMTest::HView,DMTest::HView>();
82  HLT::TypeMaps::registerType<DMTest::HAuxContainer>();
83  return StatusCode::SUCCESS;
84 }

◆ ATLAS_NOT_THREAD_SAFE() [2/4]

void setTrigConverterLibrary DMTest::ATLAS_NOT_THREAD_SAFE ( CLID  clid,
const std::string &  lib 
)

Definition at line 36 of file setConverterLibrary.cxx.

37 {
38  std::string name = "CNV_256_" + std::to_string (clid);
39  setPluginLibrary (name, lib);
40 }

◆ ATLAS_NOT_THREAD_SAFE() [3/4]

void setTrigConverterLibrary DMTest::ATLAS_NOT_THREAD_SAFE ( const std::string &  lib)

Definition at line 43 of file setConverterLibrary.cxx.

44 {
45  setConverterLibrary (9631, lib); // DMTest::BDer
46  setConverterLibrary (9632, lib); // DMTest::DDer
47  setConverterLibrary (9633, lib); // DataVector<DMTest::B>
48  setConverterLibrary (9634, lib); // DataVector<DMTest::D>
49  setConverterLibrary (9639, lib); // DMTest::ELVec
50  setConverterLibrary (9721, lib); // DMTest::CVec_v1
51  setConverterLibrary (9722, lib); // DMTest::CAuxContainer_v1
52  setConverterLibrary (9723, lib); // DMTest::CInfoAuxContainer_v1
53  setConverterLibrary (9724, lib); // DMTest::C_v1
54  setConverterLibrary (9725, lib); // DMTest::CTrigAuxContainer_v1
55  setConverterLibrary (9741, lib); // DMTest::GVec_v1
56  setConverterLibrary (9742, lib); // DMTest::GAuxContainer_v1
57  setConverterLibrary (9744, lib); // DMTest::G_v1
58  setConverterLibrary (9779, lib); // DMTest::CView_v1
59  setConverterLibrary (9841, lib); // DMTest::AllocTestContainer
60  setConverterLibrary (9842, lib); // DMTest::AllocTestAuxContainer
61  setConverterLibrary (9844, lib); // DMTest::AllocTest
62  setConverterLibrary (243020043, lib); // DMTest::S1
63  setConverterLibrary (243020042, lib); // DMTest::S2
64  setPluginLibrary ("_PERS_DMTest::HVec_v1", lib);
65  setPluginLibrary ("_PERS_DataVector<DMTest::H_v1>", lib);
66 }

◆ ATLAS_NOT_THREAD_SAFE() [4/4]

void setPluginLibrary DMTest::ATLAS_NOT_THREAD_SAFE ( const std::string &  name,
const std::string &  lib 
)

Definition at line 23 of file setConverterLibrary.cxx.

24 {
25  const Details::Registry& reg = Details::Registry::instance();
26  Details::Registry::FactoryMap& map =
27  const_cast<Details::Registry::FactoryMap&>(reg.factories());
29  if (i == map.end())
30  map.insert (std::make_pair (name, Details::Registry::FactoryInfo{lib}));
31  else
32  i->second = Details::Registry::FactoryInfo{lib};
33 }

◆ AUXSTORE_OBJECT_SETTER_AND_GETTER()

DMTest::AUXSTORE_OBJECT_SETTER_AND_GETTER ( CLinks_v1  ,
ElementLink< CVec ,
link  ,
setLink   
)

◆ formEL()

std::string DMTest::formEL ( const EL el)

Format an ElementLink to a string.

Definition at line 26 of file xAODTestReadCLinks.cxx.

27 {
28  std::ostringstream ss;
29  ss << "(" << el.dataID() << ":";
30  if (static_cast<int>(el.index()) == -1) {
31  ss << "inv";
32  }
33  else {
34  ss << el.index();
35  }
36  ss << ")";
37  return ss.str();
38 }

◆ recordView1()

StatusCode DMTest::recordView1 ( SG::WriteHandle< ConstDataVector< ViewVector< DMTest::CVec > > > &  h,
std::unique_ptr< ConstDataVector< ViewVector< DMTest::CVec > > >  view 
)

Definition at line 21 of file xAODTestWriteHelper.cxx.

23 {
24  return h.record (std::move (view));
25 }

◆ recordView2()

StatusCode DMTest::recordView2 ( SG::WriteHandle< ViewVector< DMTest::HVec > > &  h,
std::unique_ptr< ViewVector< DMTest::HVec > >  view 
)

Definition at line 28 of file xAODTestWriteHelper.cxx.

30 {
31  return h.record (std::move (view));
32 }

Variable Documentation

◆ links

DMTest::links

Definition at line 22 of file CLinks_v1.cxx.

xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
PowhegControl_ttHplus_NLO.ss
ss
Definition: PowhegControl_ttHplus_NLO.py:83
python.DomainsRegistry.reg
reg
globals -----------------------------------------------------------------—
Definition: DomainsRegistry.py:343
instance
std::map< std::string, double > instance
Definition: Run_To_Get_Tags.h:8
lumiFormat.i
int i
Definition: lumiFormat.py:92
plotIsoValidation.el
el
Definition: plotIsoValidation.py:197
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
ActsTrk::to_string
std::string to_string(const DetectorType &type)
Definition: GeometryDefs.h:34
h
drawFromPickle.view
view
Definition: drawFromPickle.py:294