Making Track arguments const
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALGetter.cxx
CommitLineData
ffa6d63b 1/**************************************************************************
173558f2 2
ffa6d63b 3 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
173558f2 4
ffa6d63b 5 * *
173558f2 6
ffa6d63b 7 * Author: The ALICE Off-line Project. *
173558f2 8
ffa6d63b 9 * Contributors are mentioned in the code where appropriate. *
173558f2 10
ffa6d63b 11 * *
173558f2 12
ffa6d63b 13 * Permission to use, copy, modify and distribute this software and its *
173558f2 14
ffa6d63b 15 * documentation strictly for non-commercial purposes is hereby granted *
173558f2 16
ffa6d63b 17 * without fee, provided that the above copyright notice appears in all *
173558f2 18
ffa6d63b 19 * copies and that both the copyright notice and this permission notice *
173558f2 20
ffa6d63b 21 * appear in the supporting documentation. The authors make no claims *
173558f2 22
ffa6d63b 23 * about the suitability of this software for any purpose. It is *
173558f2 24
ffa6d63b 25 * provided "as is" without express or implied warranty. *
173558f2 26
ffa6d63b 27 **************************************************************************/
28
173558f2 29
30
ffa6d63b 31/* $Id: */
32
173558f2 33
34
ffa6d63b 35/* $Log:
173558f2 36
d75bea67 37 29.05.2001 Yuri Kharlov:
173558f2 38
d75bea67 39 Everywhere reading the treese TTree->GetEvent(i)
173558f2 40
d75bea67 41 is replaced by reading the branches TBranch->GetEntry(0)
173558f2 42
ffa6d63b 43*/
173558f2 44
05a92d59 45/* $Log:
173558f2 46
05a92d59 47 08.2002 Dmitri Peressounko:
48
173558f2 49
50
05a92d59 51*/
ffa6d63b 52
173558f2 53
54
ffa6d63b 55//_________________________________________________________________________
173558f2 56
ffa6d63b 57// A singleton. This class should be used in the analysis stage to get
173558f2 58
ffa6d63b 59// reconstructed objects: Digits, RecPoints, TrackSegments and RecParticles,
173558f2 60
ffa6d63b 61// instead of directly reading them from galice.root file. This container
173558f2 62
ffa6d63b 63// ensures, that one reads Digits, made of these particular digits, RecPoints,
173558f2 64
ffa6d63b 65// made of these particular RecPoints, TrackSegments and RecParticles.
173558f2 66
ffa6d63b 67// This becomes non trivial if there are several identical branches, produced with
173558f2 68
d75bea67 69// different set of parameters.
173558f2 70
ffa6d63b 71//
173558f2 72
ffa6d63b 73// An example of how to use (see also class AliEMCALAnalyser):
173558f2 74
ffa6d63b 75// AliEMCALGetter * gime = AliEMCALGetter::GetInstance("galice.root","test") ;
173558f2 76
d75bea67 77// for(Int_t irecp = 0; irecp < gime->NRecParticles() ; irecp++)
173558f2 78
d75bea67 79// AliEMCALRecParticle * part = gime->RecParticle(1) ;
173558f2 80
ffa6d63b 81// ................
173558f2 82
ffa6d63b 83// please->GetEvent(event) ; // reads new event from galice.root
173558f2 84
ffa6d63b 85//
173558f2 86
d75bea67 87//*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (RRC KI & SUBATECH)
173558f2 88
d75bea67 89//*-- Completely redesigned by Dmitri Peressounko March 2001
173558f2 90
d75bea67 91//
173558f2 92
d75bea67 93//*-- YS June 2001 : renamed the original AliEMCALIndexToObject and make
173558f2 94
05a92d59 95//*-- systematic usage of TFolders without changing the interface
173558f2 96
05a92d59 97//*-- YS August 2002 : clone PHOS as closely as possible and intoduction
173558f2 98
05a92d59 99