/************************************************************************** * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * * * Author: The ALICE Off-line Project. * * Contributors are mentioned in the code where appropriate. * * * * Permission to use, copy, modify and distribute this software and its * * documentation strictly for non-commercial purposes is hereby granted * * without fee, provided that the above copyright notice appears in all * * copies and that both the copyright notice and this permission notice * * appear in the supporting documentation. The authors make no claims * * about the suitability of this software for any purpose. It is * * provided "as is" without express or implied warranty. * **************************************************************************/ /* $Id$ */ //____________________________________________________________________ // // Base class for FMD reconstruction algorithms. // // Derived classes will implement various ways of reconstructing the // charge particle multiplicity in the FMD. // #include "AliFMDMultAlgorithm.h" // ALIFMDMULTALGORITHM_H #include "AliFMDDigit.h" // ALIFMDDIGIT_H #include // ROOT_TClonesArray //____________________________________________________________________ ClassImp(AliFMDMultAlgorithm); //____________________________________________________________________ AliFMDMultAlgorithm::AliFMDMultAlgorithm(const char* name, const char* title) : TNamed(name, title), fTreeR(0), fMult(0), fFMD(0) {} //____________________________________________________________________ AliFMDMultAlgorithm::~AliFMDMultAlgorithm() { if (fMult) delete fMult; } //____________________________________________________________________ void AliFMDMultAlgorithm::PreEvent(TTree* treeR, Float_t /* ipZ */) { if (fMult) fMult->Clear(); fNMult = 0; fTreeR = treeR; } //____________________________________________________________________ // // EOF //