/[PAMELA software]/calo/ground/COMMON/inc/CaloFunctions.h
ViewVC logotype

Diff of /calo/ground/COMMON/inc/CaloFunctions.h

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

revision 1.1.1.1 by mocchiut, Tue Dec 6 10:18:53 2005 UTC revision 1.2 by mocchiut, Tue Dec 13 13:40:15 2005 UTC
# Line 1  Line 1 
1  //  //
2  //   Calorimeter useful functions and subroutines - Emiliano Mocchiutti  //   Calorimeter useful functions and subroutines - Emiliano Mocchiutti
3  //  //
4  //   CaloFunctions.h      version 4.00  (2005-11-29)  //   CaloFunctions.h      version 4.01  (2005-12-13)
5  //  //
6  //   Programs in this file are called by other programs and cannot be run by hand.  //   Programs in this file are called by other programs and cannot be run by hand.
7  //  //
8  //   Changelog:  //   Changelog:
9  //  //
10    //   4.00 - 4.01 (2005-12-13): bug in CaloFindCalibs (do not search on other calibration files when fails to find any calibration): fixed.
11    //
12  //   3.10 - 4.00 (2005-11-29): preparing for the final release, changed checkemilib (PAM_YODALIB -> PAM_YODA).  //   3.10 - 4.00 (2005-11-29): preparing for the final release, changed checkemilib (PAM_YODALIB -> PAM_YODA).
13  //  //
14  //   3.09 - 3.10 (2005-11-15): changed langaupro since it did not work in the compiled version; changed WhatToDo to work in compiled version.  //   3.09 - 3.10 (2005-11-15): changed langaupro since it did not work in the compiled version; changed WhatToDo to work in compiled version.
# Line 1325  void CaloFindCalibs(TString &filename, T Line 1327  void CaloFindCalibs(TString &filename, T
1327          if ( inter == 0 ){          if ( inter == 0 ){
1328              printf(" WARNING: no suitable calibration for section %i in this file!\n",s);              printf(" WARNING: no suitable calibration for section %i in this file!\n",s);
1329              printf(" I WILL SEARCH IN PREVIOUS FILES\n");              printf(" I WILL SEARCH IN PREVIOUS FILES\n");
1330                if ( !firstlook ){
1331                    wused = 2;
1332                    filename = calibfile;
1333                    firstlook = 1;
1334                    goto repeatsearch;
1335                };
1336          };          };
1337          if ( inter > 50 ){          if ( inter > 50 ){
1338              printf(" WARNING: cannot handle more than 50 calibrations for file!\n");              printf(" WARNING: cannot handle more than 50 calibrations for file!\n");
1339              printf(" I WILL SEARCH IN PREVIOUS FILES\n");              printf(" I WILL SEARCH IN PREVIOUS FILES\n");
1340              inter = 0;              inter = 0;
1341                if ( !firstlook ){
1342                    wused = 2;
1343                    filename = calibfile;
1344                    firstlook = 1;
1345                    goto repeatsearch;
1346                };
1347          };          };
1348          if ( obtjump ){          if ( obtjump ){
1349              calib.obtjump = 1;              calib.obtjump = 1;

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23