]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSPID.cxx
GetRandom returning impact parameter bin and flag for hard process added.
[u/mrichter/AliRoot.git] / PHOS / AliPHOSPID.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 //  Algorithm class for the identification of particles detected in PHOS        
20 //  base  class  of identified particle  
21 //  Why should I put meaningless comments
22 //  just to satisfy
23 //  the code checker                
24                          
25 //                  
26 //*-- Author: Yves Schutz (SUBATECH) & Dmitri Peressounko
27
28
29 // --- ROOT system ---
30
31 // --- Standard library ---
32
33
34 // --- AliRoot header files ---
35 #include "AliPHOSPID.h"
36
37 ClassImp(AliPHOSPID)
38
39 //____________________________________________________________________________
40   AliPHOSPID::AliPHOSPID():TTask("","")
41 {
42   // ctor
43   fSplitFile= 0 ; 
44
45 }
46
47
48 //____________________________________________________________________________
49 AliPHOSPID::AliPHOSPID(const char* headerFile, const char * name, const Bool_t toSplit):TTask(name, headerFile)
50 {
51   // ctor
52
53   fToSplit = toSplit ;
54   fSplitFile= 0 ; 
55 }
56
57 //____________________________________________________________________________
58   AliPHOSPID::AliPHOSPID(AliPHOSPID &pid):TTask(pid)
59 {
60   // copy ctor
61   fSplitFile = pid.fSplitFile ;
62   fToSplit   = pid.fToSplit ; 
63
64 }
65
66 //____________________________________________________________________________
67 AliPHOSPID::~AliPHOSPID()
68 {
69   // dtor
70         
71   fSplitFile = 0 ;
72 }