Public Types |
enum | TaskType { TaskSink = 0,
TaskSource = 1,
TaskDetector = 2
} |
| Type of the builder instance.
More...
|
Public Member Functions |
| Config (int rank, int nprocs, int buffer_count, size_t max_payload_size, int argc, char *argv[]) |
| Config Constructor.
|
int | destCount () const |
| Get the number of destinations for this process.
|
int | destStart () const |
| Get the rank of the first destination for this process.
|
int | srcCount () const |
| Get the number of sources for this process.
|
int | srcStart () const |
| Get the rank of the first source for this process.
|
int | getDestFriend () const |
| Get the corresponding destination for this source.
|
int | getSrcFriend () const |
| Get the corresponding source for this destination.
|
int | getArtArgc (int argc, char *argv[]) const |
| Gets the count of arguments after a -- delimiter.
|
char ** | getArtArgv (int argc, char *argv[]) const |
| Get the array of arguments after a -- delimiter.
|
std::string | typeName () const |
| Get the name of the type of this process.
|
void | writeInfo () const |
| Write information about this Config class to a file.
|
void | print (std::ostream &ost) const |
| Dump configuration information (space delimited) to a stream.
|
void | printHeader (std::ostream &ost) const |
| Write configuration parameter names to a stream.
|
fhicl::ParameterSet | makeParameterSet () const |
| Write a ParameterSet using configuration.
|
fhicl::ParameterSet | getArtPset () |
| Get the ParameterSet to use to configure art.
|
Static Public Member Functions |
static void | throwUsage (char *argv0, const std::string &msg) |
| Write the usage to cerr and throw an exception.
|
static double | getArgDetectors (int argc, char *argv[]) |
| Get the detectors count from the command line.
|
static double | getArgSinks (int argc, char *argv[]) |
| Get the sink count from the command line.
|
static int | getArgQueueSize (int argc, char *argv[]) |
| Get the Queue Size from the command line.
|
static int | getArgRun (int argc, char *argv[]) |
| Get the Run number from the command line.
|
static std::string | getProcessorName () |
| Call MPI_Get_processor_name.
|
Public Attributes |
int | rank_ |
| Rank of this application.
|
int | total_procs_ |
| Total number of processes.
|
int | detectors_ |
| Count of detectors.
|
int | sources_ |
| Count of source.
|
int | sinks_ |
| Count of sinks.
|
int | detector_start_ |
| Rank of first detector.
|
int | source_start_ |
| Rank of first source.
|
int | sink_start_ |
| Rank of first sink.
|
int | event_queue_size_ |
| Size of the Event Queue.
|
int | run_ |
| Run Number.
|
int | buffer_count_ |
| Maximum number of simulatneous Fragments.
|
size_t | max_payload_size_ |
| Maximum size of Fragments to create/transfer.
|
TaskType | type_ |
| Type of this Builder application.
|
int | offset_ |
| Offset from the start rank for this type.
|
std::string | node_name_ |
| Name of this node, from MPI_Get_processor_name.
|
int | art_argc_ |
| Count of arguments used for art.
|
char ** | art_argv_ |
| Arguments used for art.
|
bool | use_artapp_ |
| Whether to use art.
|
Static Public Attributes |
static const char * | usage = "DetectorsPerNode SinksPerNode Run" |
| String for command-line arguments.
|
Helper class for configuring the builder test.