58 TDirectory *MainDir = gROOT;
65 if ( ! emulator.
Init() ) {
66 std::cout <<
"Cannot Init emulator" <<
std::endl;
111 #if !defined(__CINT__)
112 int main(
int argc,
char **argv)
115 TFile f(
"Offline.root",
"RECREATE");
virtual Bool_t Run(UInt_t max_loop=kMaxUInt_t)
loop
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.
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)
void OfflineWatchers(TFile *file=0x0)
This function shows how to do offline analysis using the watchers.
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