]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/AliFMDMultAlgorithm.cxx
New geometry: SDD, cables and update on V11 (L. Gaudichet)
[u/mrichter/AliRoot.git] / FMD / AliFMDMultAlgorithm.cxx
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$ */
17
18 //____________________________________________________________________
19 // 
20 // Base class for FMD reconstruction algorithms. 
21 //
22 // Derived classes will implement various ways of reconstructing the
23 // charge particle multiplicity in the FMD.  
24 // 
25 #include "AliFMDMultAlgorithm.h"        // ALIFMDMULTALGORITHM_H
26 #include "AliFMDDigit.h"                // ALIFMDDIGIT_H
27 #include <TClonesArray.h>               // ROOT_TClonesArray
28
29 //____________________________________________________________________
30 ClassImp(AliFMDMultAlgorithm);
31
32 //____________________________________________________________________
33 AliFMDMultAlgorithm::AliFMDMultAlgorithm(const char* name, const char* title)
34   : TNamed(name, title), 
35     fTreeR(0), 
36     fMult(0), 
37     fFMD(0)
38 {}
39
40 //____________________________________________________________________
41 AliFMDMultAlgorithm::~AliFMDMultAlgorithm()
42 {
43   if (fMult) delete fMult;
44 }
45
46
47 //____________________________________________________________________
48 void
49 AliFMDMultAlgorithm::PreEvent(TTree* treeR, Float_t /* ipZ */) 
50 {
51   if (fMult) fMult->Clear();
52   fNMult = 0;
53   fTreeR = treeR;
54 }
55
56
57
58 //____________________________________________________________________
59 // 
60 // EOF
61 //