Running tests - ATTPC/ATTPCROOTv2 GitHub Wiki
There is a suite of tests located in macro/tests
to check the unpacking of AT-TPC, SpecMAT, and GADGET data. It also tests the simulation of AT-TPC data. To run the tests, the following pre-requites must be met:
- Generate the required geometry files by running the script
macro/tests/generateGeometry.sh
- GADGETII tests must be run on fishtank (the data is to large to package with the repository)
- SpecMAT tests require the ROOT file TTreesGETrun_9993.root be placed in the
macro/tests/SpecMAT/data
folder.
To run all tests run the bash script macro/tests/runAllTest.sh
. To the screen it will print a summary of each test run and the return value. The output of the test scripts run are saved in a text file in each test directory (test.log).
Coverage of tests
- Simulation Coverage
- Generators
- AtTPC20MgDecay
- AtTPC2Body
- AtTPC_Background
- AtTPC_d2He
- AtTPCFissionGenerator
- AtTPCFissionGeneratorv2
- AtTPCFissionGeneratorv3
- AtTPCGammaDummyGenerator
- AtTPCIonDecay
- AtTPCIonGenerator
- AtTPCXSManager
- AtTPCXSReader
- AtAvalanchTask
- AtClusterizeLineTask
- AtClusterizeTask
- AtPulseLineTask
- AtPulseTask
- AtSpaceChargeTask
- AtTriggerTask
- Generators
- Unpacking Coverage
- AtUnpackTask
- AtHDFUnpacker
- AtROOTUnpacker
- AtGRAWUnpacker
- AtUnpackTask
- Reconstruction Coverage
- AtAuxFilterTask
- AtDataReductionTask
- AtFilterTask
- AtFilterSubtraction
- AtFilterCalibrate
- AtTrapezoidFilter
- AtFitterTask
- AtLinkDAQtask
- AtPRAtask
- AtLmedsMod
- AtMlesacMod
- AtPRA
- AtRansacMod
- AtTrackFinderHC
- AtPSAtask
- AtCalibration
- AtPSAFilter
- AtPSAFull
- AtPSAProto
- AtPSAProtoFull
- AtPSASimple2
- AtPSASimple
- AtRansacTask
- AtRansac
- AtTrackFinderHCTask