//
// abstract class to optionally handle the raw buffer of
// EVERY EVENT (regardless of type) that comes through
// the pipeline/

#include "THaPostProcess.h"
#include "TList.h"

TList* THaPostProcess::fgModules = NULL;

using namespace std;

//_____________________________________________________________________________
THaPostProcess::THaPostProcess() : fIsInit(0) 
{
  // Constructor

  if( !fgModules ) fgModules = new TList;
  fgModules->Add( this );
}

//_____________________________________________________________________________
THaPostProcess::~THaPostProcess() 
{
  // Destructor

  fgModules->Remove( this );
  if( fgModules->GetSize() == 0 ) {
    delete fgModules; fgModules = NULL;
  }
}

//_____________________________________________________________________________
ClassImp(THaPostProcess)

Last change: Sat Nov 7 21:26:49 2009
Last generated: 2009-11-07 21:26

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.