Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Lars Rickard Strom
athena
Commits
df31dbad
Commit
df31dbad
authored
6 years ago
by
Benjamin Trocme
Browse files
Options
Downloads
Patches
Plain Diff
Adding LArFEBMon error monitoring in ROD/ROS plots
Former-commit-id: aad84ded5f7aad1a633fcc90b130060c8b0ccfae
parent
898724e4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
LArCalorimeter/LArMonTools/src/LArFEBMon.cxx
+7
-5
7 additions, 5 deletions
LArCalorimeter/LArMonTools/src/LArFEBMon.cxx
with
7 additions
and
5 deletions
LArCalorimeter/LArMonTools/src/LArFEBMon.cxx
+
7
−
5
View file @
df31dbad
...
...
@@ -777,7 +777,7 @@ void LArFEBMon::fillErrorsSummary(int partitNb_2,int ft,int slot,int rodcrate,in
if
(
m_currentFebStatus
){
(
m_partHistos
[
partitNb_2
].
LArAllErrors
)
->
Fill
(
slot
,
ft
);
(
m_partHistos
[
partitNb_2
].
LArAllErrors_ROD
)
->
Fill
(
rod
crate
,
rodslot
);
(
m_partHistos
[
partitNb_2
].
LArAllErrors_ROD
)
->
Fill
(
rod
slot
,
rodcrate
);
(
m_partHistos
[
partitNb_2
].
LArAllErrors_ROS
)
->
Fill
(
rosid
);
if
(
lar_inerror
)
{
// LArinError
if
(
m_isOnline
)
(
m_partHistos
[
partitNb_2
].
m_rejectedLBProfilePart
)
->
Fill
(
0.5
,
100
);
...
...
@@ -952,26 +952,28 @@ StatusCode LArFEBMon::bookNewPartitionSumm(int partNb)
hName
=
"LArFEBMonErrorsAbsolute"
+
partName
+
"_ROD"
;
hTitle
=
"Nb of events with at least one error - "
+
partName
;
m_partHistos
[
partNb
].
LArAllErrors_ROD
=
TH2I_LW
::
create
(
hName
.
c_str
(),
hTitle
.
c_str
(),
nbOfRodSlot
,
0.5
,
rodSlotMax
,
nbOfRodCrate
,
0.5
,
rodCrateMax
);
sc
=
sc
&&
m_strHelper
->
definePartitionSummProp
(
m_partHistos
[
partNb
].
LArAllErrors_ROD
);
m_partHistos
[
partNb
].
LArAllErrors_ROD
->
GetXaxis
()
->
SetTitle
(
"ROD slot"
);
m_partHistos
[
partNb
].
LArAllErrors_ROD
->
GetYaxis
()
->
SetTitle
(
"ROD crate"
);
sc
=
sc
&&
perPartitionGroup
.
regHist
(
m_partHistos
[
partNb
].
LArAllErrors_ROD
);
hName
=
"LArFEBMonErrors"
+
partName
+
"_ROD"
;
hTitle
=
"% of events with at least one error - "
+
partName
;
m_partHistos
[
partNb
].
LArAllErrors_RODYield
=
TH2F_LW
::
create
(
hName
.
c_str
(),
hTitle
.
c_str
(),
nbOfRodSlot
,
0.5
,
rodSlotMax
,
nbOfRodCrate
,
0.5
,
rodCrateMax
);
sc
=
sc
&&
m_strHelper
->
definePartitionSummProp
(
m_partHistos
[
partNb
].
LArAllErrors_RODYield
);
m_partHistos
[
partNb
].
LArAllErrors_RODYield
->
GetXaxis
()
->
SetTitle
(
"ROD slot"
);
m_partHistos
[
partNb
].
LArAllErrors_RODYield
->
GetYaxis
()
->
SetTitle
(
"ROD crate"
);
sc
=
sc
&&
perPartitionYieldGroup
.
regHist
(
m_partHistos
[
partNb
].
LArAllErrors_RODYield
);
// ROS histograms -
hName
=
"LArFEBMonErrorsAbsolute"
+
partName
+
"_ROS"
;
hTitle
=
"Nb of events with at least one error - "
+
partName
;
m_partHistos
[
partNb
].
LArAllErrors_ROS
=
TH1I_LW
::
create
(
hName
.
c_str
(),
hTitle
.
c_str
(),
nbOfRosLink
,
0.5
,
rosLinkMax
);
sc
=
sc
&&
m_strHelper
->
definePartitionSummProp
(
m_partHistos
[
partNb
].
LArAllErrors_ROS
);
m_partHistos
[
partNb
].
LArAllErrors_ROS
->
GetXaxis
()
->
SetTitle
(
"ROS link"
);
sc
=
sc
&&
perPartitionGroup
.
regHist
(
m_partHistos
[
partNb
].
LArAllErrors_ROS
);
hName
=
"LArFEBMonErrors"
+
partName
+
"_ROS"
;
hTitle
=
"% of events with at least one error - "
+
partName
;
m_partHistos
[
partNb
].
LArAllErrors_ROSYield
=
TH1F_LW
::
create
(
hName
.
c_str
(),
hTitle
.
c_str
(),
nbOfRosLink
,
0.5
,
rosLinkMax
);
sc
=
sc
&&
m_strHelper
->
definePartitionSummProp
(
m_partHistos
[
partNb
].
LArAllErrors_ROSYield
);
m_partHistos
[
partNb
].
LArAllErrors_ROSYield
->
GetXaxis
()
->
SetTitle
(
"ROS link"
);
sc
=
sc
&&
perPartitionYieldGroup
.
regHist
(
m_partHistos
[
partNb
].
LArAllErrors_ROSYield
);
// These are misc histograms-This may be changed in error histograms if needed
...
...
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