/[PAMELA software]/DarthVader/TrackerLevel2/src/TrkProcess.cpp
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/src/TrkProcess.cpp

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

revision 1.13 by pam-fi, Tue Nov 27 11:43:50 2007 UTC revision 1.14 by pam-fi, Wed Mar 5 17:00:19 2008 UTC
# Line 36  TrkProcess::TrkProcess(){ Line 36  TrkProcess::TrkProcess(){
36            
37      ostatus = 0;      ostatus = 0;
38    
39      npar=0;      npar = 0;
40    
41        nskip = 0;
42    
43  //     TrkParams::SetTrackingMode();  //     TrkParams::SetTrackingMode();
44  //     TrkParams::SetPrecisionFactor();  //     TrkParams::SetPrecisionFactor();
# Line 90  TrkProcess::TrkProcess(ULong64_t run, TF Line 92  TrkProcess::TrkProcess(ULong64_t run, TF
92            
93      npar=0;      npar=0;
94                    
95        nskip = 0;
96    
97  //     TrkParams::SetTrackingMode();  //     TrkParams::SetTrackingMode();
98  //     TrkParams::SetPrecisionFactor();  //     TrkParams::SetPrecisionFactor();
99  //     TrkParams::SetStepMin();    //     TrkParams::SetStepMin();  
# Line 165  int TrkProcess::HandleCustomPar(int ncus Line 169  int TrkProcess::HandleCustomPar(int ncus
169              continue;              continue;
170          }            }  
171          // -----------------------------------------------------//              // -----------------------------------------------------//    
172            if (!strcmp(vcustom[i], "-skip")){
173                if (++i >= ncustom)throw -3;
174                nskip = atoi(vcustom[i]);
175                continue;
176            }  
177            // -----------------------------------------------------//    
178          if ( atoi(vcustom[i]) < 0){          if ( atoi(vcustom[i]) < 0){
179              if (++i >= ncustom)throw -3;              if (++i >= ncustom)throw -3;
180              partype[npar]=-1*atoi(vcustom[i-1]);              partype[npar]=-1*atoi(vcustom[i-1]);
# Line 241  void TrkProcess::Dump(){ Line 251  void TrkProcess::Dump(){
251      cout << "   tracker-processing input-parameters   "<< endl;      cout << "   tracker-processing input-parameters   "<< endl;
252      cout << " |-------------------------------------| "<<endl;      cout << " |-------------------------------------| "<<endl;
253      cout << "   idRun           " << idrun << endl;      cout << "   idRun           " << idrun << endl;
254        cout << "                   (skip " << nskip <<" events)"<< endl;    
255      cout << "   get level1      " << get1 << endl;      cout << "   get level1      " << get1 << endl;
256      cout << "   full level1     " << full1 << endl;      cout << "   full level1     " << full1 << endl;
257      cout << "   get level2      " << get2 << endl;      cout << "   get level2      " << get2 << endl;
# Line 285  void TrkProcess::PrintHelp(){ Line 296  void TrkProcess::PrintHelp(){
296      printf( "\n --verbose, -v                  : verbose mode ");            printf( "\n --verbose, -v                  : verbose mode ");      
297      printf( "\n --debug, -d                    : debug mode ");      printf( "\n --debug, -d                    : debug mode ");
298      printf( "\n --warning, -w                  : warning mode ");            printf( "\n --warning, -w                  : warning mode ");      
299        printf( "\n -skip NEV                      : skip first NEV events from each run ");        
300  //    printf( "\n --standalone, -s   : standalone mode (without RunInfo) ... but it might not work \n");          //    printf( "\n --standalone, -s   : standalone mode (without RunInfo) ... but it might not work \n");        
301  //    printf( "\n -host HOST         : Name for the host                                      [default mysql://localhost/pamelaprod ]");  //    printf( "\n -host HOST         : Name for the host                                      [default mysql://localhost/pamelaprod ]");
302  //    printf( "\n -user USER         : Username for the DB                                    [default anonymous] ");  //    printf( "\n -user USER         : Username for the DB                                    [default anonymous] ");

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.23