/************************************************************************** * Copyright(c) 1998-2000, 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 Detector specific Merging/Digitization // Collaborates with AliDigitizationInput class // Author: Jiri Chudoba (CERN) //---------------------------------------------------------------------- // system includes #include // ROOT includes // AliROOT includes #include "AliLog.h" #include "AliDigitizer.h" #include "AliDigitizationInput.h" ClassImp(AliDigitizer) //_______________________________________________________________________ AliDigitizer::AliDigitizer(const Text_t* name, const Text_t* title): TNamed(name,title), fDigInput(0) { // // Default ctor with name and title // } //_______________________________________________________________________ AliDigitizer::AliDigitizer(const AliDigitizer &dig): TNamed(dig.GetName(),dig.GetTitle()), fDigInput(0) { // // Copy ctor with // dig.Copy(*this); } //_______________________________________________________________________ void AliDigitizer::Copy(TObject &) const { AliFatal("Not yet implemented"); } //_______________________________________________________________________ AliDigitizer::AliDigitizer(AliDigitizationInput *digInput, const Text_t* name, const Text_t* title): TNamed(name,title), fDigInput(digInput) { // // ctor with name and title } //_______________________________________________________________________ AliDigitizer::~AliDigitizer() { } //_______________________________________________________________________ Int_t AliDigitizer::GetNInputStreams() const { // // return number of input streams // Int_t nInputStreams = 0 ; if (fDigInput) nInputStreams = fDigInput->GetNinputs() ; return nInputStreams ; }