Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
blob
sPHENIX
Alignment
CI
cmake
Core
docs
Examples
Fatras
Plugins
Tests
Benchmarks
CommonHelpers
DownstreamProject
DownstreamProjectNodeps
IntegrationTests
Autodiff
Fatras
Legacy
BVHNavigationTest.cpp
InterpolatedSolenoidBFieldTest.cpp
PrintDataDirectory.cpp
PropagationAtlasConstant.cpp
PropagationBentTracks.cpp
PropagationCompareAtlasEigenConstant.cpp
PropagationCompareEigenStraightLine.cpp
PropagationDatasets.hpp
PropagationDenseConstant.cpp
PropagationEigenConstant.cpp
PropagationStraightLine.cpp
PropagationTests.hpp
PropagationTestsAtlasField.cpp
UnitTests
acts-fatras
analysis
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PrintDataDirectory.cpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PrintDataDirectory.cpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2020 CERN for the benefit of the Acts project
4
//
5
// This Source Code Form is subject to the terms of the Mozilla Public
6
// License, v. 2.0. If a copy of the MPL was not distributed with this
7
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
9
// This is an example on how to access data from the test data directory.
10
// It is not really an integration test, but since it does not use the
11
// unit test framework, placing it into the integration tests directory
12
// is the least awkward place.
13
14
#include "
Acts/Tests/CommonHelpers/DataDirectory.hpp
"
15
16
#include <cstddef>
17
#include <iostream>
18
19
int
main
(
void
) {
20
std::cout <<
Acts::Test::getDataPath
(
""
) << std::endl;
21
std::cout <<
Acts::Test::getDataPath
(
"missing-dir/does_not_exists.txt"
)
22
<< std::endl;
23
return
EXIT_SUCCESS;
24
}
acts
blob
sPHENIX
Tests
IntegrationTests
PrintDataDirectory.cpp
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:42
using
1.8.2 with
sPHENIX GitHub integration