Added option to make raw
authorschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2004 15:30:49 +0000 (15:30 +0000)
committerschutz <schutz@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Aug 2004 15:30:49 +0000 (15:30 +0000)
PHOS/Simulation.C

index 94e8171..d176308 100644 (file)
@@ -51,6 +51,9 @@ void simu(Int_t nevents=1, TString opt="GSD", TString name="all")
   //Merging
   if ( opt.Contains("M") )
     sim.MergeWith("bgrd/galice.root") ;  
-  // to implement 
+  //Region of Interest
+  sim.SetRegionOfInterest(kFALSE) ; 
+  if ( opt.Contains("W") )
+     sim.SetWriteRawData(name.Data()) ;
   sim.Run(nevents) ;    
 }