ROOT logo
/**
 * @file   CentralAODConfig.C
 * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
 * @date   Tue Apr 26 22:10:18 2011
 * 
 * @brief  
 * 
 * 
 * @ingroup pwglf_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.
 * 
 * @param task  Task to configure 
 *
 * @ingroup pwglf_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 - deprecated
  // The tasks stores the per-event phi acceptance in the overflow bin 
  // and the eta coverage in the underflow bin.  Use these to correct the 
  // data for acceptance. 
  task->SetUseAcceptance(false);
  // Whether to make diagnostics or not - off by default
  // task->SetMakeDiagnostics(true);

  // --- Event inspector ---------------------------------------------
  // Set the number of SPD tracklets for which we consider the event a
  // low flux event
  task->GetEventInspector().SetLowFluxCut(1000); 
  // Set the maximum error on v_z [cm]
  task->GetEventInspector().SetMaxVzErr(0.2);
  // Least number of constributors to 2nd pile-up vertex
  task->GetEventInspector().SetMinPileupContributors(3);
  // Least distance from primary to 2nd pile-up vertex (cm)
  task->GetEventInspector().SetMinPileupDistance(.8);
  // V0-AND triggered events flagged as NSD 
  // task->GetEventInspector().SetUseV0AndForNSD(false);
  // Use primary vertex selection from 1st physics WG
  // task->GetEventInspector().SetUseFirstPhysicsVtx(true);
  // Use satellite collisions
  // task->GetEventInspector().SetUseDisplacedVertices(true);
  // task->GetEventInspector().SetDebug(4);
}

//
// EOF
//
 CentralAODConfig.C:1
 CentralAODConfig.C:2
 CentralAODConfig.C:3
 CentralAODConfig.C:4
 CentralAODConfig.C:5
 CentralAODConfig.C:6
 CentralAODConfig.C:7
 CentralAODConfig.C:8
 CentralAODConfig.C:9
 CentralAODConfig.C:10
 CentralAODConfig.C:11
 CentralAODConfig.C:12
 CentralAODConfig.C:13
 CentralAODConfig.C:14
 CentralAODConfig.C:15
 CentralAODConfig.C:16
 CentralAODConfig.C:17
 CentralAODConfig.C:18
 CentralAODConfig.C:19
 CentralAODConfig.C:20
 CentralAODConfig.C:21
 CentralAODConfig.C:22
 CentralAODConfig.C:23
 CentralAODConfig.C:24
 CentralAODConfig.C:25
 CentralAODConfig.C:26
 CentralAODConfig.C:27
 CentralAODConfig.C:28
 CentralAODConfig.C:29
 CentralAODConfig.C:30
 CentralAODConfig.C:31
 CentralAODConfig.C:32
 CentralAODConfig.C:33
 CentralAODConfig.C:34
 CentralAODConfig.C:35
 CentralAODConfig.C:36
 CentralAODConfig.C:37
 CentralAODConfig.C:38
 CentralAODConfig.C:39
 CentralAODConfig.C:40
 CentralAODConfig.C:41
 CentralAODConfig.C:42
 CentralAODConfig.C:43
 CentralAODConfig.C:44
 CentralAODConfig.C:45
 CentralAODConfig.C:46
 CentralAODConfig.C:47
 CentralAODConfig.C:48
 CentralAODConfig.C:49
 CentralAODConfig.C:50
 CentralAODConfig.C:51
 CentralAODConfig.C:52
 CentralAODConfig.C:53
 CentralAODConfig.C:54
 CentralAODConfig.C:55
 CentralAODConfig.C:56
 CentralAODConfig.C:57
 CentralAODConfig.C:58
 CentralAODConfig.C:59