Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
np
nptool
Commits
4d07ca4e
Commit
4d07ca4e
authored
6 months ago
by
Pierre Morfouace
Browse files
Options
Downloads
Patches
Plain Diff
updating e850
parent
0924ffdf
No related branches found
No related tags found
1 merge request
!27
Draft: [Epic] Preparation of the environement for the new GaseousDetectorScorers...
Pipeline
#351876
passed
6 months ago
Stage: build-NPLib
Stage: build-NPSimulation
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Projects/ana_e850/conversion/convert.C
+25
-20
25 additions, 20 deletions
Projects/ana_e850/conversion/convert.C
Projects/ana_e850/conversion/convert.h
+2
-2
2 additions, 2 deletions
Projects/ana_e850/conversion/convert.h
with
27 additions
and
22 deletions
Projects/ana_e850/conversion/convert.C
+
25
−
20
View file @
4d07ca4e
...
...
@@ -103,27 +103,32 @@ void convert(int run=48){
}
if
(
fVAMOS_TS_sec
>
0
||
fPISTA_TS_sec
>
0
){
for
(
int
p
=
0
;
p
<
Inner6MVM
;
p
++
){
//if(Inner6MVM==1){
int
crystal
=
Inner6MVN
[
p
];
double
E
=
Inner6MV
[
p
];
double
EHG
=
Inner20MV
[
p
];
double
TDC
=
DeltaTV
[
p
];
unsigned
long
long
TS
=
Inner6MVTS
[
p
];
int
seg
=
-
1
;
double
outers1
=
-
1000
;
double
outers2
=
-
1000
;
double
outers3
=
-
1000
;
double
outers4
=
-
1000
;
if
(
OutersVM
>
25
)
cout
<<
OutersVM
<<
endl
;
for
(
int
i
=
0
;
i
<
OutersVM
;
i
++
){
seg
=
OutersVN
[
i
]
-
4
*
crystal
;
if
(
seg
==
0
)
outers1
=
OutersV
[
i
];
else
if
(
seg
==
1
)
outers2
=
OutersV
[
i
];
else
if
(
seg
==
2
)
outers3
=
OutersV
[
i
];
else
if
(
seg
==
3
)
outers4
=
OutersV
[
i
];
if
(
OutersVM
<
25
){
for
(
int
p
=
0
;
p
<
Inner6MVM
;
p
++
){
//if(Inner6MVM==2) cout << "********p= " << p << endl;
int
crystal
=
Inner6MVN
[
p
];
double
E
=
Inner6MV
[
p
];
double
EHG
=
Inner20MV
[
p
];
double
TDC
=
DeltaTV
[
p
];
unsigned
long
long
TS
=
Inner6MVTS
[
p
];
int
seg
=
-
1
;
double
outers1
=
-
1000
;
double
outers2
=
-
1000
;
double
outers3
=
-
1000
;
double
outers4
=
-
1000
;
for
(
int
i
=
0
;
i
<
OutersVM
;
i
++
){
seg
=
OutersVN
[
i
]
-
4
*
crystal
;
//if(Inner6MVM==2) cout << i << " " << crystal << " " << seg << endl;
if
(
seg
==
0
)
outers1
=
OutersV
[
i
];
else
if
(
seg
==
1
)
outers2
=
OutersV
[
i
];
else
if
(
seg
==
2
)
outers3
=
OutersV
[
i
];
else
if
(
seg
==
3
)
outers4
=
OutersV
[
i
];
}
m_exogam
->
SetExo
(
crystal
,
E
,
EHG
,
TS
,
TDC
,
0
,
0
,
outers1
,
outers2
,
outers3
,
outers4
);
//if(Inner6MVM==2){
// cout << "setting p= " << p << " " << outers1 << " " << outers2 << " " << outers3 << " " << outers4 << endl;
//}
}
m_exogam
->
SetExo
(
crystal
,
E
,
EHG
,
TS
,
TDC
,
0
,
0
,
outers1
,
outers2
,
outers3
,
outers4
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Projects/ana_e850/conversion/convert.h
+
2
−
2
View file @
4d07ca4e
...
...
@@ -63,8 +63,8 @@ ULong64_t Inner6MVTS[12];
Float_t
Inner20MV
[
12
];
Float_t
DeltaTV
[
12
];
Float_t
OutersV
[
12
];
//
UShort_t OutersVN[12];
Int_t
OutersVN
[
12
];
UShort_t
OutersVN
[
12
];
//
Int_t OutersVN[12];
Int_t
OutersVM
;
void
InitInputTree
();
...
...
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