EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CommandLineArguments Struct Reference

#include <acts/blob/sPHENIX/Tests/UnitTests/Plugins/Cuda/Seeding2/CommandLineArguments.hpp>

+ Collaboration diagram for CommandLineArguments:

Public Member Functions

void interpret (int argc, char *argv[])
 Interpret the command line arguments of the test executable.
 
void parse (int argc, char **argv)
 

Public Attributes

std::string spFile = "sp.txt"
 Spacepoint file to use.
 
bool quiet = false
 Do not print the properties of the reconstructed seeds.
 
bool onlyGPU = false
 Run the seed finding using only the GPU implementation.
 
std::size_t groupsToIterate = 500
 The number of groups to process as a maximum.
 
bool filterDuplicates = false
 Look for spacepoint duplicates in the received input file, and remove them.
 
bool allgroup = false
 
bool onlyGpu = false
 
bool matches = false
 
unsigned int groups = 500
 
bool inpFileExists = false
 
bool dirExists = false
 
bool outFileExists = false
 
std::string deviceName = ""
 
std::string inpFileName = ""
 
bool csvFormat = false
 

Detailed Description

Structure holding the arguments passed to the test executable on the command line

Definition at line 17 of file CommandLineArguments.hpp.

View newest version in sPHENIX GitHub at line 17 of file CommandLineArguments.hpp

Member Function Documentation

void CommandLineArguments::interpret ( int  argc,
char *  argv[] 
)

Interpret the command line arguments of the test executable.

Convenience declaration for using the boost::program_options namespace.

Definition at line 23 of file CommandLineArguments.cpp.

View newest version in sPHENIX GitHub at line 23 of file CommandLineArguments.cpp

References exit(), filterDuplicates, groupsToIterate, onlyGPU, quiet, and spFile.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void CommandLineArguments::parse ( int  argc,
char **  argv 
)

Definition at line 21 of file CommandLineArguments.cpp.

View newest version in sPHENIX GitHub at line 21 of file CommandLineArguments.cpp

References allgroup, csvFormat, deviceName, exit(), groups, inpFileExists, inpFileName, Acts::Sycl::listPlatforms(), matches, onlyGpu, and Acts::UnitConstants::s.

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

bool CommandLineArguments::allgroup = false

Definition at line 15 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 15 of file CommandLineArguments.h

Referenced by main(), and parse().

bool CommandLineArguments::csvFormat = false

Definition at line 24 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 24 of file CommandLineArguments.h

Referenced by main(), and parse().

std::string CommandLineArguments::deviceName = ""

Definition at line 22 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 22 of file CommandLineArguments.h

Referenced by main(), and parse().

bool CommandLineArguments::dirExists = false

Definition at line 20 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 20 of file CommandLineArguments.h

bool CommandLineArguments::filterDuplicates = false

Look for spacepoint duplicates in the received input file, and remove them.

Definition at line 27 of file CommandLineArguments.hpp.

View newest version in sPHENIX GitHub at line 27 of file CommandLineArguments.hpp

Referenced by interpret(), and main().

unsigned int CommandLineArguments::groups = 500

Definition at line 18 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 18 of file CommandLineArguments.h

Referenced by main(), and parse().

std::size_t CommandLineArguments::groupsToIterate = 500

The number of groups to process as a maximum.

Definition at line 25 of file CommandLineArguments.hpp.

View newest version in sPHENIX GitHub at line 25 of file CommandLineArguments.hpp

Referenced by interpret(), and main().

bool CommandLineArguments::inpFileExists = false

Definition at line 19 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 19 of file CommandLineArguments.h

Referenced by main(), and parse().

std::string CommandLineArguments::inpFileName = ""

Definition at line 23 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 23 of file CommandLineArguments.h

Referenced by main(), and parse().

bool CommandLineArguments::matches = false

Definition at line 17 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 17 of file CommandLineArguments.h

Referenced by main(), and parse().

bool CommandLineArguments::onlyGpu = false

Definition at line 16 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 16 of file CommandLineArguments.h

Referenced by main(), and parse().

bool CommandLineArguments::onlyGPU = false

Run the seed finding using only the GPU implementation.

Definition at line 23 of file CommandLineArguments.hpp.

View newest version in sPHENIX GitHub at line 23 of file CommandLineArguments.hpp

Referenced by interpret(), and main().

bool CommandLineArguments::outFileExists = false

Definition at line 21 of file CommandLineArguments.h.

View newest version in sPHENIX GitHub at line 21 of file CommandLineArguments.h

bool CommandLineArguments::quiet = false

Do not print the properties of the reconstructed seeds.

Definition at line 21 of file CommandLineArguments.hpp.

View newest version in sPHENIX GitHub at line 21 of file CommandLineArguments.hpp

Referenced by interpret().

std::string CommandLineArguments::spFile = "sp.txt"

Spacepoint file to use.

Definition at line 19 of file CommandLineArguments.hpp.

View newest version in sPHENIX GitHub at line 19 of file CommandLineArguments.hpp

Referenced by interpret(), and main().


The documentation for this struct was generated from the following files: