]> jspc29.x-matter.uni-frankfurt.de Git - radhard.git/commitdiff
storepathOutLinux added to save files hardcoded in /d/garlic/Mi34/rootFiles
authorDennis Doering <doering@physik.uni-frankfurt.de>
Tue, 16 Jun 2015 13:16:05 +0000 (15:16 +0200)
committerDennis Doering <doering@physik.uni-frankfurt.de>
Tue, 16 Jun 2015 13:16:05 +0000 (15:16 +0200)
to avoid the permission problem of folders under linux

MABS_run_analyzer/MAPS.c
MABS_run_analyzer/Run.c
MABS_run_analyzer/Run.h

index 495bda47d0131f6041bafc585052604a2f9d238d..b3a5cb09d1ff97b8221536e93b3e218dba63903b 100644 (file)
@@ -192,7 +192,7 @@ void MAPS::save() {
 Bool_t MAPS::initMapsRun( ) {
 // 
     fInDir=run->storepathRAWLinux;
-    fOutDir = run->storepathRAWLinux; // default ouput directory is input directory
+    fOutDir = run->storepathOutLinux; // default ouput directory is input directory
        
        fRunNumber = run->labbook.runnumber;
     fRows = run->sensorinfocur.rows;
@@ -201,7 +201,7 @@ Bool_t MAPS::initMapsRun( ) {
        fMatrix =  run->labbook.matrix;
        fSystem = run->labbook.system;
     fConfigFile = fInDir+Form("/RUN_%i_i.rz",fRunNumber);
-    fRootFile   = fInDir+Form("/RUN_%i_i.root",fRunNumber);
+    fRootFile   = fOutDir+Form("/RUN_%i_i.root",fRunNumber);
 
     cout<<"================================================================="<<endl;
     cout<<"-----------------------"  << endl;
index c4fb8542938d7085e79ccb390c38440f0dacc7ab..4413de9616aa8683f5707edd25de947f19e713a7 100644 (file)
@@ -85,7 +85,7 @@ Run::Run(Int_t runnumber, Int_t loopi)
 //                 storepathRAWLinux = storepathRAWLinux.ReplaceAll("s:","/home/blinnik/garlic/local");
                 storepathRAWLinux = storepathRAWLinux.ReplaceAll("\\","/");
             } else storepathRAWLinux=Form("/d/garlic/pegasus/%d",runnumber); // default empty path, for pegasus
-            savepathresults = storepathRAWLinux;
+            savepathresults = storepathOutLinux;
             labbook.chipGen = (rowsql->GetField(9) != NULL)?std::string(rowsql->GetField(9)):"";
             labbook.posVetoDB = (rowsql->GetField(10) != NULL)?atoi(rowsql->GetField(10)):-1;
             labbook.posSeedDB = (rowsql->GetField(11) != NULL)?atoi(rowsql->GetField(11)):-1;
index 9b17c74981ce2fa738ede98f6131a628703e9d69..34286477381cf3209c3ebf48cbb3803a25bb7c85 100644 (file)
@@ -403,7 +403,7 @@ public:
     
     /// path to the RAW files on LINUX systems
     TString storepathRAWLinux = "";
-    
+    TString storepathOutLinux = "/d/garlic/Mi34/rootFiles";
     /// path to the RAW files on LINUX systems
     TString savepathresults = ".";