Project
Loading...
Searching...
No Matches
testTPCParameters.cxx File Reference

This task tests the Parameter handling. More...

#include <boost/test/unit_test.hpp>
#include "TPCBase/ParameterDetector.h"
#include "TPCBase/ParameterElectronics.h"
#include "TPCBase/ParameterGEM.h"
#include "TPCBase/ParameterGas.h"
#include <CommonUtils/ConfigurableParam.h>
#include <CommonUtils/ConfigurableParamHelper.h>
#include <boost/property_tree/ptree.hpp>

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::tpc
 Global TPC definitions and constants.
 

Macros

#define BOOST_TEST_MODULE   Test TPC Parameters
 
#define BOOST_TEST_MAIN
 
#define BOOST_TEST_DYN_LINK
 

Functions

 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterDetector_test1)
 Trivial test of the default initialization of Parameter Detector Precision: 1E-3 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterDetector_test2)
 Trivial test of the initialization of Parameter Detector Precision: 1E-12 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterElectronics_test1)
 Trivial test of the default initialization of Parameter Electronics Precision: 1E-3 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterElectronics_test2)
 Trivial test of the initialization of Parameter Detector Precision: 1E-12 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterGas_test1)
 Trivial test of the default initialization of Parameter Gas Precision: 1E-3 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterGas_test2)
 Trivial test of the initialization of Parameter Gas Precision: 1E-12 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (setValues_test1)
 Trivial test of the two ways to setValue for a ConfigurableParameter Precision: 1E-3 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterGEM_test1)
 Trivial test of the default initialization of Parameter GEM Precision: 1E-3 %.
 
 o2::tpc::BOOST_AUTO_TEST_CASE (ParameterGEM_test2)
 Trivial test of the initialization of Parameter GEM Precision: 1E-12 %.
 

Variables

constexpr float o2::tpc::NominalTimeBin = 8 * o2::constants::lhc::LHCBunchSpacingNS * 1e-3
 

Detailed Description

This task tests the Parameter handling.

Author
Andi Mathis, TU München, andre.nosp@m.as.m.nosp@m.athis.nosp@m.@ph..nosp@m.tum.d.nosp@m.e

Definition in file testTPCParameters.cxx.

Macro Definition Documentation

◆ BOOST_TEST_DYN_LINK

#define BOOST_TEST_DYN_LINK

Definition at line 18 of file testTPCParameters.cxx.

◆ BOOST_TEST_MAIN

#define BOOST_TEST_MAIN

Definition at line 17 of file testTPCParameters.cxx.

◆ BOOST_TEST_MODULE

#define BOOST_TEST_MODULE   Test TPC Parameters

Definition at line 16 of file testTPCParameters.cxx.