]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Central AOD configuration script
authorcholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 26 Apr 2011 20:18:25 +0000 (20:18 +0000)
committercholm <cholm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 26 Apr 2011 20:18:25 +0000 (20:18 +0000)
PWG2/FORWARD/analysis2/CentralAODConfig.C [new file with mode: 0644]

diff --git a/PWG2/FORWARD/analysis2/CentralAODConfig.C b/PWG2/FORWARD/analysis2/CentralAODConfig.C
new file mode 100644 (file)
index 0000000..f374c40
--- /dev/null
@@ -0,0 +1,36 @@
+/**
+ * @file   CentralAODConfig.C
+ * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
+ * @date   Tue Apr 26 22:10:18 2011
+ * 
+ * @brief  
+ * 
+ * 
+ * @ingroup pwg2_forward_scripts_tasks
+ */
+/**
+ * Configuration script for central multiplicity task.  
+ *
+ * You can copy this to your working directory or to some other
+ * directory up-front in your ROOT macro path, and edit it to suit your
+ * needs.
+ * 
+ * @ingroup pwg2_forward_aod
+ */
+void
+CentralAODConfig(AliCentralMultiplicityTask* task)
+{
+
+  // --- Set options on task -----------------------------------------
+  // Whether to do correction for secondaries
+  task->SetUseSecondary(true);
+  // Whether to do correction for acceptance
+  task->SetUseAcceptance(true);
+  // task->GetInspector().SetDebug(4);
+
+  // task->GetManager().SetSecMapPath(".");
+}
+
+//
+// EOF
+//