29 #include "EmulatorControl.h"
56 TDirectory *MainDir = gROOT;
63 if ( ! emulator->
Init() ) {
64 std::cout <<
"Cannot Init emulator" <<
std::endl;
return;
67 if ( MainDir != gROOT )
72 gROOT->GetListOfTasks()->Add(emulator->
GetConsumer());
114 #if !defined(__CINT__)
115 int main(
int argc,
char **argv)
118 TFile f(
"Offline.root",
"RECREATE");
Bool_t SetupWatchers(const char *df_type, FrameDispatcher *fd, const char *ext="")
It shows how to set up the watchers for different kind of data flow.
void OfflineWatchers(TFile *file=0x0)
This function shows how to do offline analysis using the watchers.
Cons_actor * GetConsumer()
virtual Bool_t Init(const Char_t *rootafp)
Init the emulator using a different root afp file for the producer.
header file for RootAFP.cpp
ADF::LogMessage & endl(ADF::LogMessage &log)
int main(int argc, char **argv)
virtual void SetDirectory(TDirectory *mother_dir_of_watcher, TDirectory *mother_dir_for_tag, Bool_t load_objects=true)
change directories and Load objects if required