]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWGLF/FORWARD/analysis2/CentralAODConfig.C
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGLF / FORWARD / analysis2 / CentralAODConfig.C
CommitLineData
9cdb4dbf 1/**
2 * @file CentralAODConfig.C
3 * @author Christian Holm Christensen <cholm@dalsgaard.hehi.nbi.dk>
4 * @date Tue Apr 26 22:10:18 2011
5 *
6 * @brief
7 *
8 *
bd6f5206 9 * @ingroup pwglf_forward_scripts_tasks
9cdb4dbf 10 */
11/**
12 * Configuration script for central multiplicity task.
13 *
14 * You can copy this to your working directory or to some other
15 * directory up-front in your ROOT macro path, and edit it to suit your
16 * needs.
17 *
290052e7 18 * @param task Task to configure
19 *
bd6f5206 20 * @ingroup pwglf_forward_aod
9cdb4dbf 21 */
22void
23CentralAODConfig(AliCentralMultiplicityTask* task)
24{
25
26 // --- Set options on task -----------------------------------------
27 // Whether to do correction for secondaries
28 task->SetUseSecondary(true);
bfab35d9 29 // Whether to do correction for acceptance - deprecated
30 // The tasks stores the per-event phi acceptance in the overflow bin
31 // and the eta coverage in the underflow bin. Use these to correct the
32 // data for acceptance.
33 task->SetUseAcceptance(false);
8449e3e0 34 // Whether to make diagnostics or not - off by default
35 // task->SetMakeDiagnostics(true);
66cf95f2 36
37 // --- Event inspector ---------------------------------------------
38 // Set the number of SPD tracklets for which we consider the event a
39 // low flux event
c8b1a7db 40 task->GetEventInspector().SetLowFluxCut(1000);
66cf95f2 41 // Set the maximum error on v_z [cm]
c8b1a7db 42 task->GetEventInspector().SetMaxVzErr(0.2);
66cf95f2 43 // Least number of constributors to 2nd pile-up vertex
c8b1a7db 44 task->GetEventInspector().SetMinPileupContributors(3);
66cf95f2 45 // Least distance from primary to 2nd pile-up vertex (cm)
c8b1a7db 46 task->GetEventInspector().SetMinPileupDistance(.8);
66cf95f2 47 // V0-AND triggered events flagged as NSD
c8b1a7db 48 // task->GetEventInspector().SetUseV0AndForNSD(false);
66cf95f2 49 // Use primary vertex selection from 1st physics WG
c8b1a7db 50 // task->GetEventInspector().SetUseFirstPhysicsVtx(true);
66cf95f2 51 // Use satellite collisions
c8b1a7db 52 // task->GetEventInspector().SetUseDisplacedVertices(true);
53 // task->GetEventInspector().SetDebug(4);
9cdb4dbf 54}
55
56//
57// EOF
58//