]>
Commit | Line | Data |
---|---|---|
c9b2f104 | 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 EMCAL | |
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 --- | |
d64c959b | 30 | |
c9b2f104 | 31 | // --- Standard library --- |
c9b2f104 | 32 | |
33 | // --- AliRoot header files --- | |
c9b2f104 | 34 | #include "AliEMCALPID.h" |
9f354b29 | 35 | #include "AliEMCALGetter.h" |
c9b2f104 | 36 | |
37 | ClassImp(AliEMCALPID) | |
38 | ||
39 | //____________________________________________________________________________ | |
40 | AliEMCALPID::AliEMCALPID():TTask("","") | |
41 | { | |
42 | // ctor | |
88cb7938 | 43 | fEventFolderName = "" ; |
a2088a90 | 44 | fFirstEvent = 0 ; |
45 | fLastEvent = -1 ; | |
c9b2f104 | 46 | } |
47 | ||
48 | ||
49 | //____________________________________________________________________________ | |
e191bb57 | 50 | AliEMCALPID::AliEMCALPID(const TString alirunFileName, const TString eventFolderName): |
51 | TTask("EMCAL"+AliConfig::Instance()->GetPIDTaskName(), alirunFileName), | |
52 | fEventFolderName(eventFolderName) | |
c9b2f104 | 53 | { |
54 | // ctor | |
a2088a90 | 55 | fFirstEvent = 0 ; |
56 | fLastEvent = -1 ; | |
c9b2f104 | 57 | } |
58 | ||
59 | //____________________________________________________________________________ | |
60 | AliEMCALPID::~AliEMCALPID() | |
61 | { | |
62 | // dtor | |
9f354b29 | 63 | //Remove this from the parental task before destroying |
64 | AliEMCALGetter::Instance()->EmcalLoader()->CleanPIDTask(); | |
c9b2f104 | 65 | |
c9b2f104 | 66 | } |