Skip to content
Snippets Groups Projects
Commit b411f0d2 authored by Hernán Asorey's avatar Hernán Asorey
Browse files

Merge branch 'solmuon'

parents 5778d288 b47e8f4b
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
...@@ -8,9 +8,9 @@ ...@@ -8,9 +8,9 @@
* Centro Atómico Bariloche - San Carlos de Bariloche, Argentina */ * Centro Atómico Bariloche - San Carlos de Bariloche, Argentina */
/* LICENSE GPLv3 /* LICENSE GPLv3
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or * the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
...@@ -36,17 +36,19 @@ ...@@ -36,17 +36,19 @@
using namespace std; using namespace std;
//global variables //global variables
int irange=0, iband=0, ipeak=0, icompress=0, iflux = 0, iverbose=0; int irange=0, ipos=0, iband=0, ipeak=0, icompress=0, iflux = 0, iauto=1, iverbose=0;
int check = 0; int check = 0;
const int maxcharge=4096; const int max_charge=4096;
int avg_time = 10;
double fluxtime=1.; double fluxtime=1.;
int channel=0, start=0, width=0, qs=0, end=maxcharge, qe=maxcharge; double diameter = 0., height = 0.;
int channel=0, start=0, width=0, qs=0, end=max_charge, qe=max_charge;
char type='0'; //charge char type='0'; //charge
int Open(char *nfi); int Open(char *nfi);
inline double sign(double x); inline double sign(double x);
inline double log10(double x); inline double log10(double x);
double itpl_pos(double *pos_avg, double *chr_der, int i); double itpl_pos(double *pos_avg, double *chr_der, int i);
double itpl_chr(double *pos_avg, double *chr_der, int i, double x); double itpl_chr(double *pos_avg, double *chr_der, int i, double x);
double fitHisto(int xi, int xf, double* h, double* r); double fitHisto(int xi, int xf, double* h, double* r);
void Usage(char *prog); void Usage(char *prog);
FILE *fi, *out, *cal; FILE *fi, *out, *cal, *muo, *pof, *lof;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment