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
e76d466e
Commit
e76d466e
authored
2 years ago
by
Cyril Lenain
Browse files
Options
Downloads
Patches
Plain Diff
Adding Qmax in TFissionChamberData
parent
859f086e
No related branches found
No related tags found
No related merge requests found
Pipeline
#190759
passed
2 years ago
Stage: build-NPLib
Stage: build-NPSimulation
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NPLib/Detectors/FissionChamber/TFissionChamberData.cxx
+2
-0
2 additions, 0 deletions
NPLib/Detectors/FissionChamber/TFissionChamberData.cxx
NPLib/Detectors/FissionChamber/TFissionChamberData.h
+4
-0
4 additions, 0 deletions
NPLib/Detectors/FissionChamber/TFissionChamberData.h
with
6 additions
and
0 deletions
NPLib/Detectors/FissionChamber/TFissionChamberData.cxx
+
2
−
0
View file @
e76d466e
...
...
@@ -47,6 +47,7 @@ void TFissionChamberData::Clear() {
fFC_AnodeNbr
.
clear
();
fFC_Q1
.
clear
();
fFC_Q2
.
clear
();
fFC_Qmax
.
clear
();
fFC_Time
.
clear
();
fFC_Time_HF
.
clear
();
fFC_isFakeFission
.
clear
();
...
...
@@ -66,6 +67,7 @@ void TFissionChamberData::Dump() const {
cout
<<
"AnodeNbr: "
<<
fFC_AnodeNbr
[
i
]
<<
" Q1: "
<<
fFC_Q1
[
i
]
<<
" Q2: "
<<
fFC_Q2
[
i
]
<<
" Qmax: "
<<
fFC_Qmax
[
i
]
<<
" Time: "
<<
fFC_Time
[
i
];
}
}
This diff is collapsed.
Click to expand it.
NPLib/Detectors/FissionChamber/TFissionChamberData.h
+
4
−
0
View file @
e76d466e
...
...
@@ -38,6 +38,7 @@ class TFissionChamberData : public TObject {
vector
<
Double_t
>
fFC_Q1
;
vector
<
Double_t
>
fFC_Q2
;
vector
<
Double_t
>
fFC_Time
;
vector
<
Double_t
>
fFC_Qmax
;
vector
<
Bool_t
>
fFC_isFakeFission
;
vector
<
Double_t
>
fFC_Time_HF
;
...
...
@@ -66,6 +67,7 @@ class TFissionChamberData : public TObject {
inline
void
SetAnodeNbr
(
const
UShort_t
&
AnodeNbr
){
fFC_AnodeNbr
.
push_back
(
AnodeNbr
);}
//!
inline
void
SetQ1
(
const
Double_t
&
Q1
){
fFC_Q1
.
push_back
(
Q1
);}
//!
inline
void
SetQ2
(
const
Double_t
&
Q2
){
fFC_Q2
.
push_back
(
Q2
);}
//!
inline
void
SetQmax
(
const
Double_t
&
Qmax
){
fFC_Qmax
.
push_back
(
Qmax
);}
//!
inline
void
SetTime
(
const
Double_t
&
Time
){
fFC_Time
.
push_back
(
Time
);}
//!
inline
void
SetTimeHF
(
const
Double_t
&
Time
){
fFC_Time_HF
.
push_back
(
Time
);}
//!
inline
void
SetFakeFissionStatus
(
const
Bool_t
&
isFF
){
fFC_isFakeFission
.
push_back
(
isFF
);}
//!
...
...
@@ -80,6 +82,8 @@ class TFissionChamberData : public TObject {
{
return
fFC_Q1
[
i
];}
//!
inline
Double_t
GetQ2
(
const
unsigned
int
&
i
)
const
{
return
fFC_Q2
[
i
];}
//!
inline
Double_t
GetQmax
(
const
unsigned
int
&
i
)
const
{
return
fFC_Qmax
[
i
];}
//!
inline
Double_t
GetTime
(
const
unsigned
int
&
i
)
const
{
return
fFC_Time
[
i
];}
//!
inline
Double_t
GetTimeHF
(
const
unsigned
int
&
i
)
const
...
...
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