21 int main(
int argc,
char **argv)
25 Int_t ret = r.
Init(argc, argv);
26 if (ret < 0)
return -ret;
27 if (ret > 0)
return 0;
33 std::cout <<
"Running Gain DA" << std::endl;
34 Bool_t success = r.
Exec(gainDA);
36 std::cout <<
"Failed to execute Gain DA" 42 const char* files[] = {
"conditions.csv",
49 if (ret > 0) std::cerr <<
"Upload of gains failed" << std::endl;
56 gROOT->SetMustClean(
false);
58 std::cout <<
"Sleep 1 second before getting out" << std::endl;
60 std::cout <<
"Now calling _exit(" << ret <<
") to finish NOW!" << std::endl;
64 std::cout <<
"End of FMD-Gain, return " << ret << std::endl;
Bool_t Exec(AliFMDBaseDA &da)
Manager of FMD parameters.
Int_t UploadFiles(const char **files, const char **ids, bool useOwn, bool verb=true)
void SetMakeSummaries(Bool_t save)
Int_t Init(int argc, char **argv, Bool_t reader=true)
int main(int argc, char **argv)
Bool_t PostSummaries(AliFMDBaseDA &da, const char *prefix, Int_t runNumber, bool verb=true)
static const char * GetGainShuttleID()
static const char * GetConditionsShuttleID()
static AliFMDParameters * Instance()