Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Anna
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LAGO
Software
Anna
Commits
b411f0d2
Commit
b411f0d2
authored
10 years ago
by
Hernán Asorey
Browse files
Options
Downloads
Plain Diff
Merge branch 'solmuon'
parents
5778d288
b47e8f4b
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sol.cc
+462
-42
462 additions, 42 deletions
sol.cc
sol.h
+10
-8
10 additions, 8 deletions
sol.h
with
472 additions
and
50 deletions
sol.cc
+
462
−
42
View file @
b411f0d2
This diff is collapsed.
Click to expand it.
sol.h
+
10
−
8
View file @
b411f0d2
...
@@ -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
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment