8 float kInnerRadius = 30;
9 float kOutterRadius = 80;
10 float kHalfLength = 80;
13 int kNLongitudinalSteps;
15 std::cout <<
"fetching geo.dat..." << std::endl;
16 std::ifstream ifile(
"geo.dat");
17 ifile >> kFileNameRoot;
18 ifile >> kInnerRadius;
19 ifile >> kOutterRadius;
22 kNRadialSteps = (kOutterRadius-kInnerRadius)*10;
23 kNAzimuthalSteps = 18;
24 kNLongitudinalSteps = kHalfLength*20;
28 initialdensity =
new QPileUpToy(1.0/76628.0, 425.0 , 5
e+4, 6);
33 initialdensity->
TPCDimensions( kInnerRadius, kOutterRadius, kHalfLength );
34 initialdensity->
TPCGridSize( kNRadialSteps, kNAzimuthalSteps, kNLongitudinalSteps );
35 initialdensity->
Make();
37 delete initialdensity;