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
66f84801
Commit
66f84801
authored
4 years ago
by
Adrien Matta
Browse files
Options
Downloads
Patches
Plain Diff
* adding ADC randomization to MUST2
parent
0e36d4ae
No related branches found
No related tags found
No related merge requests found
Pipeline
#75857
passed
4 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/MUST2/TMust2Physics.cxx
+8
-8
8 additions, 8 deletions
NPLib/Detectors/MUST2/TMust2Physics.cxx
Projects/MUGAST/ShowResults.C
+2
-2
2 additions, 2 deletions
Projects/MUGAST/ShowResults.C
with
10 additions
and
10 deletions
NPLib/Detectors/MUST2/TMust2Physics.cxx
+
8
−
8
View file @
66f84801
...
...
@@ -1353,7 +1353,7 @@ double fSi_X_E(const TMust2Data* m_EventData, const int& i) {
name
+=
NPL
::
itoa
(
m_EventData
->
GetMMStripXEStripNbr
(
i
));
name
+=
"_E"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMStripXEEnergy
(
i
));
name
,
m_EventData
->
GetMMStripXEEnergy
(
i
)
,
1
);
}
double
fSi_X_T
(
const
TMust2Data
*
m_EventData
,
const
int
&
i
)
{
...
...
@@ -1364,7 +1364,7 @@ double fSi_X_T(const TMust2Data* m_EventData, const int& i) {
name
+=
NPL
::
itoa
(
m_EventData
->
GetMMStripXTStripNbr
(
i
));
name
+=
"_T"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMStripXTTime
(
i
));
name
,
m_EventData
->
GetMMStripXTTime
(
i
)
,
1
);
}
// Y
...
...
@@ -1376,7 +1376,7 @@ double fSi_Y_E(const TMust2Data* m_EventData, const int& i) {
name
+=
NPL
::
itoa
(
m_EventData
->
GetMMStripYEStripNbr
(
i
));
name
+=
"_E"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMStripYEEnergy
(
i
));
name
,
m_EventData
->
GetMMStripYEEnergy
(
i
)
,
1
);
}
double
fSi_Y_T
(
const
TMust2Data
*
m_EventData
,
const
int
&
i
)
{
...
...
@@ -1387,7 +1387,7 @@ double fSi_Y_T(const TMust2Data* m_EventData, const int& i) {
name
+=
NPL
::
itoa
(
m_EventData
->
GetMMStripYTStripNbr
(
i
));
name
+=
"_T"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMStripYTTime
(
i
));
name
,
m_EventData
->
GetMMStripYTTime
(
i
)
,
1
);
}
// SiLi
...
...
@@ -1400,7 +1400,7 @@ double fSiLi_E(const TMust2Data* m_EventData, const int& i) {
name
+=
"_E"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMSiLiEEnergy
(
i
));
name
,
m_EventData
->
GetMMSiLiEEnergy
(
i
)
,
1
);
}
double
fSiLi_T
(
const
TMust2Data
*
m_EventData
,
const
int
&
i
)
{
...
...
@@ -1411,7 +1411,7 @@ double fSiLi_T(const TMust2Data* m_EventData, const int& i) {
name
+=
NPL
::
itoa
(
m_EventData
->
GetMMSiLiTPadNbr
(
i
));
name
+=
"_T"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMSiLiTTime
(
i
));
name
,
m_EventData
->
GetMMSiLiTTime
(
i
)
,
1
);
}
// CsI
...
...
@@ -1423,7 +1423,7 @@ double fCsI_E(const TMust2Data* m_EventData, const int& i) {
name
+=
NPL
::
itoa
(
m_EventData
->
GetMMCsIECristalNbr
(
i
));
name
+=
"_E"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMCsIEEnergy
(
i
));
name
,
m_EventData
->
GetMMCsIEEnergy
(
i
)
,
1
);
}
double
fCsI_T
(
const
TMust2Data
*
m_EventData
,
const
int
&
i
)
{
...
...
@@ -1434,7 +1434,7 @@ double fCsI_T(const TMust2Data* m_EventData, const int& i) {
name
+=
NPL
::
itoa
(
m_EventData
->
GetMMCsITCristalNbr
(
i
));
name
+=
"_T"
;
return
CalibrationManager
::
getInstance
()
->
ApplyCalibration
(
name
,
m_EventData
->
GetMMCsITTime
(
i
));
name
,
m_EventData
->
GetMMCsITTime
(
i
)
,
1
);
}
}
// namespace MUST2_LOCAL
...
...
This diff is collapsed.
Click to expand it.
Projects/MUGAST/ShowResults.C
+
2
−
2
View file @
66f84801
...
...
@@ -72,10 +72,10 @@ void ShowResults(){
reaction
->
GetKinematicLine3
()
->
Draw
(
"c"
);
c1
->
cd
(
2
);
TH1F
*
hEx
=
new
TH1F
(
"hEx"
,
"hEx"
,
24
0
,
-
1
,
5
);
TH1F
*
hEx
=
new
TH1F
(
"hEx"
,
"hEx"
,
60
0
,
-
1
,
5
);
t
->
Draw
(
"Ex>>hEx"
,
"ThetaLab>100 && ThetaLab<156"
,
"col"
);
hEx
->
GetXaxis
()
->
SetTitle
(
"Ex (MeV)"
);
hEx
->
GetYaxis
()
->
SetTitle
(
"counts/
25
keV"
);
hEx
->
GetYaxis
()
->
SetTitle
(
"counts/
10
keV"
);
c1
->
cd
(
3
);
TH1F
*
hCM
=
new
TH1F
(
"hCM"
,
"hCM"
,
36
,
0
,
180
);
...
...
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