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
Admin message
Gitlab has been updated. More info
here
.
Show more breadcrumbs
np
nptool
Commits
91650f38
Commit
91650f38
authored
2 years ago
by
Cyril Lenain
Browse files
Options
Downloads
Patches
Plain Diff
Adding saturation flag in Vendeta
parent
2efb6620
No related branches found
No related tags found
No related merge requests found
Pipeline
#193298
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/Vendeta/TVendetaData.cxx
+2
-0
2 additions, 0 deletions
NPLib/Detectors/Vendeta/TVendetaData.cxx
NPLib/Detectors/Vendeta/TVendetaData.h
+6
-0
6 additions, 0 deletions
NPLib/Detectors/Vendeta/TVendetaData.h
with
8 additions
and
0 deletions
NPLib/Detectors/Vendeta/TVendetaData.cxx
+
2
−
0
View file @
91650f38
...
@@ -50,12 +50,14 @@ void TVendetaData::Clear() {
...
@@ -50,12 +50,14 @@ void TVendetaData::Clear() {
fVendeta_LG_Q2
.
clear
();
fVendeta_LG_Q2
.
clear
();
fVendeta_LG_Time
.
clear
();
fVendeta_LG_Time
.
clear
();
fVendeta_LG_Qmax
.
clear
();
fVendeta_LG_Qmax
.
clear
();
fVendeta_LG_IsSat
.
clear
();
fVendeta_HG_DetectorNbr
.
clear
();
fVendeta_HG_DetectorNbr
.
clear
();
fVendeta_HG_Q1
.
clear
();
fVendeta_HG_Q1
.
clear
();
fVendeta_HG_Q2
.
clear
();
fVendeta_HG_Q2
.
clear
();
fVendeta_HG_Time
.
clear
();
fVendeta_HG_Time
.
clear
();
fVendeta_HG_Qmax
.
clear
();
fVendeta_HG_Qmax
.
clear
();
fVendeta_HG_IsSat
.
clear
();
}
}
...
...
This diff is collapsed.
Click to expand it.
NPLib/Detectors/Vendeta/TVendetaData.h
+
6
−
0
View file @
91650f38
...
@@ -40,12 +40,14 @@ class TVendetaData : public TObject {
...
@@ -40,12 +40,14 @@ class TVendetaData : public TObject {
vector
<
Double_t
>
fVendeta_LG_Q2
;
vector
<
Double_t
>
fVendeta_LG_Q2
;
vector
<
Double_t
>
fVendeta_LG_Time
;
vector
<
Double_t
>
fVendeta_LG_Time
;
vector
<
Double_t
>
fVendeta_LG_Qmax
;
vector
<
Double_t
>
fVendeta_LG_Qmax
;
vector
<
bool
>
fVendeta_LG_IsSat
;
vector
<
UShort_t
>
fVendeta_HG_DetectorNbr
;
vector
<
UShort_t
>
fVendeta_HG_DetectorNbr
;
vector
<
Double_t
>
fVendeta_HG_Q1
;
vector
<
Double_t
>
fVendeta_HG_Q1
;
vector
<
Double_t
>
fVendeta_HG_Q2
;
vector
<
Double_t
>
fVendeta_HG_Q2
;
vector
<
Double_t
>
fVendeta_HG_Time
;
vector
<
Double_t
>
fVendeta_HG_Time
;
vector
<
Double_t
>
fVendeta_HG_Qmax
;
vector
<
Double_t
>
fVendeta_HG_Qmax
;
vector
<
bool
>
fVendeta_HG_IsSat
;
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
// Constructor and destructor
// Constructor and destructor
...
@@ -74,12 +76,14 @@ class TVendetaData : public TObject {
...
@@ -74,12 +76,14 @@ class TVendetaData : public TObject {
inline
void
SetLGQ2
(
const
Double_t
&
Q2
)
{
fVendeta_LG_Q2
.
push_back
(
Q2
);};
//!
inline
void
SetLGQ2
(
const
Double_t
&
Q2
)
{
fVendeta_LG_Q2
.
push_back
(
Q2
);};
//!
inline
void
SetLGTime
(
const
Double_t
&
Time
)
{
fVendeta_LG_Time
.
push_back
(
Time
);};
//!
inline
void
SetLGTime
(
const
Double_t
&
Time
)
{
fVendeta_LG_Time
.
push_back
(
Time
);};
//!
inline
void
SetLGQmax
(
const
Double_t
&
Qmax
)
{
fVendeta_LG_Qmax
.
push_back
(
Qmax
);};
//
inline
void
SetLGQmax
(
const
Double_t
&
Qmax
)
{
fVendeta_LG_Qmax
.
push_back
(
Qmax
);};
//
inline
void
SetLGIsSat
(
const
bool
&
IsSat
)
{
fVendeta_LG_IsSat
.
push_back
(
IsSat
);};
//
inline
void
SetHGDetectorNbr
(
const
UShort_t
&
DetNbr
)
{
fVendeta_HG_DetectorNbr
.
push_back
(
DetNbr
);};
//!
inline
void
SetHGDetectorNbr
(
const
UShort_t
&
DetNbr
)
{
fVendeta_HG_DetectorNbr
.
push_back
(
DetNbr
);};
//!
inline
void
SetHGQ1
(
const
Double_t
&
Q1
)
{
fVendeta_HG_Q1
.
push_back
(
Q1
);};
//!
inline
void
SetHGQ1
(
const
Double_t
&
Q1
)
{
fVendeta_HG_Q1
.
push_back
(
Q1
);};
//!
inline
void
SetHGQ2
(
const
Double_t
&
Q2
)
{
fVendeta_HG_Q2
.
push_back
(
Q2
);};
//!
inline
void
SetHGQ2
(
const
Double_t
&
Q2
)
{
fVendeta_HG_Q2
.
push_back
(
Q2
);};
//!
inline
void
SetHGTime
(
const
Double_t
&
Time
)
{
fVendeta_HG_Time
.
push_back
(
Time
);};
//!
inline
void
SetHGTime
(
const
Double_t
&
Time
)
{
fVendeta_HG_Time
.
push_back
(
Time
);};
//!
inline
void
SetHGQmax
(
const
Double_t
&
Qmax
)
{
fVendeta_HG_Qmax
.
push_back
(
Qmax
);};
//
inline
void
SetHGQmax
(
const
Double_t
&
Qmax
)
{
fVendeta_HG_Qmax
.
push_back
(
Qmax
);};
//
inline
void
SetHGIsSat
(
const
bool
&
IsSat
)
{
fVendeta_HG_IsSat
.
push_back
(
IsSat
);};
//
////////////////////// GETTERS ////////////////////////
////////////////////// GETTERS ////////////////////////
inline
UShort_t
GetLGMultEnergy
()
const
{
return
fVendeta_LG_DetectorNbr
.
size
();}
inline
UShort_t
GetLGMultEnergy
()
const
{
return
fVendeta_LG_DetectorNbr
.
size
();}
...
@@ -88,6 +92,7 @@ class TVendetaData : public TObject {
...
@@ -88,6 +92,7 @@ class TVendetaData : public TObject {
inline
Double_t
GetLGQ2
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_LG_Q2
[
i
];}
//!
inline
Double_t
GetLGQ2
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_LG_Q2
[
i
];}
//!
inline
Double_t
GetLGTime
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_LG_Time
[
i
];}
//!
inline
Double_t
GetLGTime
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_LG_Time
[
i
];}
//!
inline
Double_t
GetLGQmax
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_LG_Qmax
[
i
];}
//!
inline
Double_t
GetLGQmax
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_LG_Qmax
[
i
];}
//!
inline
bool
GetLGIsSat
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_LG_IsSat
[
i
];}
//!
inline
UShort_t
GetHGMultEnergy
()
const
{
return
fVendeta_HG_DetectorNbr
.
size
();}
inline
UShort_t
GetHGMultEnergy
()
const
{
return
fVendeta_HG_DetectorNbr
.
size
();}
inline
UShort_t
GetHGDetectorNbr
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_DetectorNbr
[
i
];}
//!
inline
UShort_t
GetHGDetectorNbr
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_DetectorNbr
[
i
];}
//!
...
@@ -95,6 +100,7 @@ class TVendetaData : public TObject {
...
@@ -95,6 +100,7 @@ class TVendetaData : public TObject {
inline
Double_t
GetHGQ2
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_Q2
[
i
];}
//!
inline
Double_t
GetHGQ2
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_Q2
[
i
];}
//!
inline
Double_t
GetHGTime
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_Time
[
i
];}
//!
inline
Double_t
GetHGTime
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_Time
[
i
];}
//!
inline
Double_t
GetHGQmax
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_Qmax
[
i
];}
//!
inline
Double_t
GetHGQmax
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_Qmax
[
i
];}
//!
inline
bool
GetHGIsSat
(
const
unsigned
int
&
i
)
const
{
return
fVendeta_HG_IsSat
[
i
];}
//!
//////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////
// Required for ROOT dictionnary
// Required for ROOT dictionnary
...
...
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