/[PAMELA software]/calo/flight/FQLOOK/src/FCaloQLOOK.cc
ViewVC logotype

Diff of /calo/flight/FQLOOK/src/FCaloQLOOK.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by mocchiut, Fri Sep 22 13:38:59 2006 UTC revision 1.7 by mocchiut, Sun Sep 24 13:44:49 2006 UTC
# Line 113  int main(int numinp, char *inps[]){ Line 113  int main(int numinp, char *inps[]){
113      return(0);          return(0);    
114    };    };
115    //    //
116      stringstream figsave;    
117    if ( !beverbose ){    if ( !beverbose ){
118      //      //
119      const string fil = gSystem->BaseName(name.Data());      const string fil = gSystem->BaseName(name.Data());
# Line 128  int main(int numinp, char *inps[]){ Line 129  int main(int numinp, char *inps[]){
129      const char *figrec = file2;      const char *figrec = file2;
130      //      //
131      const char *outDir = outdir;      const char *outDir = outdir;
     stringstream figsave;      
132      figsave.str("");      figsave.str("");
133      figsave << outDir << "/" ;      figsave << outDir << "/" ;
134      figsave << figrec << "_CaloQLOOK.txt";      figsave << figrec << "_CaloQLOOK.txt";
135      //      //
136      // redirect to /dev/null the stdout and stderr      // redirect to /dev/null the stdout and stderr
137      //      //
138      nul = open(figsave.str().c_str(), O_CREAT | O_RDWR,S_IREAD | S_IWRITE);      nul = open(figsave.str().c_str(), O_CREAT | O_RDWR,S_IREAD | S_IWRITE | S_IRGRP | S_IWGRP | S_IROTH);
139      dup2(nul,1);      dup2(nul,1);
140      dup2(nul,2);      dup2(nul,2);
141    };    };

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23