ClassImp(AliTPCDigitizer)
//___________________________________________
- AliTPCDigitizer::AliTPCDigitizer() :AliDigitizer(),fDebug(0)
+ AliTPCDigitizer::AliTPCDigitizer() :AliDigitizer(),fDebug(0), fDebugStreamer(0)
{
//
// Default ctor - don't use it
//___________________________________________
AliTPCDigitizer::AliTPCDigitizer(AliDigitizationInput* digInput)
- :AliDigitizer(digInput),fDebug(0)
+ :AliDigitizer(digInput),fDebug(0), fDebugStreamer(0)
{
//
// ctor which should be used
//
AliDebug(2,"(AliDigitizationInput* digInput) was processed");
+ if (AliTPCReconstructor::StreamLevel()>0) fDebugStreamer = new TTreeSRedirector("TPCDigitDebug.root");
+
}
//------------------------------------------------------------------------
AliTPCDigitizer::~AliTPCDigitizer()
{
// Destructor
+ if (fDebugStreamer) delete fDebugStreamer;
}
//------------------------------------------------------------------------
-void AliTPCDigitizer::DigitizeWithTailAndCrossTalk(Option_t* option, TTreeSredirector *pcstream)
+void AliTPCDigitizer::DigitizeWithTailAndCrossTalk(Option_t* option)
{
// Modified version of the digitization function
// Modification: adding the ion tail and crosstalk:
/* $Id$ */
#include "AliDigitizer.h"
+class TTreeSredirector;
class AliDigitizationInput;
private:
void DigitizeFast(Option_t* option=0); //digitize - using row pointers
void DigitizeSave(Option_t* option=0); // digitize using controlled arrays
- Int_t fDebug;
+ void DigitizeWithTailAndCrossTalk(Option_t* option=0);
+ Int_t fDebug; //
+ TTreeSRedirector *fDebugStreamer; //!debug streamer
private:
ClassDef(AliTPCDigitizer,2) // MUON merging/digitization
};