/[PAMELA software]/quicklook/anticounter/src/AcQLOOK.cpp
ViewVC logotype

Diff of /quicklook/anticounter/src/AcQLOOK.cpp

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

revision 1.4 by pam-se, Tue Jul 11 12:01:17 2006 UTC revision 1.5 by pamela, Sun Mar 18 14:24:31 2007 UTC
# Line 2  Line 2 
2  #include <PscuHeader.h>  #include <PscuHeader.h>
3  #include <EventHeader.h>  #include <EventHeader.h>
4    
5    #include <TFile.h>
6  #include <fstream>  #include <fstream>
7  #include <vector>  #include <vector>
8    #include <iostream>
9  #include <TCanvas.h>  #include <TCanvas.h>
10  #include <TLatex.h>  #include <TLatex.h>
11  #include <TLegend.h>  #include <TLegend.h>
# Line 16  Line 17 
17  #include <TH1.h>  #include <TH1.h>
18  #include <time.h>  #include <time.h>
19    
20  #include <utils/yodaUtility.h>  //#include <utils/yodaUtility.h>
21    
22  #define DEBUG 0  #define DEBUG 0
23  #define VERSION 1.5  #define VERSION 1.5
# Line 422  int AcQLOOKpro(TString base,int fromeven Line 423  int AcQLOOKpro(TString base,int fromeven
423    
424    // MISC VARIABLES    // MISC VARIABLES
425    
426    Double_t obt;    UInt_t obt;
427    Int_t hitsCARD,hitsCAT,hitsCAS;    Int_t hitsCARD,hitsCAT,hitsCAS;
428    Int_t interval_cnt = 0;    Int_t interval_cnt = 0;
429    Int_t paramEvent = 0;    Int_t paramEvent = 0;
# Line 1269  int main(int argc, char* argv[]){ Line 1270  int main(int argc, char* argv[]){
1270          if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) {          if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) {
1271              to = atoi(argv[i]);              to = atoi(argv[i]);
1272          } else {          } else {
1273              cerr << "-to needs a integer value. \n";              //err << "-to needs a integer value. \n";
1274              cout << "Try '--help' for more information. \n";              cout << "Try '--help' for more information. \n";
1275              exit(1);              exit(1);
1276          }          }
# Line 1284  int main(int argc, char* argv[]){ Line 1285  int main(int argc, char* argv[]){
1285          if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) {          if (isdigit(*argv[i]) && (atoi(argv[i]) > 0)) {
1286              from = atoi(argv[i]);              from = atoi(argv[i]);
1287          } else {          } else {
1288              cerr << "-from needs a integer value. \n";              //cerr << "-from needs a integer value. \n";
1289              cout << "Try '--help' for more information. \n";              cout << "Try '--help' for more information. \n";
1290              exit(1);              exit(1);
1291          }          }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23