Hall A ROOT/C++ Analyzer (podd)
Loading...
Searching...
No Matches
THaPostProcess.cxx
Go to the documentation of this file.
1//
2// abstract class to optionally handle the raw buffer of
3// EVERY EVENT (regardless of type) that comes through
4// the pipeline/
5
6#include "THaPostProcess.h"
7#include "TList.h"
8
10
11using namespace std;
12
13//_____________________________________________________________________________
15{
16 // Constructor
17
18 if( !fgModules ) fgModules = new TList;
19 fgModules->Add( this );
20
21 // Tell analyzer not to use the return code from Process by default
22 // (backwards compatibility for existing modules)
24}
25
26//_____________________________________________________________________________
28{
29 // Destructor
30
31 fgModules->Remove( this );
32 if( fgModules->GetSize() == 0 ) {
33 delete fgModules; fgModules = nullptr;
34 }
35}
36
37//_____________________________________________________________________________
virtual Int_t GetSize() const
virtual ~THaPostProcess()
static TList * fgModules
void Add(TObject *obj) override
TObject * Remove(const TObjLinkPtr_t &lnk)
void ResetBit(UInt_t f)
STL namespace.
ClassImp(TPyArg)