89 using namespace genie;
121 <<
"Creating/configuring a ROOT geom. driver";
126 geom -> SetWeightWithDensity (
true);
130 geom -> SetWeightWithDensity (
true);
137 <<
"Asking input GeomAnalyzerI for the max path-lengths";
142 <<
"Maximum path lengths: " << plmax;
152 LOG(
"gmxpl",
pINFO) <<
"Parsing command line arguments";
163 LOG(
"gmxpl",
pDEBUG) <<
"Reading output filename";
167 <<
"Unspecified output filename - Using default";
172 string lunits, dunits;
174 LOG(
"gmxpl",
pDEBUG) <<
"Checking for input geometry length units";
177 LOG(
"gmxpl",
pDEBUG) <<
"Using default geometry length units";
181 LOG(
"gmxpl",
pDEBUG) <<
"Checking for input geometry density units";
184 LOG(
"gmxpl",
pDEBUG) <<
"Using default geometry density units";
193 <<
"Reading root geometry top volume name";
197 <<
"Unspecified geometry top volume - Using default";
204 <<
"Reading input number of scanning points/surface";
208 <<
"Unspecified number of points - Using driver's default";
214 <<
"Reading input number of scanning rays/point";
218 <<
"Unspecified number of rays - Using driver's default";
224 <<
"Reading ROOT/GEANT geometry filename";
228 <<
"No geometry file was specified - Exiting";
235 LOG(
"gmxpl",
pINFO) <<
"Reading random number seed";
238 LOG(
"gmxpl",
pINFO) <<
"Unspecified random number seed - Using default";
246 LOG(
"gmxpl",
pNOTICE) <<
"Command line arguments";
262 <<
"\n\n" <<
"Syntax:" <<
"\n" 265 <<
" [-L length_units]" 266 <<
" [-D density_units]" 267 <<
" [-t top_volume_name]" 268 <<
" [-o output_xml_file]" 269 <<
" [-seed random_number_seed]" 270 <<
" [--message-thresholds xml_file]\n";
void RandGen(long int seed)
virtual const PathLengthList & ComputeMaxPathLengths(void)
string ArgAsString(char opt)
THE MAIN GENIE PROJECT NAMESPACE
void ReadFromCommandLine(int argc, char **argv)
string kDefOptXMLFilename
string gOptRootGeomTopVol
Object to be filled with the neutrino path-length, for all detector geometry materials, when starting from a position x and travelling along the direction of the neutrino 4-momentum.
void SaveAsXml(string filename) const
#define LOG(stream, priority)
A macro that returns the requested log4cpp::Category appending a string (using the FILE...
virtual void SetScannerNRays(int nr)
double UnitFromString(string u)
A ROOT/GEANT4 geometry driver.
int main(int argc, char **argv)
static RunOpt * Instance(void)
virtual void SetScannerNPoints(int np)
set geometry driver's configuration options
void GetCommandLineArgs(int argc, char **argv)
string PrintFramedMesg(string mesg, unsigned int nl=1, const char f='*')
void MesgThresholds(string inpfile)
Command line argument parser.
bool OptionExists(char opt)
was option set?