Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
Bernardo Sotto-Maior Peralva
athena
Commits
506bcaf6
Commit
506bcaf6
authored
3 years ago
by
Nikita Belyaev
Browse files
Options
Downloads
Patches
Plain Diff
Tube hits excluded from time residual
parent
8dc40852
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
InnerDetector/InDetMonitoring/TRTMonitoringRun3/src/TRTMonitoringRun3ESD_Alg.cxx
+8
-4
8 additions, 4 deletions
...toring/TRTMonitoringRun3/src/TRTMonitoringRun3ESD_Alg.cxx
with
8 additions
and
4 deletions
InnerDetector/InDetMonitoring/TRTMonitoringRun3/src/TRTMonitoringRun3ESD_Alg.cxx
+
8
−
4
View file @
506bcaf6
...
...
@@ -819,6 +819,10 @@ for (; p_trk != trackCollection.end(); ++p_trk) {
float
loc_err
=
sqrt
(
Amg
::
error
(
trtCircle
->
localCovariance
(),
Trk
::
driftRadius
));
float
locR
=
aTrackParam
->
parameters
()[
Trk
::
driftRadius
];
float
loc
=
trtCircle
->
localParameters
()[
Trk
::
driftRadius
];
const
Trk
::
MeasurementBase
*
measurement
=
(
*
TSOSItBegin
)
->
measurementOnTrack
();
const
Trk
::
RIO_OnTrack
*
rotp
=
dynamic_cast
<
const
Trk
::
RIO_OnTrack
*>
(
measurement
);
float
errDC
=
sqrt
(
rotp
->
localCovariance
()(
Trk
::
driftRadius
,
Trk
::
driftRadius
));
//std::cout << "errDC = " << errDC << ";" << std::endl;
if
(
isTubeHit
)
{
bool
isOK
=
false
;
...
...
@@ -858,12 +862,12 @@ for (; p_trk != trackCollection.end(); ++p_trk) {
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
),
Residual_B_Ar_20GeV
);
}
TimeResidual_B_Ar
=
timeresidual
;
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
),
TimeResidual_B_Ar
);
if
(
errDC
<
1
)
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
),
TimeResidual_B_Ar
);
}
else
{
Residual_B
=
loc
-
locR
;
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
),
Residual_B
);
TimeResidual_B
=
timeresidual
;
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
),
TimeResidual_B
);
if
(
errDC
<
1
)
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
),
TimeResidual_B
);
if
(
cnst_is_pT_over_20GeV
)
{
Residual_B_20GeV
=
loc
-
locR
;
...
...
@@ -882,7 +886,7 @@ for (; p_trk != trackCollection.end(); ++p_trk) {
Residual_E_Ar
=
loc
-
locR
;
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
)
+
std
::
to_string
(
iside
),
Residual_E_Ar
);
TimeResidual_E_Ar
=
timeresidual
;
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
)
+
std
::
to_string
(
iside
),
TimeResidual_E_Ar
);
if
(
errDC
<
1
)
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
)
+
std
::
to_string
(
iside
),
TimeResidual_E_Ar
);
if
(
cnst_is_pT_over_20GeV
)
{
Residual_E_Ar_20GeV
=
loc
-
locR
;
...
...
@@ -892,7 +896,7 @@ for (; p_trk != trackCollection.end(); ++p_trk) {
Residual_E
=
loc
-
locR
;
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
)
+
std
::
to_string
(
iside
),
Residual_E
);
TimeResidual_E
=
timeresidual
;
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
)
+
std
::
to_string
(
iside
),
TimeResidual_E
);
if
(
errDC
<
1
)
fill
(
"ShiftTRTTrackHistograms"
+
std
::
to_string
(
ibe
)
+
std
::
to_string
(
iside
),
TimeResidual_E
);
if
(
cnst_is_pT_over_20GeV
)
{
Residual_E_20GeV
=
loc
-
locR
;
...
...
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