Removing dollar from the comment string used for metadata of the OCDB entry (this...
[u/mrichter/AliRoot.git] / PMD / AliPMDReconstructor.cxx
CommitLineData
05f4fa74 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///////////////////////////////////////////////////////////////////////////////
17// //
18// class for PMD reconstruction //
19// //
20///////////////////////////////////////////////////////////////////////////////
21
22#include "Riostream.h"
23#include "AliPMDReconstructor.h"
05f4fa74 24#include "AliRun.h"
25#include "AliPMDClusterFinder.h"
26#include "AliPMDtracker.h"
01b56f5c 27#include "AliRawReader.h"
05f4fa74 28#include "AliESDPmdTrack.h"
af885e0f 29#include "AliESDEvent.h"
cb6ed79d 30#include "AliLog.h"
05f4fa74 31
05f4fa74 32ClassImp(AliPMDReconstructor)
33
05f4fa74 34// ------------------------------------------------------------------------ //
35
cb6ed79d 36void AliPMDReconstructor::Reconstruct(AliRawReader *rawReader,
37 TTree *clustersTree) const
05f4fa74 38{
cb6ed79d 39// reconstruct clusters from Raw Data
40
41 AliPMDClusterFinder pmdClus;
42 pmdClus.Digits2RecPoints(rawReader, clustersTree);
43
44}
45
46// ------------------------------------------------------------------------ //
8fbad6d3 47void AliPMDReconstructor::Reconstruct(TTree *digitsTree,
48 TTree *clustersTree) const
49{
50// reconstruct clusters from Raw Data
51
52 AliPMDClusterFinder pmdClus;
53 pmdClus.Digits2RecPoints(digitsTree, clustersTree);
54
55}
56
57// ------------------------------------------------------------------------ //
cb6ed79d 58void AliPMDReconstructor::FillESD(AliRawReader* /*rawReader*/,
af885e0f 59 TTree* clustersTree, AliESDEvent* esd) const
cb6ed79d 60{
05f4fa74 61 AliPMDtracker pmdtracker;
cb6ed79d 62 pmdtracker.LoadClusters(clustersTree);
05f4fa74 63 pmdtracker.Clusters2Tracks(esd);
05f4fa74 64}
8fbad6d3 65// ------------------------------------------------------------------------ //
66void AliPMDReconstructor::FillESD(TTree * /*digitsTree*/,
af885e0f 67 TTree* clustersTree, AliESDEvent* esd) const
8fbad6d3 68{
69 AliPMDtracker pmdtracker;
70 pmdtracker.LoadClusters(clustersTree);
71 pmdtracker.Clusters2Tracks(esd);
72}
cb6ed79d 73
74