virtual void ProcessEvent(const event::Event *event)=0
void Initialize(char *config=NULL, const std::string &output_fname="", unsigned n_workers=1)
virtual ~PostProcessorBase()
virtual void ProcessSubRun(const SubRun *subrun)
std::vector< std::thread::id > fThreadIDs
virtual void FileSetup(TFile *f, TTree *eventTree)
virtual void FileCleanup(TTree *eventTree)
void Run(std::vector< std::string > filelist)
virtual void ProcessFileMeta(const FileMeta *filemeta)
virtual void InitializeThread()
void ProcessFile(const std::string &fname)
ProviderManager * fProviderManager
Interface for provider access.
A generic tree-reading event-by-event processor.