]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/Config.C
Corrected for a double counting for charges >1
[u/mrichter/AliRoot.git] / MUON / Config.C
index a598a92d3323c53d652a6e3a63e66a9fbd7c1b6f..0552ab5c73d5388ab7b53ef7a8f0db2767728788 100644 (file)
@@ -1,6 +1,27 @@
-// Config file test for MUON spectormeter
-// Remember to define the directory and option
-// gAlice->SetConfigFunction("Config('$HOME','box');");
+/**************************************************************************
+ * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
+ *                                                                        *
+ * Author: The ALICE Off-line Project.                                    *
+ * Contributors are mentioned in the code where appropriate.              *
+ *                                                                        *
+ * Permission to use, copy, modify and distribute this software and its   *
+ * documentation strictly for non-commercial purposes is hereby granted   *
+ * without fee, provided that the above copyright notice appears in all   *
+ * copies and that both the copyright notice and this permission notice   *
+ * appear in the supporting documentation. The authors make no claims     *
+ * about the suitability of this software for any purpose. It is          *
+ * provided "as is" without express or implied warranty.                  *
+ **************************************************************************/
+
+/* $Id$ */
+
+/// \ingroup macros
+/// \file Config.C
+/// \brief Configuration macro for MUON spectormeter simulation
+///
+/// Remember to define the directory and event generator option:
+///
+/// gAlice->SetConfigFunction("Config('$HOME','box');");
 
 void Config(char directory[100]="", char option[6]="param", const char* digitstore="AliMUONDigitStoreV2S")
 {
@@ -182,6 +203,9 @@ void Config(char directory[100]="", char option[6]="param", const char* digitsto
   // Noise-only digits in tracker/trigger (0=no noise, 1=default (noise in tracker), 2=noise in tracker and trigger):
   //MUON->SetDigitizerWithNoise(kFALSE);
 
+  // Use fast raw data decoder
+  // MUON->SetFastDecoder(kTRUE);  
+  
   //
   // If SetAlign, the detection elements transformations
   // are taken from the input file and not from the code
@@ -189,6 +213,9 @@ void Config(char directory[100]="", char option[6]="param", const char* digitsto
 
   // To generate and read scaler trigger events in rawdata
   // MUON->SetTriggerScalerEvent();
+  
+  // To switch off the tail effect
+  // MUON->SetTailEffect(kFALSE);
 
   // If you want to play with builders, first reset the geometry builder,
   // and then add yours.