Hall-D Software
alpha
|
Go to the source code of this file.
Typedefs | |
typedef void | SetTFilePtrAddress_t (TFile **) |
Functions | |
void | ParseCommandLineArguments (int &narg, char *argv[]) |
void | DecideOutputFilename (void) |
void | Usage (void) |
int | main (int narg, char *argv[]) |
Variables | |
TFile * | tfilePtr = NULL |
string | OUTPUT_FILENAME = "hd_root.root" |
string | COMMAND_LINE_OUTPUT_FILENAME = "" |
bool | filename_from_command_line = false |
typedef void SetTFilePtrAddress_t(TFile **) |
Definition at line 15 of file hd_root.cc.
void DecideOutputFilename | ( | void | ) |
Decide on the output filename to use based on the command line input and configuration parameter input. The command line takes precedence. This also makes sure to copy the filename that is being used into the configuration parameter.
Definition at line 92 of file hd_root.cc.
References COMMAND_LINE_OUTPUT_FILENAME, filename_from_command_line, and OUTPUT_FILENAME.
Referenced by main().
int main | ( | int | narg, |
char * | argv[] | ||
) |
Definition at line 29 of file hd_root.cc.
References DecideOutputFilename(), myproc, and ParseCommandLineArguments().
void ParseCommandLineArguments | ( | int & | narg, |
char * | argv[] | ||
) |
void Usage | ( | void | ) |
string COMMAND_LINE_OUTPUT_FILENAME = "" |
Definition at line 18 of file hd_root.cc.
Referenced by DecideOutputFilename().
bool filename_from_command_line = false |
Definition at line 19 of file hd_root.cc.
Referenced by DecideOutputFilename().
string OUTPUT_FILENAME = "hd_root.root" |
Definition at line 17 of file hd_root.cc.
Referenced by DecideOutputFilename(), and main().
TFile* tfilePtr = NULL |
Definition at line 16 of file hd_root.cc.