summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
799564e)
Disable loading of libraries, not needed at GSI machines anymore - rec.C
Adding the function AliTPCjobs - AliTPCjobs.cxx
(Marian)
.L $ALICE_ROOT/TPC/macros/testTPC/AliTPCjobs.cxx+
.L $ALICE_ROOT/TPC/macros/testTPC/AliTPCjobs.cxx+
AliTPCJobs jobs;
jobs.fJobFile="job.list"
jobs.ProcessAllJobs();
*/
AliTPCJobs jobs;
jobs.fJobFile="job.list"
jobs.ProcessAllJobs();
*/
class AliTPCJobs : public TNamed{
public:
AliTPCJobs();
class AliTPCJobs : public TNamed{
public:
AliTPCJobs();
SetLock(jobID);
if (action.Contains("COPY")){
char command[10000];
SetLock(jobID);
if (action.Contains("COPY")){
char command[10000];
- sprintf(command,"xrdcp -d 1 -DIFirstConnectMaxCnt 2 -DIConnectTimeout 2 -DIRequestTimeout 2 -DIMaxRedirectcount 2 -DIRedirCntTimeout 2 %s\t%s\n",inputData.Data(), outputDir.Data());
+ sprintf(command,"xrdcp -DIFirstConnectMaxCnt 4 -DIConnectTimeout 4 -DIRequestTimeout 4 -DIMaxRedirectcount 4 -DIRedirCntTimeout 4 %s\t%s\n",inputData.Data(), outputDir.Data());
printf("Exec\t%s\n", command);
gSystem->Exec(command);
//TFile::Cp(inputData.Data(), outputDir.Data());
printf("Exec\t%s\n", command);
gSystem->Exec(command);
//TFile::Cp(inputData.Data(), outputDir.Data());
+
+
+
+void AliTPCjobs(){
+ //
+ //
+ //
+ AliTPCJobs jobs;
+ jobs.fJobFile="job.list";
+ jobs.ProcessAllJobs();
+}
+mkdir -p /tmp/$USER/$1/$4
+
+cd /tmp/$USER/$1/$4
-command xrdcp $2 data.root
echo aliroot -b -q $ALICE_ROOT/TPC/macros/testTPC/$4.C
echo aliroot -b -q $ALICE_ROOT/TPC/macros/testTPC/$4.C
-command aliroot -b -q $ALICE_ROOT/TPC/macros/testTPC/$4.C
+aliroot -b -q $ALICE_ROOT/TPC/macros/testTPC/$4.C
+echo END ACTION $1
+
+ls -al
+echo CREATING ZIP FILE
+zip -n root $4 *.root
+echo COPING DATA
for name in `ls *.root`; do
for name in `ls *.root`; do
- xrdcp $name $3/$4/$name
+ echo xrdcp $name $3/$4/$name
+ xrdcp -np $name $3/$4/$name
+echo xrdcp -np $4.zip $3/$4.zip
+ xrdcp -np $4.zip $3/$4.zip
-void rec(const char *filename="data.root", const char *ocdbpath = "alien://folder=/alice/data/2007/LHC07w/OCDB/")\r
+void rec(const char *filename="data.root", const char *ocdbpath = "local:///d/alice12/miranov/testTPC/OCDB/")\r
- gSystem->Load("libXrdClient.so");
- gSystem->Load("libNetx.so");
+ //gSystem->Load("libXrdClient.so");
+ //gSystem->Load("libNetx.so");
AliLog::SetClassDebugLevel("AliTPCRawStream",-5);
AliLog::SetClassDebugLevel("AliRawReaderDate",-5);
AliLog::SetClassDebugLevel("AliTPCAltroMapping",-5);
AliLog::SetModuleDebugLevel("RAW",-5);
AliLog::SetGlobalLogLevel(3);
AliLog::SetClassDebugLevel("AliTPCRawStream",-5);
AliLog::SetClassDebugLevel("AliRawReaderDate",-5);
AliLog::SetClassDebugLevel("AliTPCAltroMapping",-5);
AliLog::SetModuleDebugLevel("RAW",-5);
AliLog::SetGlobalLogLevel(3);
//
// First version of the reconstruction
// script for the FDR'07
//
// First version of the reconstruction
// script for the FDR'07
rec.SetRunV0Finder(kFALSE);
rec.SetRunVertexFinder(kFALSE);
rec.SetRunV0Finder(kFALSE);
rec.SetRunVertexFinder(kFALSE);
// Detector options if any
rec.SetOption("MUON","SAVEDIGITS");
// Detector options if any
rec.SetOption("MUON","SAVEDIGITS");
cout << "--------- Reconstruction Completed. Start merging QAs -----------" << endl;
cout << "-----------------------------------------------------------------" << endl;
cout << "-----------------------------------------------------------------" << endl;
cout << "--------- Reconstruction Completed. Start merging QAs -----------" << endl;
cout << "-----------------------------------------------------------------" << endl;
cout << "-----------------------------------------------------------------" << endl;
- AliQADataMakerSteer qas;
- qas.Merge();
+ //
+ cout <<" EXITING RECONSTRUNCTION SESSION\n";
+ //
+ exit();
+ // AliQADataMakerSteer qas;
+ // qas.Merge();