]>
Commit | Line | Data |
---|---|---|
ffa6d63b | 1 | /************************************************************************** |
2 | * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
3 | * * | |
4 | * Author: The ALICE Off-line Project. * | |
5 | * Contributors are mentioned in the code where appropriate. * | |
6 | * * | |
7 | * Permission to use, copy, modify and distribute this software and its * | |
8 | * documentation strictly for non-commercial purposes is hereby granted * | |
9 | * without fee, provided that the above copyright notice appears in all * | |
10 | * copies and that both the copyright notice and this permission notice * | |
11 | * appear in the supporting documentation. The authors make no claims * | |
12 | * about the suitability of this software for any purpose. It is * | |
13 | * provided "as is" without express or implied warranty. * | |
14 | **************************************************************************/ | |
15 | ||
16 | /* $Id: */ | |
ffa6d63b | 17 | /* $Log: |
d75bea67 | 18 | 29.05.2001 Yuri Kharlov: |
19 | Everywhere reading the treese TTree->GetEvent(i) | |
20 | is replaced by reading the branches TBranch->GetEntry(0) | |
ffa6d63b | 21 | */ |
173558f2 | 22 | |
05a92d59 | 23 | /* $Log: |
24 | 08.2002 Dmitri Peressounko: | |
05a92d59 | 25 | */ |
ffa6d63b | 26 | |
27 | //_________________________________________________________________________ | |
28 | // A singleton. This class should be used in the analysis stage to get | |
29 | // reconstructed objects: Digits, RecPoints, TrackSegments and RecParticles, | |
30 | // instead of directly reading them from galice.root file. This container | |
9859bfc0 | 31 | // ensures, that one reads Digits, made of these particular digits, RecPoints, |
ffa6d63b | 32 | // made of these particular RecPoints, TrackSegments and RecParticles. |
33 | // This becomes non trivial if there are several identical branches, produced with | |
d75bea67 | 34 | // different set of parameters. |
ffa6d63b | 35 | // |
36 | // An example of how to use (see also class AliEMCALAnalyser): | |
37 | // AliEMCALGetter * gime = AliEMCALGetter::GetInstance("galice.root","test") ; | |
d75bea67 | 38 | // for(Int_t irecp = 0; irecp < gime->NRecParticles() ; irecp++) |
39 | // AliEMCALRecParticle * part = gime->RecParticle(1) ; | |
ffa6d63b | 40 | // ................ |
41 | // please->GetEvent(event) ; // reads new event from galice.root | |
42 | // | |
d75bea67 | 43 | //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko (RRC KI & SUBATECH) |
44 | //*-- Completely redesigned by Dmitri Peressounko March 2001 | |
45 | // | |
46 | //*-- YS June 2001 : renamed the original AliEMCALIndexToObject and make | |
05a92d59 | 47 | //*-- systematic usage of TFolders without changing the interface |
48 | //*-- YS August 2002 : clone PHOS as closely as possible and intoduction | |
49 |