1 #ifndef _EmulatorControl
2 #define _EmulatorControl
21 TString DoROOTAFPConf(Int_t which_run,
const char *path,
const char *which_adf_data,
const char *run_pat, Option_t *opt_adf_pattern,
const char *tmp_rootafp_filename);
47 virtual Bool_t
Init(
const Char_t *rootafp);
48 virtual Bool_t
Init(Int_t which_run,
const char *path,
const char *which_adf_data,
const char *run_name_pattern, Option_t *opt_adf_pattern);
51 virtual Bool_t
Run(UInt_t = kMaxUInt)
78 virtual Bool_t HandleTimer(TTimer* timer);
82 TTask(
"_EmulatorControl",
"0"),
90 TTask(
"_EmulatorControl",
"0"),
104 void Run(UInt_t max_loop = kMaxUInt);
113 void Save(Option_t *opt =
"*");
TString GetRunDir() const
to get back the RunDirectory
virtual ADF::NarvalProducer * GetBaseProducer()
It defines the interface needed to be a narval actor (producer).
void Save(Option_t *opt="*")
Save the spectra.
Int_t GetRunNumber() const
to get back the run number
virtual ~BaseEmulatorChain()
virtual Bool_t Run(UInt_t=kMaxUInt)
loop
virtual ~EmulatorControl()
virtual ADF::NarvalConsumer * GetBaseConsumer()
virtual Bool_t Init()
It should be overwritten !
It defines the interface needed to be a consumer.
to have a common base class to be able to control the emulator through a TTask
void Run(UInt_t max_loop=kMaxUInt)
Run the emulator.
EmulatorControl(BaseEmulatorChain *emulator)
header file for NarvalInterface.cpp