/[PAMELA software]/calo/flight/FUTILITIES/src/FCaloADC2MIP.cc
ViewVC logotype

Diff of /calo/flight/FUTILITIES/src/FCaloADC2MIP.cc

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

revision 1.1.1.1 by mocchiut, Wed Mar 22 15:07:48 2006 UTC revision 1.2 by mocchiut, Mon Sep 22 20:18:53 2008 UTC
# Line 10  Line 10 
10  //  //
11  #include <TString.h>  #include <TString.h>
12  #include <iostream>  #include <iostream>
13  extern void FCaloADC2MIP(TString, TString, TString ,TString);  extern void FCaloADC2MIP(TString, TString, TString ,TString,Int_t);
14  extern void info();  extern void info();
15  using namespace std;  using namespace std;
16  //  //
# Line 19  int main(int numinp, char *inps[]){ Line 19  int main(int numinp, char *inps[]){
19    TString calname;    TString calname;
20    TString list;    TString list;
21    TString outdir;    TString outdir;
22      Int_t fit = 1;
23    if ( numinp < 5 ){    if ( numinp < 5 ){
24      if ( numinp == 2 ){      if ( numinp == 2 ){
25        if ( !strcmp(inps[1],"--version") ){        if ( !strcmp(inps[1],"--version") ){
# Line 65  int main(int numinp, char *inps[]){ Line 66  int main(int numinp, char *inps[]){
66      calname = (TString)inps[2];      calname = (TString)inps[2];
67      outdir = (TString)inps[3];      outdir = (TString)inps[3];
68      list = (TString)inps[4];      list = (TString)inps[4];
69        fit = (Int_t)inps[5];
70    };    };
71    //    //
72    FCaloADC2MIP(name,calname,outdir,list);    FCaloADC2MIP(name,calname,outdir,list,fit);
73    //    //
74    return(0);    return(0);
75  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.23