10 fRun->SetOutputFile(
"simulation.root");
21 calo->DeclareGeantSensitiveVolume(
"CaloCrystal");
23 fRun->AddModule(calo);
31 boxGen->SetMomentum(momentum);
32 boxGen->SetTheta(
theta);
34 fRun->AddGenerator(boxGen);
40 ((TGeant4*)gMC)->ProcessGeantCommand(
"/mcPhysics/rangeCuts 0.01 mm");