Skip to content
Snippets Groups Projects
Commit 785bcd71 authored by Tadej Novak's avatar Tadej Novak
Browse files

Merge branch 'regvar.DataModelTestDataRead-20240518' into 'main'

DataModelTestDataRead: Use AUXVAR_DECL.

See merge request !71503
parents 9187a6af 0607b7e3
No related branches found
No related tags found
29 merge requests!78241Draft: FPGATrackSim: GenScan code refactor,!78236Draft: Switching Streams https://its.cern.ch/jira/browse/ATR-27417,!78056AFP monitoring: new synchronization and cleaning,!78041AFP monitoring: new synchronization and cleaning,!77990Updating TRT chip masks for L1TRT trigger simulation - ATR-28372,!77733Draft: add new HLT NN JVT, augmented with additional tracking information,!77731Draft: Updates to ZDC reconstruction,!77728Draft: updates to ZDC reconstruction,!77522Draft: sTGC Pad Trigger Emulator,!76725ZdcNtuple: Fix cppcheck warning.,!76611L1CaloFEXByteStream: Fix out-of-bounds array accesses.,!76475Punchthrough AF3 implementation in FastG4,!76474Punchthrough AF3 implementation in FastG4,!76343Draft: MooTrackBuilder: Recalibrate NSW hits in refine method,!75729New implementation of ZDC nonlinear FADC correction.,!75703Draft: Update to HI han config for HLT jets,!75184Draft: Update file heavyions_run.config,!74430Draft: Fixing upper bound for Delayed Jet Triggers,!73963Changing the path of the histograms to "Expert" area,!73875updating ID ART reference plots,!73874AtlasCLHEP_RandomGenerators: Fix cppcheck warnings.,!73449Add muon detectors to DarkJetPEBTLA partial event building,!73343Draft: [TrigEgamma] Add photon ringer chains on bootstrap mechanism,!72336Fixed TRT calibration crash,!72176Draft: Improving L1TopoOnline chain that now gets no-empty plots. Activating it by default,!72012Draft: Separate JiveXMLConfig.py into Config files,!71876Fix MET trigger name in MissingETMonitoring,!71820Draft: Adding new TLA End-Of-Fill (EOF) chains and removing obsolete DIPZ chains,!71503DataModelTestDataRead: Use AUXVAR_DECL.
Showing with 17 additions and 37 deletions
// This file's extension implies that it's C, but it's really -*- C++ -*-.
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file DataModelTestDataRead/versions/AllocTestAuxContainer_v1.h
......@@ -41,10 +41,10 @@ public:
// For this one, the dictionary will always be present (from AthContainers).
std::vector<int, std::pmr::polymorphic_allocator<int> > atInt1;
AUXVAR_DECL (int, atInt1, std::pmr::polymorphic_allocator);
// For this one, the dictionary is only present in this package.
std::vector<int, Athena_test::TestAlloc<int> > atInt2;
AUXVAR_DECL (int, atInt2, Athena_test::TestAlloc);
};
......
// This file's extension implies that it's C, but it's really -*- C++ -*-.
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file DataModelTestDataRead/versions/GAuxContainer_v1.h
......@@ -31,9 +31,9 @@ public:
GAuxContainer_v1();
private:
SG::PackedContainer<int> anInt;
std::vector<float> gFloat;
std::vector<std::vector<float> > gvFloat;
AUXVAR_PACKEDCONTAINER_DECL (int, anInt);
AUXVAR_DECL (float, gFloat);
AUXVAR_DECL (std::vector<float>, gvFloat);
};
......
// This file's extension implies that it's C, but it's really -*- C++ -*-.
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// $Id$
/**
/*
* @file DataModelTestDataRead/versions/HAuxContainer_v1.h
* @author scott snyder <snyder@bnl.gov>
* @date Jan, 2016
......@@ -32,7 +29,7 @@ public:
HAuxContainer_v1();
private:
std::vector<int> anInt;
AUXVAR_DECL (int, anInt);
};
......
// This file's extension implies that it's C, but it's really -*- C++ -*-.
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// $Id$
/**
* @file DataModelTestDataRead/versions/HAuxContainer_v2.h
* @author scott snyder <snyder@bnl.gov>
......@@ -33,7 +30,7 @@ public:
HAuxContainer_v2();
private:
std::vector<float> aFloat;
AUXVAR_DECL (float, aFloat);
};
......
/*
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file DataModelTestDataRead/src/AllocTestAuxContainer_v1.cxx
......@@ -64,11 +64,8 @@ namespace DMTest {
AllocTestAuxContainer_v1::AllocTestAuxContainer_v1()
: xAOD::AuxContainerBase(),
atInt1 (&memRes)
: xAOD::AuxContainerBase(&memRes)
{
AUX_VARIABLE (atInt1);
AUX_VARIABLE (atInt2);
}
......
/*
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
/**
* @file DataModelTestDataRead/src/GAuxContainer_v1.cxx
......@@ -20,15 +20,10 @@ namespace DMTest {
GAuxContainer_v1::GAuxContainer_v1()
: xAOD::AuxContainerBase()
{
AUX_VARIABLE (anInt);
if (!anInt.setOption (SG::AuxDataOption ("nbits", 17)))
{
throw std::runtime_error ("Can't set packing options in GAuxContainer_v1");
}
AUX_VARIABLE (gFloat);
AUX_VARIABLE (gvFloat);
}
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// $Id$
/**
* @file DataModelTestDataRead/src/HAuxContainer_v1.cxx
* @author scott snyder <snyder@bnl.gov>
......@@ -20,7 +18,6 @@ namespace DMTest {
HAuxContainer_v1::HAuxContainer_v1()
: xAOD::AuxContainerBase()
{
AUX_VARIABLE (anInt);
}
......
/*
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
*/
// $Id$
/**
* @file DataModelTestDataRead/src/HAuxContainer_v2.cxx
* @author scott snyder <snyder@bnl.gov>
......@@ -20,7 +18,6 @@ namespace DMTest {
HAuxContainer_v2::HAuxContainer_v2()
: xAOD::AuxContainerBase()
{
AUX_VARIABLE (aFloat);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment