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
d155a0c8
Commit
d155a0c8
authored
3 years ago
by
Adrien Matta
Browse files
Options
Downloads
Patches
Plain Diff
* fixing MayaData compilation
parent
7a550b81
No related branches found
No related tags found
No related merge requests found
Pipeline
#123427
passed
3 years ago
Stage: build-NPLib
Stage: build-NPSimulation
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
NPLib/Detectors/Maya/TMayaData.h
+38
-37
38 additions, 37 deletions
NPLib/Detectors/Maya/TMayaData.h
with
38 additions
and
37 deletions
NPLib/Detectors/Maya/TMayaData.h
+
38
−
37
View file @
d155a0c8
...
...
@@ -22,11 +22,12 @@
*****************************************************************************/
#include
<iostream>
#include
<vector>
#include
<string>
#include
<map>
#include
"TObject.h"
#include
<iostream>
#include
"ConfigReader.h"
#define MAYA_PAD_NPARCAL 3
...
...
@@ -48,22 +49,22 @@ class TMayaData : public TObject {
// (PAD)/CRAMS
vector
<
UShort_t
>
fMaya_PAD_Nbr
;
vector
<
UShort_t
>
fMaya_PAD_Col
;
vector
<
UShort_t
>
fMaya_PAD_Row
;
vector
<
UShort_t
>
fMaya_PAD_E
;
vector
<
Float_t
>
fMaya_PAD_x
;
vector
<
Float_t
>
fMaya_PAD_y
;
map
<
UShort_t
,
UShort_t
>
fMaya_PAD_map_idx
;
//!
std
::
vector
<
UShort_t
>
fMaya_PAD_Nbr
;
std
::
vector
<
UShort_t
>
fMaya_PAD_Col
;
std
::
vector
<
UShort_t
>
fMaya_PAD_Row
;
std
::
vector
<
UShort_t
>
fMaya_PAD_E
;
std
::
vector
<
Float_t
>
fMaya_PAD_x
;
std
::
vector
<
Float_t
>
fMaya_PAD_y
;
std
::
map
<
UShort_t
,
UShort_t
>
fMaya_PAD_map_idx
;
//!
bool
bMaya_IsPAD_Calibrated
;
bool
bMaya_Clean_PADS
;
// boolean, parameter -> if true clean the PAD calibrated matrix
Int_t
fMaya_PAD_Neighbors_Min
;
//! number of minimum Neighbors before cleaning
vector
<
vector
<
Float_t
>
>
fMaya_PAD_E_calpar
;
//!
vector
<
Float_t
>
fMaya_PAD_E_cal
;
vector
<
UShort_t
>
fMaya_PAD_Neighbors
;
std
::
vector
<
std
::
vector
<
Float_t
>
>
fMaya_PAD_E_calpar
;
//!
std
::
vector
<
Float_t
>
fMaya_PAD_E_cal
;
std
::
vector
<
UShort_t
>
fMaya_PAD_Neighbors
;
Float_t
fMaya_PAD_E_cal_threshold
;
//!
UShort_t
fMaya_PAD_Mult_cal
;
UShort_t
fMaya_PAD_Row_Mult
[
32
]
;
...
...
@@ -78,15 +79,15 @@ class TMayaData : public TObject {
// (QFIL)
bool
bMaya_IsQFIL_Calibrated
;
vector
<
UShort_t
>
fMaya_QFIL_E_Nbr
;
vector
<
UShort_t
>
fMaya_QFIL_T_Nbr
;
std
::
vector
<
UShort_t
>
fMaya_QFIL_E_Nbr
;
std
::
vector
<
UShort_t
>
fMaya_QFIL_T_Nbr
;
vector
<
vector
<
Float_t
>
>
fMaya_QFIL_E_calpar
;
//!
vector
<
UShort_t
>
fMaya_QFIL_E
;
vector
<
Float_t
>
fMaya_QFIL_E_cal
;
vector
<
vector
<
Float_t
>
>
fMaya_QFIL_T_calpar
;
//!
vector
<
UShort_t
>
fMaya_QFIL_T
;
vector
<
Float_t
>
fMaya_QFIL_T_cal
;
std
::
vector
<
std
::
vector
<
Float_t
>
>
fMaya_QFIL_E_calpar
;
//!
std
::
vector
<
UShort_t
>
fMaya_QFIL_E
;
std
::
vector
<
Float_t
>
fMaya_QFIL_E_cal
;
std
::
vector
<
std
::
vector
<
Float_t
>
>
fMaya_QFIL_T_calpar
;
//!
std
::
vector
<
UShort_t
>
fMaya_QFIL_T
;
std
::
vector
<
Float_t
>
fMaya_QFIL_T_cal
;
ULong64_t
fMaya_QFIL_Sum
;
Float_t
fMaya_QFIL_Sum_cal
;
...
...
@@ -97,26 +98,26 @@ class TMayaData : public TObject {
// Silicons
bool
bMaya_IsSi_Calibrated
;
// vector<UShort_t> fMaya_Si_Nbr; // TODO
//
std::
vector<UShort_t> fMaya_Si_Nbr; // TODO
// * Energy * //
vector
<
UShort_t
>
fMaya_Si_E_Nbr
;
vector
<
UShort_t
>
fMaya_Si_E
;
vector
<
vector
<
Float_t
>
>
fMaya_Si_E_calpar
;
//!
vector
<
Float_t
>
fMaya_Si_E_cal
;
std
::
vector
<
UShort_t
>
fMaya_Si_E_Nbr
;
std
::
vector
<
UShort_t
>
fMaya_Si_E
;
std
::
vector
<
std
::
vector
<
Float_t
>
>
fMaya_Si_E_calpar
;
//!
std
::
vector
<
Float_t
>
fMaya_Si_E_cal
;
// * Time * //
// map<UShort_t, UShort_t> fMaya_Si_EvsT_index; //! TODO
vector
<
UShort_t
>
fMaya_Si_T_Nbr
;
vector
<
UShort_t
>
fMaya_Si_T
;
vector
<
vector
<
Float_t
>
>
fMaya_Si_T_calpar
;
//!
vector
<
Float_t
>
fMaya_Si_T_cal
;
//
std::
map<UShort_t, UShort_t> fMaya_Si_EvsT_index; //! TODO
std
::
vector
<
UShort_t
>
fMaya_Si_T_Nbr
;
std
::
vector
<
UShort_t
>
fMaya_Si_T
;
std
::
vector
<
std
::
vector
<
Float_t
>
>
fMaya_Si_T_calpar
;
//!
std
::
vector
<
Float_t
>
fMaya_Si_T_cal
;
// FADC : to record wire pulses
vector
<
UShort_t
>
fMaya_QFil_Pulse_E
;
vector
<
UShort_t
>
fMaya_QFil_Pulse_Nbr
;
// sample number
vector
<
UShort_t
>
fMaya_QFil_Pulse_Ch
;
// FADC channel: [0:3]
map
<
UShort_t
,
UShort_t
>
fMaya_QFil_Pulse_map_Current_Nbr
;
//! keep track of current FADC sanple number within on channel, not save
vector
<
ULong64_t
>
fMaya_QFil_Pulse_Sum
;
vector
<
ULong64_t
>
fMaya_QFil_Pulse_Sum_Ch
;
std
::
vector
<
UShort_t
>
fMaya_QFil_Pulse_E
;
std
::
vector
<
UShort_t
>
fMaya_QFil_Pulse_Nbr
;
// sample number
std
::
vector
<
UShort_t
>
fMaya_QFil_Pulse_Ch
;
// FADC channel: [0:3]
std
::
map
<
UShort_t
,
UShort_t
>
fMaya_QFil_Pulse_map_Current_Nbr
;
//! keep track of current FADC sanple number within on channel, not save
std
::
vector
<
ULong64_t
>
fMaya_QFil_Pulse_Sum
;
std
::
vector
<
ULong64_t
>
fMaya_QFil_Pulse_Sum_Ch
;
// TOF
UShort_t
fMaya_TOF_GAL_HF
;
...
...
@@ -221,7 +222,7 @@ class TMayaData : public TObject {
void
SetTimeSi
(
UShort_t
,
UShort_t
);
/* CALIBRATION */
bool
InitCalibrate
(
std
::
vector
<
string
>&
)
;
//!
bool
InitCalibrate
(
std
::
vector
<
std
::
string
>&
)
;
//!
bool
Calibrate
(
void
)
;
//!
// TOF
...
...
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