Added setting selection for MakeDigits, MakeSDigits, MakeDigitsFromHits,
authorivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Apr 2008 12:42:29 +0000 (12:42 +0000)
committerivana <ivana@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 1 Apr 2008 12:42:29 +0000 (12:42 +0000)
to avoid running QA for other detectors.

MUON/runSimulation.C

index 9316d49..9afb3ef 100644 (file)
@@ -41,6 +41,12 @@ void runSimulation(int seed, int nevents, const char* config)
   MuonSim.SetSeed(seed);
   MuonSim.SetMakeTrigger("MUON");
   MuonSim.SetWriteRawData("MUON","raw.root",kTRUE);
+
+  MuonSim.SetMakeDigits("MUON");
+  MuonSim.SetMakeSDigits("MUON");
+  MuonSim.SetMakeDigitsFromHits("");
+
   MuonSim.Run(nevents);
   //gObjectTable->Print();
+
 }