Skip to content
Snippets Groups Projects
Commit b57558e4 authored by Hall C Online Analyzer User's avatar Hall C Online Analyzer User Committed by Eric Pooser
Browse files

Spring 2018 ver7 (#368)

* Update scaler maps

* Update singles and coin report files

* Update hodo calib

* Add Dipankgar's monitoring scripts
parent 1b7694af
No related branches found
No related tags found
No related merge requests found
Showing
with 1512 additions and 217 deletions
......@@ -93,6 +93,8 @@ variable 2 5 1 .hod.2x4.posScaler HMS 2X+ paddle 4
variable 2 5 2 .hod.2x4.posScalerRate HMS 2X+ paddle 4
variable 5 26 1 .hEL_LO.scaler HMS EL_LO
variable 5 26 2 .hEL_LO.scalerRate HMS EL_LO
variable 4 7 1 .pTRIG1_CP.scaler pTRIG1 Copy
variable 4 7 2 .pTRIG1_CP.scalerRate pTRIG1 Copy
variable 6 25 1 .BCM4A.scaler BCM4a
variable 6 25 2 .BCM4A.scalerRate BCM4a
variable 6 25 3 .BCM4A.scalerCurrent BCM4a
......@@ -104,6 +106,26 @@ variable 6 26 4 .BCM4B.scalerCharge BCM4b
variable 6 31 1 .1Mhz.scaler 1MHz
variable 6 31 2 .1Mhz.scalerRate 1MHz
variable 6 31 5 .1Mhz.scalerTime 1MHz
variable 6 21 1 .Empty_58.scaler Empty
variable 6 21 2 .Empty_58.scalerRate Empty
variable 6 22 1 .Empty_59.scaler Empty
variable 6 22 2 .Empty_59.scalerRate Empty
variable 6 17 1 .Empty_54.scaler Empty
variable 6 17 2 .Empty_54.scalerRate Empty
variable 6 18 1 .Empty_55.scaler Empty
variable 6 18 2 .Empty_55.scalerRate Empty
variable 6 19 1 .Empty_56.scaler Empty
variable 6 19 2 .Empty_56.scalerRate Empty
variable 6 20 1 .Empty_57.scaler Empty
variable 6 20 2 .Empty_57.scalerRate Empty
variable 5 23 1 .Empty_50.scaler Empty
variable 5 23 2 .Empty_50.scalerRate Empty
variable 5 30 1 .Empty_51.scaler Empty
variable 5 30 2 .Empty_51.scalerRate Empty
variable 5 31 1 .Empty_52.scaler Empty
variable 5 31 2 .Empty_52.scalerRate Empty
variable 6 16 1 .Empty_53.scaler Empty
variable 6 16 2 .Empty_53.scalerRate Empty
variable 1 1 1 .hod.1y3.posScaler HMS 1Y+ paddle 3
variable 1 1 2 .hod.1y3.posScalerRate HMS 1Y+ paddle 3
variable 1 17 1 .hod.1y3.negScaler HMS 1Y- paddle 3
......@@ -112,10 +134,10 @@ variable 0 8 1 .hod.1x9.posScaler HMS 1X+ paddle 9
variable 0 8 2 .hod.1x9.posScalerRate HMS 1X+ paddle 9
variable 0 24 1 .hod.1x9.negScaler HMS 1X- paddle 9
variable 0 24 2 .hod.1x9.negScalerRate HMS 1X- paddle 9
variable 4 12 1 .Empty_29.scaler Empty
variable 4 12 2 .Empty_29.scalerRate Empty
variable 4 7 1 .Empty_28.scaler Empty
variable 4 7 2 .Empty_28.scalerRate Empty
variable 4 15 1 .Empty_29.scaler Empty
variable 4 15 2 .Empty_29.scalerRate Empty
variable 4 14 1 .Empty_28.scaler Empty
variable 4 14 2 .Empty_28.scalerRate Empty
variable 2 27 1 .hod.2x15.negScaler HMS 2X- paddle 15
variable 2 27 2 .hod.2x15.negScalerRate HMS 2X- paddle 15
variable 3 26 1 .Empty_20.scaler Empty
......@@ -130,8 +152,8 @@ variable 3 31 1 .Empty_24.scaler Empty
variable 3 31 2 .Empty_24.scalerRate Empty
variable 2 11 1 .hod.2x15.posScaler HMS 2X+ paddle 15
variable 2 11 2 .hod.2x15.posScalerRate HMS 2X+ paddle 15
variable 4 5 1 .Empty_26.scaler Empty
variable 4 5 2 .Empty_26.scalerRate Empty
variable 4 12 1 .Empty_26.scaler Empty
variable 4 12 2 .Empty_26.scalerRate Empty
variable 5 28 1 .hEL_REAL.scaler HMS EL_REAL
variable 5 28 2 .hEL_REAL.scalerRate HMS EL_REAL
variable 3 21 1 .hod.2y4.negScaler HMS 2Y- paddle 4
......@@ -154,8 +176,6 @@ variable 2 1 1 .hod.2x3.posScaler HMS 2X+ paddle 3
variable 2 1 2 .hod.2x3.posScalerRate HMS 2X+ paddle 3
variable 4 9 1 .hPRE100.scaler HMS PRE100
variable 4 9 2 .hPRE100.scalerRate HMS PRE100
variable 4 16 1 .hL1ACCP.scaler HMS L1 Accept
variable 4 16 2 .hL1ACCP.scalerRate HMS L1 Accept
variable 0 5 1 .hod.1x4.posScaler HMS 1X+ paddle 4
variable 0 5 2 .hod.1x4.posScalerRate HMS 1X+ paddle 4
variable 5 20 1 .pEL_REAL.scaler SHMS EL_REAL
......@@ -164,6 +184,10 @@ variable 1 24 1 .hod.1y9.negScaler HMS 1Y- paddle 9
variable 1 24 2 .hod.1y9.negScalerRate HMS 1Y- paddle 9
variable 1 8 1 .hod.1y9.posScaler HMS 1Y+ paddle 9
variable 1 8 2 .hod.1y9.posScalerRate HMS 1Y+ paddle 9
variable 6 24 1 .Empty_61.scaler Empty
variable 6 24 2 .Empty_61.scalerRate Empty
variable 6 23 1 .Empty_60.scaler Empty
variable 6 23 2 .Empty_60.scalerRate Empty
variable 6 7 1 .ASUM.scaler HMS ASUM
variable 6 7 2 .ASUM.scalerRate HMS ASUM
variable 1 6 1 .hod.1y6.posScaler HMS 1Y+ paddle 6
......@@ -208,6 +232,8 @@ variable 5 12 1 .hTRIG3.scaler HMS TRIG3
variable 5 12 2 .hTRIG3.scalerRate HMS TRIG3
variable 5 11 1 .hTRIG2.scaler HMS TRIG2
variable 5 11 2 .hTRIG2.scalerRate HMS TRIG2
variable 6 4 1 .S1XS1Y.scaler HMS S1T
variable 6 4 2 .S1XS1Y.scalerRate HMS S1T
variable 0 12 1 .hod.1x10.posScaler HMS 1X+ paddle 10
variable 0 12 2 .hod.1x10.posScalerRate HMS 1X+ paddle 10
variable 0 28 1 .hod.1x10.negScaler HMS 1X- paddle 10
......@@ -236,26 +262,26 @@ variable 1 20 1 .hod.1y2.negScaler HMS 1Y- paddle 2
variable 1 20 2 .hod.1y2.negScalerRate HMS 1Y- paddle 2
variable 1 4 1 .hod.1y2.posScaler HMS 1Y+ paddle 2
variable 1 4 2 .hod.1y2.posScalerRate HMS 1Y+ paddle 2
variable 5 23 1 .Empty_38.scaler Empty
variable 5 23 2 .Empty_38.scalerRate Empty
variable 5 30 1 .Empty_39.scaler Empty
variable 5 30 2 .Empty_39.scalerRate Empty
variable 4 15 1 .Empty_32.scaler Empty
variable 4 15 2 .Empty_32.scalerRate Empty
variable 5 6 1 .Empty_33.scaler Empty
variable 5 6 2 .Empty_33.scalerRate Empty
variable 4 13 1 .Empty_30.scaler Empty
variable 4 13 2 .Empty_30.scalerRate Empty
variable 4 14 1 .Empty_31.scaler Empty
variable 4 14 2 .Empty_31.scalerRate Empty
variable 5 9 1 .Empty_36.scaler Empty
variable 5 9 2 .Empty_36.scalerRate Empty
variable 5 22 1 .Empty_37.scaler Empty
variable 5 22 2 .Empty_37.scalerRate Empty
variable 5 7 1 .Empty_34.scaler Empty
variable 5 7 2 .Empty_34.scalerRate Empty
variable 5 8 1 .Empty_35.scaler Empty
variable 5 8 2 .Empty_35.scalerRate Empty
variable 4 25 1 .Empty_38.scaler Empty
variable 4 25 2 .Empty_38.scalerRate Empty
variable 4 26 1 .Empty_39.scaler Empty
variable 4 26 2 .Empty_39.scalerRate Empty
variable 4 19 1 .Empty_32.scaler Empty
variable 4 19 2 .Empty_32.scalerRate Empty
variable 4 20 1 .Empty_33.scaler Empty
variable 4 20 2 .Empty_33.scalerRate Empty
variable 4 17 1 .Empty_30.scaler Empty
variable 4 17 2 .Empty_30.scalerRate Empty
variable 4 18 1 .Empty_31.scaler Empty
variable 4 18 2 .Empty_31.scalerRate Empty
variable 4 23 1 .Empty_36.scaler Empty
variable 4 23 2 .Empty_36.scalerRate Empty
variable 4 24 1 .Empty_37.scaler Empty
variable 4 24 2 .Empty_37.scalerRate Empty
variable 4 21 1 .Empty_34.scaler Empty
variable 4 21 2 .Empty_34.scalerRate Empty
variable 4 22 1 .Empty_35.scaler Empty
variable 4 22 2 .Empty_35.scalerRate Empty
variable 0 0 1 .hod.1x1.posScaler HMS 1X+ paddle 1
variable 0 0 2 .hod.1x1.posScalerRate HMS 1X+ paddle 1
variable 0 16 1 .hod.1x1.negScaler HMS 1X- paddle 1
......@@ -274,8 +300,8 @@ variable 2 31 1 .hod.2x16.negScaler HMS 2X- paddle 16
variable 2 31 2 .hod.2x16.negScalerRate HMS 2X- paddle 16
variable 4 11 1 .hPRE200.scaler HMS PRE200
variable 4 11 2 .hPRE200.scalerRate HMS PRE200
variable 4 6 1 .Empty_27.scaler Empty
variable 4 6 2 .Empty_27.scalerRate Empty
variable 4 13 1 .Empty_27.scaler Empty
variable 4 13 2 .Empty_27.scalerRate Empty
variable 0 30 1 .hod.1x14.negScaler HMS 1X- paddle 14
variable 0 30 2 .hod.1x14.negScalerRate HMS 1X- paddle 14
variable 0 14 1 .hod.1x14.posScaler HMS 1X+ paddle 14
......@@ -284,18 +310,20 @@ variable 2 4 1 .hod.2x2.posScaler HMS 2X+ paddle 2
variable 2 4 2 .hod.2x2.posScalerRate HMS 2X+ paddle 2
variable 2 20 1 .hod.2x2.negScaler HMS 2X- paddle 2
variable 2 20 2 .hod.2x2.negScalerRate HMS 2X- paddle 2
variable 4 16 1 .hL1ACCP.scaler HMS L1 Accept
variable 4 16 2 .hL1ACCP.scalerRate HMS L1 Accept
variable 6 29 1 .BCM17.scaler BCM17
variable 6 29 2 .BCM17.scalerRate BCM17
variable 6 29 3 .BCM17.scalerCurrent BCM17
variable 6 29 4 .BCM17.scalerCharge BCM17
variable 6 18 1 .Empty_43.scaler Empty
variable 6 18 2 .Empty_43.scalerRate Empty
variable 5 24 1 .hSTOF.scaler HMS STOF
variable 5 24 2 .hSTOF.scalerRate HMS STOF
variable 1 23 1 .hod.1y8.negScaler HMS 1Y- paddle 8
variable 1 23 2 .hod.1y8.negScalerRate HMS 1Y- paddle 8
variable 1 7 1 .hod.1y8.posScaler HMS 1Y+ paddle 8
variable 1 7 2 .hod.1y8.posScalerRate HMS 1Y+ paddle 8
variable 6 4 1 .S1XS1Y.scaler HMS S1T
variable 6 4 2 .S1XS1Y.scalerRate HMS S1T
variable 5 6 1 .Empty_45.scaler Empty
variable 5 6 2 .Empty_45.scalerRate Empty
variable 0 4 1 .hod.1x2.posScaler HMS 1X+ paddle 2
variable 0 4 2 .hod.1x2.posScalerRate HMS 1X+ paddle 2
variable 0 20 1 .hod.1x2.negScaler HMS 1X- paddle 2
......@@ -342,8 +370,6 @@ variable 3 6 1 .hod.2y6.posScaler HMS 2Y+ paddle 6
variable 3 6 2 .hod.2y6.posScalerRate HMS 2Y+ paddle 6
variable 3 22 1 .hod.2y6.negScaler HMS 2Y- paddle 6
variable 3 22 2 .hod.2y6.negScalerRate HMS 2Y- paddle 6
variable 6 20 1 .Empty_45.scaler Empty
variable 6 20 2 .Empty_45.scalerRate Empty
variable 4 1 1 .pPRE100.scaler SHMS PRE100
variable 4 1 2 .pPRE100.scalerRate SHMS PRE100
variable 0 26 1 .hod.1x13.negScaler HMS 1X- paddle 13
......@@ -370,6 +396,8 @@ variable 1 5 1 .hod.1y4.posScaler HMS 1Y+ paddle 4
variable 1 5 2 .hod.1y4.posScalerRate HMS 1Y+ paddle 4
variable 1 21 1 .hod.1y4.negScaler HMS 1Y- paddle 4
variable 1 21 2 .hod.1y4.negScalerRate HMS 1Y- paddle 4
variable 4 5 1 .1MHz_CP.scaler 1 Mhz Copy
variable 4 5 2 .1MHz_CP.scalerRate 1 Mhz Copy
variable 0 22 1 .hod.1x6.negScaler HMS 1X- paddle 6
variable 0 22 2 .hod.1x6.negScalerRate HMS 1X- paddle 6
variable 0 6 1 .hod.1x6.posScaler HMS 1X+ paddle 6
......@@ -392,28 +420,30 @@ variable 2 2 1 .hod.2x5.posScaler HMS 2X+ paddle 5
variable 2 2 2 .hod.2x5.posScalerRate HMS 2X+ paddle 5
variable 5 16 1 .pSTOF.scaler SHMS STOF
variable 5 16 2 .pSTOF.scalerRate SHMS STOF
variable 4 6 1 .EDTM_CP.scaler EDTM Copy
variable 4 6 2 .EDTM_CP.scalerRate EDTM Copy
variable 6 11 1 .PRLO.scaler HMS PRLO
variable 6 11 2 .PRLO.scalerRate HMS PRLO
variable 6 24 1 .Empty_49.scaler Empty
variable 6 24 2 .Empty_49.scalerRate Empty
variable 6 23 1 .Empty_48.scaler Empty
variable 6 23 2 .Empty_48.scalerRate Empty
variable 5 24 1 .hSTOF.scaler HMS STOF
variable 5 24 2 .hSTOF.scalerRate HMS STOF
variable 6 17 1 .Empty_42.scaler Empty
variable 6 17 2 .Empty_42.scalerRate Empty
variable 6 16 1 .Empty_41.scaler Empty
variable 6 16 2 .Empty_41.scalerRate Empty
variable 5 31 1 .Empty_40.scaler Empty
variable 5 31 2 .Empty_40.scalerRate Empty
variable 6 22 1 .Empty_47.scaler Empty
variable 6 22 2 .Empty_47.scalerRate Empty
variable 6 21 1 .Empty_46.scaler Empty
variable 6 21 2 .Empty_46.scalerRate Empty
variable 5 22 1 .Empty_49.scaler Empty
variable 5 22 2 .Empty_49.scalerRate Empty
variable 5 9 1 .Empty_48.scaler Empty
variable 5 9 2 .Empty_48.scalerRate Empty
variable 4 30 1 .Empty_43.scaler Empty
variable 4 30 2 .Empty_43.scalerRate Empty
variable 4 29 1 .Empty_42.scaler Empty
variable 4 29 2 .Empty_42.scalerRate Empty
variable 4 28 1 .Empty_41.scaler Empty
variable 4 28 2 .Empty_41.scalerRate Empty
variable 4 27 1 .Empty_40.scaler Empty
variable 4 27 2 .Empty_40.scalerRate Empty
variable 5 8 1 .Empty_47.scaler Empty
variable 5 8 2 .Empty_47.scalerRate Empty
variable 5 7 1 .Empty_46.scaler Empty
variable 5 7 2 .Empty_46.scalerRate Empty
variable 6 8 1 .BSUM.scaler HMS BSUM
variable 6 8 2 .BSUM.scalerRate HMS BSUM
variable 6 19 1 .Empty_44.scaler Empty
variable 6 19 2 .Empty_44.scalerRate Empty
variable 4 31 1 .Empty_44.scaler Empty
variable 4 31 2 .Empty_44.scalerRate Empty
variable 0 1 1 .hod.1x3.posScaler HMS 1X+ paddle 3
variable 0 1 2 .hod.1x3.posScalerRate HMS 1X+ paddle 3
variable 0 17 1 .hod.1x3.negScaler HMS 1X- paddle 3
......
......@@ -14,36 +14,48 @@ variable 3 15 1 .hod.2y16.negScaler SHMS 2y- paddle 16
variable 3 15 2 .hod.2y16.negScalerRate SHMS 2y- paddle 16
variable 6 29 1 .hEL_CLEAN.scaler HMS EL_CLEAN
variable 6 29 2 .hEL_CLEAN.scalerRate HMS EL_CLEAN
variable 5 16 1 .pL1ACCP.scaler SHMS L1 Accept
variable 5 16 2 .pL1ACCP.scalerRate SHMS L1 Accept
variable 7 11 1 .PRLO.scaler SHMS PRLO
variable 7 11 2 .PRLO.scalerRate SHMS PRLO
variable 7 10 1 .EDTM.scaler SHMS EDTM
variable 7 10 2 .EDTM.scalerRate SHMS EDTM
variable 7 23 1 .Empty_76.scaler Empty
variable 7 23 2 .Empty_76.scalerRate Empty
variable 0 23 1 .hod.1x8.negScaler SHMS 1X- paddle 8
variable 0 23 2 .hod.1x8.negScalerRate SHMS 1X- paddle 8
variable 0 7 1 .hod.1x8.posScaler SHMS 1X+ paddle 8
variable 0 7 2 .hod.1x8.posScalerRate SHMS 1X+ paddle 8
variable 7 4 1 .S1XS1Y.scaler SHMS S1T
variable 7 4 2 .S1XS1Y.scalerRate SHMS S1T
variable 7 22 1 .Empty_75.scaler Empty
variable 7 22 2 .Empty_75.scalerRate Empty
variable 0 1 1 .hod.1x3.posScaler SHMS 1X+ paddle 3
variable 0 1 2 .hod.1x3.posScalerRate SHMS 1X+ paddle 3
variable 0 17 1 .hod.1x3.negScaler SHMS 1X- paddle 3
variable 0 17 2 .hod.1x3.negScalerRate SHMS 1X- paddle 3
variable 7 16 1 .Empty_69.scaler Empty
variable 7 16 2 .Empty_69.scalerRate Empty
variable 7 15 1 .Empty_68.scaler Empty
variable 7 15 2 .Empty_68.scalerRate Empty
variable 6 25 1 .hEL_LO_LO.scaler HMS EL_LO_LO
variable 6 25 2 .hEL_LO_LO.scalerRate HMS EL_LO_LO
variable 7 23 1 .Empty_65.scaler Empty
variable 7 23 2 .Empty_65.scalerRate Empty
variable 7 22 1 .Empty_64.scaler Empty
variable 7 22 2 .Empty_64.scalerRate Empty
variable 6 31 1 .Empty_65.scaler Empty
variable 6 31 2 .Empty_65.scalerRate Empty
variable 6 30 1 .Empty_64.scaler Empty
variable 6 30 2 .Empty_64.scalerRate Empty
variable 7 14 1 .Empty_67.scaler Empty
variable 7 14 2 .Empty_67.scalerRate Empty
variable 4 1 1 .hod.2y19.negScaler SHMS 2y- paddle 19
variable 4 1 2 .hod.2y19.negScalerRate SHMS 2y- paddle 19
variable 7 19 1 .Empty_61.scaler Empty
variable 7 19 2 .Empty_61.scalerRate Empty
variable 6 9 1 .Empty_61.scaler Empty
variable 6 9 2 .Empty_61.scalerRate Empty
variable 4 17 1 .hod.2y19.posScaler SHMS 2y+ paddle 19
variable 4 17 2 .hod.2y19.posScalerRate SHMS 2y+ paddle 19
variable 7 21 1 .Empty_63.scaler Empty
variable 7 21 2 .Empty_63.scalerRate Empty
variable 7 20 1 .Empty_62.scaler Empty
variable 7 20 2 .Empty_62.scalerRate Empty
variable 6 23 1 .Empty_63.scaler Empty
variable 6 23 2 .Empty_63.scalerRate Empty
variable 6 22 1 .Empty_62.scaler Empty
variable 6 22 2 .Empty_62.scalerRate Empty
variable 3 19 1 .hod.2y7.posScaler SHMS 2y+ paddle 7
variable 3 19 2 .hod.2y7.posScalerRate SHMS 2y+ paddle 7
variable 3 3 1 .hod.2y7.negScaler SHMS 2y- paddle 7
......@@ -64,6 +76,8 @@ variable 2 29 1 .hod.2x12.negScaler SHMS 2X- paddle 12
variable 2 29 2 .hod.2x12.negScalerRate SHMS 2X- paddle 12
variable 2 13 1 .hod.2x12.posScaler SHMS 2X+ paddle 12
variable 2 13 2 .hod.2x12.posScalerRate SHMS 2X+ paddle 12
variable 5 6 1 .EDTM_CP.scaler EDTM Copy
variable 5 6 2 .EDTM_CP.scalerRate EDTM Copy
variable 3 29 1 .hod.2y12.posScaler SHMS 2y+ paddle 12
variable 3 29 2 .hod.2y12.posScalerRate SHMS 2y+ paddle 12
variable 2 8 1 .hod.2x9.posScaler SHMS 2X+ paddle 9
......@@ -113,6 +127,8 @@ variable 7 31 2 .1Mhz.scalerRate 1MHz
variable 7 31 5 .1Mhz.scalerTime 1MHz
variable 0 11 1 .Empty.scaler Empty
variable 0 11 2 .Empty.scalerRate Empty
variable 5 17 1 .pEDTM_V2.scaler SHMS EDTM V2
variable 5 17 2 .pEDTM_V2.scalerRate SHMS EDTM V2
variable 2 21 1 .hod.2x4.negScaler SHMS 2X- paddle 4
variable 2 21 2 .hod.2x4.negScalerRate SHMS 2X- paddle 4
variable 3 23 1 .hod.2y8.posScaler SHMS 2y+ paddle 8
......@@ -137,8 +153,6 @@ variable 5 2 1 .pPRE150.scaler SHMS PRE150
variable 5 2 2 .pPRE150.scalerRate SHMS PRE150
variable 5 10 1 .hPRE150.scaler HMS PRE150
variable 5 10 2 .hPRE150.scalerRate HMS PRE150
variable 5 16 1 .pL1ACCP.scaler SHMS L1 Accept
variable 5 16 2 .pL1ACCP.scalerRate SHMS L1 Accept
variable 0 15 1 .Empty_3.scaler Empty
variable 0 15 2 .Empty_3.scalerRate Empty
variable 3 9 1 .hod.2y11.negScaler SHMS 2y- paddle 11
......@@ -161,10 +175,20 @@ variable 0 8 1 .hod.1x9.posScaler SHMS 1X+ paddle 9
variable 0 8 2 .hod.1x9.posScalerRate SHMS 1X+ paddle 9
variable 0 24 1 .hod.1x9.negScaler SHMS 1X- paddle 9
variable 0 24 2 .hod.1x9.negScalerRate SHMS 1X- paddle 9
variable 5 7 1 .pTRIG1_CP.scaler SHMS pTRIG1 Copy
variable 5 7 2 .pTRIG1_CP.scalerRate SHMS pTRIG1 Copy
variable 4 4 1 .hod.2y18.negScaler SHMS 2y- paddle 18
variable 4 4 2 .hod.2y18.negScalerRate SHMS 2y- paddle 18
variable 7 24 1 .Empty_77.scaler Empty
variable 7 24 2 .Empty_77.scalerRate Empty
variable 7 21 1 .Empty_74.scaler Empty
variable 7 21 2 .Empty_74.scalerRate Empty
variable 6 20 1 .pEL_REAL.scaler SHMS EL_REAL
variable 6 20 2 .pEL_REAL.scalerRate SHMS EL_REAL
variable 7 19 1 .Empty_72.scaler Empty
variable 7 19 2 .Empty_72.scalerRate Empty
variable 7 20 1 .Empty_73.scaler Empty
variable 7 20 2 .Empty_73.scalerRate Empty
variable 4 20 1 .hod.2y18.posScaler SHMS 2y+ paddle 18
variable 4 20 2 .hod.2y18.posScalerRate SHMS 2y+ paddle 18
variable 6 11 1 .hTRIG2.scaler HMS TRIG2
......@@ -177,22 +201,20 @@ variable 3 5 1 .hod.2y4.negScaler SHMS 2y- paddle 4
variable 3 5 2 .hod.2y4.negScalerRate SHMS 2y- paddle 4
variable 3 21 1 .hod.2y4.posScaler SHMS 2y+ paddle 4
variable 3 21 2 .hod.2y4.posScalerRate SHMS 2y+ paddle 4
variable 7 24 1 .Empty_66.scaler Empty
variable 7 24 2 .Empty_66.scalerRate Empty
variable 7 18 1 .Empty_60.scaler Empty
variable 7 18 2 .Empty_60.scalerRate Empty
variable 7 13 1 .Empty_66.scaler Empty
variable 7 13 2 .Empty_66.scalerRate Empty
variable 6 8 1 .Empty_60.scaler Empty
variable 6 8 2 .Empty_60.scalerRate Empty
variable 0 26 1 .hod.1x13.negScaler SHMS 1X- paddle 13
variable 0 26 2 .hod.1x13.negScalerRate SHMS 1X- paddle 13
variable 0 10 1 .hod.1x13.posScaler SHMS 1X+ paddle 13
variable 0 10 2 .hod.1x13.posScalerRate SHMS 1X+ paddle 13
variable 2 26 1 .hod.2x13.negScaler SHMS 2X- paddle 13
variable 2 26 2 .hod.2x13.negScalerRate SHMS 2X- paddle 13
variable 6 31 1 .Empty_54.scaler Empty
variable 6 31 2 .Empty_54.scalerRate Empty
variable 5 28 1 .Empty_54.scaler Empty
variable 5 28 2 .Empty_54.scalerRate Empty
variable 2 10 1 .hod.2x13.posScaler SHMS 2X+ paddle 13
variable 2 10 2 .hod.2x13.posScalerRate SHMS 2X+ paddle 13
variable 6 23 1 .Empty_52.scaler Empty
variable 6 23 2 .Empty_52.scalerRate Empty
variable 5 26 1 .Empty_52.scaler Empty
variable 5 26 2 .Empty_52.scalerRate Empty
variable 2 17 1 .hod.2x3.negScaler SHMS 2X- paddle 3
variable 2 17 2 .hod.2x3.negScalerRate SHMS 2X- paddle 3
variable 2 1 1 .hod.2x3.posScaler SHMS 2X+ paddle 3
......@@ -273,6 +295,8 @@ variable 3 28 1 .hod.2y10.posScaler SHMS 2y+ paddle 10
variable 3 28 2 .hod.2y10.posScalerRate SHMS 2y+ paddle 10
variable 2 23 1 .hod.2x8.negScaler SHMS 2X- paddle 8
variable 2 23 2 .hod.2x8.negScalerRate SHMS 2X- paddle 8
variable 7 17 1 .Empty_70.scaler Empty
variable 7 17 2 .Empty_70.scalerRate Empty
variable 2 3 1 .hod.2x7.posScaler SHMS 2X+ paddle 7
variable 2 3 2 .hod.2x7.posScalerRate SHMS 2X+ paddle 7
variable 6 18 1 .pEL_LO.scaler SHMS EL_LO
......@@ -283,6 +307,8 @@ variable 2 5 1 .hod.2x4.posScaler SHMS 2X+ paddle 4
variable 2 5 2 .hod.2x4.posScalerRate SHMS 2X+ paddle 4
variable 1 4 1 .hod.1y2.negScaler SHMS 1Y- paddle 2
variable 1 4 2 .hod.1y2.negScalerRate SHMS 1Y- paddle 2
variable 7 18 1 .Empty_71.scaler Empty
variable 7 18 2 .Empty_71.scalerRate Empty
variable 1 20 1 .hod.1y2.posScaler SHMS 1Y+ paddle 2
variable 1 20 2 .hod.1y2.posScalerRate SHMS 1Y+ paddle 2
variable 7 29 1 .BCM17.scaler BCM17
......@@ -297,26 +323,26 @@ variable 1 18 1 .hod.1y5.posScaler SHMS 1Y+ paddle 5
variable 1 18 2 .hod.1y5.posScalerRate SHMS 1Y+ paddle 5
variable 1 2 1 .hod.1y5.negScaler SHMS 1Y- paddle 5
variable 1 2 2 .hod.1y5.negScalerRate SHMS 1Y- paddle 5
variable 5 12 1 .Empty_43.scaler Empty
variable 5 12 2 .Empty_43.scalerRate Empty
variable 5 7 1 .Empty_42.scaler Empty
variable 5 7 2 .Empty_42.scalerRate Empty
variable 5 6 1 .Empty_41.scaler Empty
variable 5 6 2 .Empty_41.scalerRate Empty
variable 5 15 1 .Empty_43.scaler Empty
variable 5 15 2 .Empty_43.scalerRate Empty
variable 5 14 1 .Empty_42.scaler Empty
variable 5 14 2 .Empty_42.scalerRate Empty
variable 5 13 1 .Empty_41.scaler Empty
variable 5 13 2 .Empty_41.scalerRate Empty
variable 0 0 1 .hod.1x1.posScaler SHMS 1X+ paddle 1
variable 0 0 2 .hod.1x1.posScalerRate SHMS 1X+ paddle 1
variable 6 6 1 .Empty_47.scaler Empty
variable 6 6 2 .Empty_47.scalerRate Empty
variable 5 21 1 .Empty_47.scaler Empty
variable 5 21 2 .Empty_47.scalerRate Empty
variable 0 16 1 .hod.1x1.negScaler SHMS 1X- paddle 1
variable 0 16 2 .hod.1x1.negScalerRate SHMS 1X- paddle 1
variable 5 14 1 .Empty_45.scaler Empty
variable 5 14 2 .Empty_45.scalerRate Empty
variable 5 13 1 .Empty_44.scaler Empty
variable 5 13 2 .Empty_44.scalerRate Empty
variable 6 8 1 .Empty_49.scaler Empty
variable 6 8 2 .Empty_49.scalerRate Empty
variable 6 7 1 .Empty_48.scaler Empty
variable 6 7 2 .Empty_48.scalerRate Empty
variable 5 19 1 .Empty_45.scaler Empty
variable 5 19 2 .Empty_45.scalerRate Empty
variable 5 18 1 .Empty_44.scaler Empty
variable 5 18 2 .Empty_44.scalerRate Empty
variable 5 23 1 .Empty_49.scaler Empty
variable 5 23 2 .Empty_49.scalerRate Empty
variable 5 22 1 .Empty_48.scaler Empty
variable 5 22 2 .Empty_48.scalerRate Empty
variable 6 4 1 .pTRIG5.scaler SHMS TRIG5
variable 6 4 2 .pTRIG5.scalerRate SHMS TRIG5
variable 6 3 1 .pTRIG4.scaler SHMS TRIG4
......@@ -345,10 +371,10 @@ variable 2 4 1 .hod.2x2.posScaler SHMS 2X+ paddle 2
variable 2 4 2 .hod.2x2.posScalerRate SHMS 2X+ paddle 2
variable 2 20 1 .hod.2x2.negScaler SHMS 2X- paddle 2
variable 2 20 2 .hod.2x2.negScalerRate SHMS 2X- paddle 2
variable 5 5 1 .Empty_40.scaler Empty
variable 5 5 2 .Empty_40.scalerRate Empty
variable 5 15 1 .Empty_46.scaler Empty
variable 5 15 2 .Empty_46.scalerRate Empty
variable 5 12 1 .Empty_40.scaler Empty
variable 5 12 2 .Empty_40.scalerRate Empty
variable 5 20 1 .Empty_46.scaler Empty
variable 5 20 2 .Empty_46.scalerRate Empty
variable 4 0 1 .hod.2y17.negScaler SHMS 2y- paddle 17
variable 4 0 2 .hod.2y17.negScalerRate SHMS 2y- paddle 17
variable 4 16 1 .hod.2y17.posScaler SHMS 2y+ paddle 17
......@@ -427,6 +453,8 @@ variable 6 16 1 .pSTOF.scaler SHMS STOF
variable 6 16 2 .pSTOF.scalerRate SHMS STOF
variable 2 6 1 .hod.2x6.posScaler SHMS 2X+ paddle 6
variable 2 6 2 .hod.2x6.posScalerRate SHMS 2X+ paddle 6
variable 5 5 1 .1MHz_CP.scaler 1 MHz Copy
variable 5 5 2 .1MHz_CP.scalerRate 1 MHz Copy
variable 5 9 1 .hPRE100.scaler HMS PRE100
variable 5 9 2 .hPRE100.scalerRate HMS PRE100
variable 4 25 1 .Empty_21.scaler Empty
......@@ -463,24 +491,24 @@ variable 1 5 1 .hod.1y4.negScaler SHMS 1Y- paddle 4
variable 1 5 2 .hod.1y4.negScalerRate SHMS 1Y- paddle 4
variable 0 22 1 .hod.1x6.negScaler SHMS 1X- paddle 6
variable 0 22 2 .hod.1x6.negScalerRate SHMS 1X- paddle 6
variable 7 13 1 .Empty_55.scaler Empty
variable 7 13 2 .Empty_55.scalerRate Empty
variable 7 14 1 .Empty_56.scaler Empty
variable 7 14 2 .Empty_56.scalerRate Empty
variable 7 15 1 .Empty_57.scaler Empty
variable 7 15 2 .Empty_57.scalerRate Empty
variable 6 9 1 .Empty_50.scaler Empty
variable 6 9 2 .Empty_50.scalerRate Empty
variable 6 22 1 .Empty_51.scaler Empty
variable 6 22 2 .Empty_51.scalerRate Empty
variable 5 29 1 .Empty_55.scaler Empty
variable 5 29 2 .Empty_55.scalerRate Empty
variable 5 30 1 .Empty_56.scaler Empty
variable 5 30 2 .Empty_56.scalerRate Empty
variable 5 31 1 .Empty_57.scaler Empty
variable 5 31 2 .Empty_57.scalerRate Empty
variable 5 24 1 .Empty_50.scaler Empty
variable 5 24 2 .Empty_50.scalerRate Empty
variable 5 25 1 .Empty_51.scaler Empty
variable 5 25 2 .Empty_51.scalerRate Empty
variable 0 6 1 .hod.1x6.posScaler SHMS 1X+ paddle 6
variable 0 6 2 .hod.1x6.posScalerRate SHMS 1X+ paddle 6
variable 6 30 1 .Empty_53.scaler Empty
variable 6 30 2 .Empty_53.scalerRate Empty
variable 7 16 1 .Empty_58.scaler Empty
variable 7 16 2 .Empty_58.scalerRate Empty
variable 7 17 1 .Empty_59.scaler Empty
variable 7 17 2 .Empty_59.scalerRate Empty
variable 5 27 1 .Empty_53.scaler Empty
variable 5 27 2 .Empty_53.scalerRate Empty
variable 6 6 1 .Empty_58.scaler Empty
variable 6 6 2 .Empty_58.scalerRate Empty
variable 6 7 1 .Empty_59.scaler Empty
variable 6 7 2 .Empty_59.scalerRate Empty
variable 5 11 1 .hPRE200.scaler HMS PRE200
variable 5 11 2 .hPRE200.scalerRate HMS PRE200
variable 4 9 1 .Empty_32.scaler Empty
......@@ -495,6 +523,8 @@ variable 3 20 1 .hod.2y2.posScaler SHMS 2y+ paddle 2
variable 3 20 2 .hod.2y2.posScalerRate SHMS 2y+ paddle 2
variable 7 9 1 .NCER.scaler SHMS NGC
variable 7 9 2 .NCER.scalerRate SHMS NGC
variable 2 26 1 .hod.2x13.negScaler SHMS 2X- paddle 13
variable 2 26 2 .hod.2x13.negScalerRate SHMS 2X- paddle 13
variable 2 18 1 .hod.2x5.negScaler SHMS 2X- paddle 5
variable 2 18 2 .hod.2x5.negScalerRate SHMS 2X- paddle 5
variable 2 2 1 .hod.2x5.posScaler SHMS 2X+ paddle 5
......
......@@ -201,9 +201,9 @@ pPRE100 0 4 4 1 1 -1 SHMS PRE100
pPRE150 0 4 4 2 1 -1 SHMS PRE150
pPRE200 0 4 4 3 1 -1 SHMS PRE200
10/4 0 4 4 4 1 -1 Empty
10/5 0 4 4 5 1 -1 Empty
10/6 0 4 4 6 1 -1 Empty
10/7 0 4 4 7 1 -1 Empty
1MHz_CP 0 4 4 5 1 -1 1 Mhz Copy
EDTM_CP 0 4 4 6 1 -1 EDTM Copy
pTRIG1_CP 0 4 4 7 1 -1 pTRIG1 Copy
hPRE40 0 4 4 8 1 -1 HMS PRE40
hPRE100 0 4 4 9 1 -1 HMS PRE100
hPRE150 0 4 4 10 1 -1 HMS PRE150
......@@ -212,9 +212,22 @@ hPRE200 0 4 4 11 1 -1 HMS PRE200
10/13 0 4 4 13 1 -1 Empty
10/14 0 4 4 14 1 -1 Empty
10/15 0 4 4 15 1 -1 Empty
# desc hel crate slot start nchan page long-description
hL1ACCP 0 4 4 16 1 -1 HMS L1 Accept
hL1ACCP 0 4 4 16 1 -1 HMS L1 Accept
10/17 0 4 4 17 1 -1 Empty
10/18 0 4 4 18 1 -1 Empty
10/19 0 4 4 19 1 -1 Empty
10/20 0 4 4 20 1 -1 Empty
10/21 0 4 4 21 1 -1 Empty
10/22 0 4 4 22 1 -1 Empty
10/23 0 4 4 23 1 -1 Empty
10/24 0 4 4 24 1 -1 Empty
10/25 0 4 4 25 1 -1 Empty
10/26 0 4 4 26 1 -1 Empty
10/27 0 4 4 27 1 -1 Empty
10/28 0 4 4 28 1 -1 Empty
10/29 0 4 4 29 1 -1 Empty
10/30 0 4 4 30 1 -1 Empty
10/31 0 4 4 31 1 -1 Empty
# desc hel crate slot start nchan page long-description
pTRIG1 0 4 5 0 1 -1 SHMS TRIG1
......@@ -483,9 +496,9 @@ pPRE100 0 5 5 1 1 -1 SHMS PRE100
pPRE150 0 5 5 2 1 -1 SHMS PRE150
pPRE200 0 5 5 3 1 -1 SHMS PRE200
11/4 0 5 5 4 1 -1 Empty
11/5 0 5 5 5 1 -1 Empty
11/6 0 5 5 6 1 -1 Empty
11/7 0 5 5 7 1 -1 Empty
1MHz_CP 0 5 5 5 1 -1 1 MHz Copy
EDTM_CP 0 5 5 6 1 -1 EDTM Copy
pTRIG1_CP 0 5 5 7 1 -1 SHMS pTRIG1 Copy
hPRE40 0 5 5 8 1 -1 HMS PRE40
hPRE100 0 5 5 9 1 -1 HMS PRE100
hPRE150 0 5 5 10 1 -1 HMS PRE150
......@@ -494,9 +507,22 @@ hPRE200 0 5 5 11 1 -1 HMS PRE200
11/13 0 5 5 13 1 -1 Empty
11/14 0 5 5 14 1 -1 Empty
11/15 0 5 5 15 1 -1 Empty
# desc hel crate slot start nchan page long-description
pL1ACCP 0 5 5 16 1 -1 SHMS L1 Accept
pL1ACCP 0 5 5 16 1 -1 SHMS L1 Accept
pEDTM_V2 0 5 5 17 1 -1 SHMS EDTM V2
11/18 0 5 5 18 1 -1 Empty
11/19 0 5 5 19 1 -1 Empty
11/20 0 5 5 20 1 -1 Empty
11/21 0 5 5 21 1 -1 Empty
11/22 0 5 5 22 1 -1 Empty
11/23 0 5 5 23 1 -1 Empty
11/24 0 5 5 24 1 -1 Empty
11/25 0 5 5 25 1 -1 Empty
11/26 0 5 5 26 1 -1 Empty
11/27 0 5 5 27 1 -1 Empty
11/28 0 5 5 28 1 -1 Empty
11/29 0 5 5 29 1 -1 Empty
11/30 0 5 5 30 1 -1 Empty
11/31 0 5 5 31 1 -1 Empty
# desc hel crate slot start nchan page long-description
pTRIG1 0 5 6 0 1 -1 SHMS TRIG1
......
......@@ -593,3 +593,181 @@ phodo_neg_sigma = 100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
; New calibration by Simona on 10/23/18
phodo_pos_invadc_offset = -0.00, -0.00, -0.00, -0.00
-6.88, -0.00, 0.41, -0.00
-2.64, -0.00, 12.50, -0.00
1.41, -3.87, 0.72, -0.00
-1.48, -5.63, 9.81, 25.26
-2.23, -5.77, 0.41, 24.92
0.35, -3.84, 1.54, 23.65
-6.99, -3.56, 0.90, 22.51
-1.34, -4.54, 1.79, 23.90
-0.00, 4.11, 1.17, 22.12
-3.81, -4.29, -0.21, 22.91
-0.03, -0.00, 2.51, 22.77
-0.00, -0.00, 2.91, 23.88
-0.00, -0.00, -0.00, 23.50
-0.00, -0.00, -0.00, 22.77
-0.00, -0.00, -0.00, 25.55
-0.00, -0.00, -0.00, 23.13
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
phodo_neg_invadc_offset = -0.00, -0.00, -0.00, -0.00
-15.09, -0.00, -5.59, -0.00
-7.23, -0.00, 15.44, -0.00
-12.02, -3.47, -6.16, -0.00
-9.90, -3.83, 10.17, 14.93
-12.69, -3.31, -7.17, 17.39
-9.48, -2.64, -5.78, 16.32
-9.07, -4.48, -4.93, 15.31
-7.98, -3.99, -8.00, 15.54
-10.44, 6.18, -6.79, 14.16
-3.71, -5.00, -4.71, 14.82
-10.47, -0.00, -4.49, 15.24
-0.00, -0.00, -5.43, 14.04
-0.00, -0.00, -0.00, 16.25
-0.00, -0.00, -0.00, 16.80
-0.00, -0.00, -0.00, 15.01
-0.00, -0.00, -0.00, 16.75
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
phodo_pos_invadc_linear = 15.00, 15.00, 15.00, 15.00
14.85, 15.00, 15.00, 15.00
15.00, 15.00, 14.66, 15.00
15.00, 14.25, 15.00, 15.00
15.00, 13.03, 15.00, 14.66
14.70, 14.87, 15.00, 13.42
15.00, 14.26, 15.00, 13.09
15.00, 14.16, 15.00, 13.50
15.00, 14.95, 15.00, 13.27
14.45, 14.68, 14.91, 13.16
13.11, 15.00, 15.00, 13.15
13.93, 15.00, 15.00, 13.24
15.00, 15.00, 15.00, 13.17
15.00, 15.00, 15.00, 13.56
15.00, 15.00, 15.00, 13.16
15.00, 15.00, 15.00, 13.07
15.00, 15.00, 15.00, 14.03
15.00, 15.00, 15.00, 15.00
15.00, 15.00, 15.00, 15.00
15.00, 15.00, 15.00, 15.00
15.00, 15.00, 15.00, 15.00
phodo_neg_invadc_linear = 15.00, 15.00, 15.00, 15.00
13.79, 15.00, 14.84, 15.00
14.00, 15.00, 15.00, 15.00
11.75, 15.00, 14.99, 15.00
14.44, 15.00, 15.00, 13.09
14.34, 15.00, 14.48, 14.36
10.90, 15.00, 14.36, 14.42
14.99, 15.00, 15.00, 15.00
15.00, 15.00, 14.62, 14.08
13.44, 15.00, 15.00, 14.50
14.67, 15.00, 15.00, 14.16
13.92, 15.00, 15.00, 13.69
15.00, 15.00, 14.91, 14.14
15.00, 15.00, 15.00, 14.44
15.00, 15.00, 15.00, 14.23
15.00, 15.00, 15.00, 14.50
15.00, 15.00, 15.00, 15.00
15.00, 15.00, 15.00, 15.00
15.00, 15.00, 15.00, 15.00
15.00, 15.00, 15.00, 15.00
15.00, 15.00, 15.00, 15.00
phodo_pos_invadc_adc= -0.00, -0.00, -0.00, -0.00
15.39, -0.00, 15.23, -0.00
16.13, -0.00, 15.81, -0.00
18.97, 15.66, 16.03, -0.00
14.78, 16.11, 15.95, 21.22
15.75, 12.98, 14.06, 23.45
17.07, 12.87, 14.00, 21.30
14.66, 13.27, 14.21, 22.46
18.17, 14.61, 15.12, 20.78
19.35, 18.22, 14.49, 21.10
16.43, 12.22, 15.35, 17.62
21.03, -0.00, 15.98, 21.51
-0.00, -0.00, 16.31, 20.01
-0.00, -0.00, -0.00, 20.45
-0.00, -0.00, -0.00, 19.99
-0.00, -0.00, -0.00, 22.47
-0.00, -0.00, -0.00, 29.40
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
phodo_neg_invadc_adc= -0.00, -0.00, -0.00, -0.00
18.70, -0.00, 16.52, -0.00
17.38, -0.00, 22.22, -0.00
18.24, 13.01, 16.82, -0.00
14.66, 14.85, 18.60, 18.41
15.57, 15.18, 15.45, 20.08
25.60, 13.18, 15.43, 20.82
16.67, 14.05, 16.13, 20.76
16.25, 15.09, 15.74, 19.74
16.36, 19.60, 16.06, 21.32
23.43, 15.49, 16.18, 22.55
15.32, -0.00, 15.65, 19.81
-0.00, -0.00, 14.33, 20.62
-0.00, -0.00, -0.00, 20.14
-0.00, -0.00, -0.00, 23.15
-0.00, -0.00, -0.00, 21.47
-0.00, -0.00, -0.00, 21.41
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
-0.00, -0.00, -0.00, -0.00
phodo_pos_sigma = 100.00, 100.00, 100.00, 100.00
0.64, 100.00, 0.73, 100.00
0.64, 100.00, 0.73, 100.00
0.70, 0.71, 0.71, 100.00
0.65, 0.90, 0.82, 0.52
0.74, 0.67, 0.56, 0.72
0.55, 0.64, 0.85, 0.85
0.62, 0.74, 0.73, 0.79
0.77, 0.69, 0.79, 0.62
0.70, 0.52, 0.72, 0.55
0.75, 0.42, 0.75, 0.57
0.95, 100.00, 0.93, 0.67
100.00, 100.00, 0.78, 0.73
100.00, 100.00, 100.00, 0.60
100.00, 100.00, 100.00, 0.70
100.00, 100.00, 100.00, 0.40
100.00, 100.00, 100.00, 0.56
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
phodo_neg_sigma = 100.00, 100.00, 100.00, 100.00
0.76, 100.00, 0.78, 100.00
0.67, 100.00, 0.76, 100.00
0.82, 0.59, 0.82, 100.00
0.66, 0.71, 0.88, 0.37
0.66, 0.66, 0.69, 0.60
0.66, 0.71, 0.79, 0.80
0.59, 0.71, 0.70, 0.75
0.66, 0.74, 0.84, 0.65
0.66, 0.65, 0.69, 0.62
1.08, 0.52, 0.76, 0.67
0.75, 100.00, 0.89, 0.77
100.00, 100.00, 0.63, 0.74
100.00, 100.00, 100.00, 0.71
100.00, 100.00, 100.00, 0.72
100.00, 100.00, 100.00, 0.56
100.00, 100.00, 100.00, 0.54
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
100.00, 100.00, 100.00, 100.00
// Filename: Bean_counter.C
// Description: delta, xptar,yptar, ytar distributions for SHMS and HMS and W, Em, Pm and Cointime distributions
// are plotted and the number of good counts are printed out to add to the count of good events.
// Needs runnumber, and if target is "h" or "c"
void Bean_counter(Int_t runNumber, Int_t targ){
//read the input file from data
TString fileNameD = "/net/cdaq/cdaql3data/cdaq/hallc-online/ROOTfiles/" ;
fileNameD += "coin_replay_production_"; //read the root file from data
fileNameD += runNumber; //read the root file from data
fileNameD += "_-1.root"; //read the root file from data
TFile *f1 = new TFile(fileNameD);
TTree *tt = (TTree*)f1->Get("T");
//get the relevant branch
int nentriesD = tt->GetEntries();
cout<<"Entries:\t"<<nentriesD<<endl;
TString fileO;
fileO += "/net/cdaq/cdaql3data/cdaq/hallc-online/run_"; //read the root file from data
fileO += runNumber; //read the root file from data
fileO += "_hists_coin.root"; //read the root file from data
TFile *fout = new TFile(fileO,"RECREATE");
gROOT->SetBatch(kTRUE);
//make histograms:
TH1D *h_hdelta = new TH1D("h_hdelta","HMS DELTA (%)",100,-12,12);
TH1D *h_hxptar = new TH1D("h_hxptar","HMS XPTAR (rad)",100,-0.1,0.1);
TH1D *h_hyptar = new TH1D("h_hyptar","HMS YPTAR (rad)",100,-0.08,0.08);
TH1D *h_hytar = new TH1D("h_hytar","HMS YTAR (cm)",100,-12.0,12.0);
TH1D *h_pdelta = new TH1D("h_pdelta","SHMS DELTA (%)",100,-12,12);
TH1D *h_pxptar = new TH1D("h_pxptar","SHMS XPTAR (rad)",100,-0.06,0.06);
TH1D *h_pyptar = new TH1D("h_pyptar","SHMS YPTAR (rad)",100,-0.06,0.06);
TH1D *h_pytar = new TH1D("h_pytar","SHMS YTAR (cm)",100,-12.0,12.0);
TH1D *h_Emd = new TH1D("h_Emd","Missing Energy (GeV)",200,-0.2,0.2);
TH1D *h_Wd = new TH1D("h_Wd","W (GeV)", 150, 0, 2);
TH1D *h_pmd = new TH1D("h_pmd","Pm (GeV/c)", 100, -0.2, 0.2);
TH1D *h1PcointimeROC1 = new TH1D("SHMS ROC1 Corrected Coin Time","SHMS ROC1 Corrected Coin Time; cointime [ns]", 200, -10, 10);
TH1D *h1PcointimeROC2 = new TH1D("SHMS ROC2 Corrected Coin Time","SHMS ROC2 Corrected Coin Time; cointime [ns]", 200, -10, 10);
Double_t HgtrX, HgtrTh, HgtrY, HgtrPh, hdelta, PgtrX, PgtrTh, PgtrY, PgtrPh, pdelta;
Double_t HgtrBetaCalc, PgtrBetaCalc, evtType, PgtrP, HgtrP, PhodStatus, PhodStartTime, PhodfpHitsTime;
Double_t cointime, HhodStatus, HhodStartTime, HhodfpHitsTime, SHMSpartMass, HMSpartMass;
Double_t pkinW, pEm, pPm, pbeta, hbeta, hcalepr, hcaletot, hcernpe, pcaletot, pcalepr, pcernpe;
Double_t TcoinpTRIG1_ROC1_tdcTimeRaw, TcoinpTRIG4_ROC1_tdcTimeRaw, TcoinpTRIG1_ROC2_tdcTimeRaw;
Double_t TcoinhTRIG1_ROC1_tdcTimeRaw, TcoinhTRIG1_ROC2_tdcTimeRaw, TcoinhTRIG4_ROC1_tdcTimeRaw;
Double_t TcoinhTRIG4_ROC2_tdcTimeRaw, TcoinpTRIG4_ROC2_tdcTimeRaw;
int cnts=0;
TCut hpdelta;
TCut evtCut;
TCut eBetaCut;
TCut pBetaCut;
TCut cerCut;
TCut calCut;
TCut hodoTimeCut;
TCut Wcut;
TCut Emcut;
TCut Pmcut;
tt->SetBranchAddress("P.gtr.p", &PgtrP);
tt->SetBranchAddress("H.gtr.p", &HgtrP);
tt->SetBranchAddress("P.gtr.beta", &pbeta);
tt->SetBranchAddress("H.gtr.beta", &hbeta);
tt->SetBranchAddress("H.gtr.dp", &hdelta);
tt->SetBranchAddress("P.gtr.dp", &pdelta);
tt->SetBranchAddress("P.cal.eprtracknorm", &pcalepr);
tt->SetBranchAddress("P.cal.etottracknorm", &pcaletot);
tt->SetBranchAddress("P.hgcer.npeSum", &pcernpe);
tt->SetBranchAddress("H.cal.eprtracknorm", &hcalepr);
tt->SetBranchAddress("H.cal.etottracknorm", &hcaletot);
tt->SetBranchAddress("H.cer.npeSum", &hcernpe);
tt->SetBranchAddress("H.kin.primary.W", &pkinW);
tt->SetBranchAddress("P.kin.secondary.emiss", &pEm);
tt->SetBranchAddress("P.kin.secondary.pmiss", &pPm);
tt->SetBranchAddress("P.hod.goodstarttime", &PhodStatus);
tt->SetBranchAddress("P.hod.starttime", &PhodStartTime);
tt->SetBranchAddress("P.hod.fpHitsTime", &PhodfpHitsTime);
tt->SetBranchAddress("H.hod.goodstarttime", &HhodStatus);
tt->SetBranchAddress("H.hod.starttime", &HhodStartTime);
tt->SetBranchAddress("H.hod.fpHitsTime", &HhodfpHitsTime);
tt->SetBranchAddress("H.gtr.x", &HgtrX);
tt->SetBranchAddress("H.gtr.th", &HgtrTh);
tt->SetBranchAddress("H.gtr.y", &HgtrY);
tt->SetBranchAddress("H.gtr.ph", &HgtrPh);
tt->SetBranchAddress("P.gtr.x", &PgtrX);
tt->SetBranchAddress("P.gtr.th", &PgtrTh);
tt->SetBranchAddress("P.gtr.y", &PgtrY);
tt->SetBranchAddress("P.gtr.ph", &PgtrPh);
tt->SetBranchAddress("T.coin.pTRIG1_ROC1_tdcTimeRaw", &TcoinpTRIG1_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.pTRIG4_ROC1_tdcTimeRaw", &TcoinpTRIG4_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.pTRIG1_ROC2_tdcTimeRaw", &TcoinpTRIG1_ROC2_tdcTimeRaw);
tt->SetBranchAddress("T.coin.pTRIG4_ROC2_tdcTimeRaw", &TcoinpTRIG4_ROC2_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG1_ROC1_tdcTimeRaw", &TcoinhTRIG1_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG4_ROC1_tdcTimeRaw", &TcoinhTRIG4_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG1_ROC2_tdcTimeRaw", &TcoinhTRIG1_ROC2_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG4_ROC2_tdcTimeRaw", &TcoinhTRIG4_ROC2_tdcTimeRaw);
SHMSpartMass = 0.93827208; // proton mass in GeV/c^2
HMSpartMass = 0.000510998; // electron mass in GeV/c^2
hpdelta = "P.gtr.dp > -10 && P.gtr.dp < 10 && H.gtr.dp > -8 && H.gtr.dp < 8";
eBetaCut = "P.gtr.beta > 0.8 && P.gtr.beta < 1.3";
pBetaCut = "H.gtr.beta > 0.8 && H.gtr.beta < 1.3";
cerCut = "P.hgcer.npeSum < 0.1 && H.cer.npeSum > 0.5";
calCut = "H.cal.etottracknorm > 0.8 && H.cal.etottracknorm < 1.5 && H.cal.eprtracknorm > 0.2";
hodoTimeCut ="P.hod.goodstarttime == 1 && H.hod.goodstarttime == 1";
Wcut = "H.kin.primary.W >0.75 && H.kin.primary.W < 1.1";
TCanvas *canvas1 = new TCanvas("canvas1","canvas1");
tt->Draw("P.hod.starttime >> SHMShodoStartTime", eBetaCut && pBetaCut && cerCut && calCut && hodoTimeCut);
TH1D *h1PhodoStartTime = (TH1D*)gDirectory->Get("SHMShodoStartTime");
h1PhodoStartTime->GetXaxis()->SetTitle("SHMS hodo start time [ns]");
Double_t PhodoStartTimeMean = h1PhodoStartTime->GetMean();
TCanvas *canvas2 = new TCanvas("canvas2","canvas2");
tt->Draw("H.hod.starttime >> HMShodoStartTime", eBetaCut && pBetaCut && cerCut && calCut && hodoTimeCut);
TH1D *h1HhodoStartTime = (TH1D*)gDirectory->Get("HMShodoStartTime");
h1HhodoStartTime->GetXaxis()->SetTitle("HMS hodo start time [ns]");
Double_t HhodoStartTimeMean = h1HhodoStartTime->GetMean();
Double_t pOffset = 3.0; //9.5 + 10; // in ns
Double_t hOffset = 335;
Double_t speedOfLight = 29.9792; // in cm/ns
Double_t SHMScentralPathLen = 18.1*100; // SHMS Target to focal plane path length converted to cm
Double_t SHMSpathLength = 18.1*100; // For now assume that it's same as SHMScentralPathLen
Double_t HMScentralPathLen = 22*100; // HMS Target to focal plane path length converted to cm
Double_t DeltaHMSpathLength; // For now assume that it's same as HMScentralPathLen
Double_t SHMScoinCorr = 0.0;
Double_t HMScoinCorr = 0.0;
Double_t SHMSrawCoinTimeROC1;
Double_t SHMSrawCoinTimeROC2;
Double_t HMSrawCoinTimeROC1;
Double_t HMSrawCoinTimeROC2;
Double_t SHMScorrCoinTimeROC1;
Double_t SHMScorrCoinTimeROC2;
Double_t HMScorrCoinTimeROC1;
Double_t HMScorrCoinTimeROC2;
for (int kk=0; kk<nentriesD; kk++){
tt->GetEntry(kk);
if (kk % 50000 == 0) cout << kk*100/nentriesD << " % of data done" << endl;
evtType = tt->GetLeaf("fEvtHdr.fEvtType")->GetValue();
if (pbeta>0.8 && pbeta<1.3 && hbeta>0.8 && hbeta<1.2 && hcernpe>0.1 && hcaletot >0.8 && hcaletot<1.2 && PhodStatus == 1 && HhodStatus ==1 && hdelta > -10 && hdelta < 10 && pdelta > -12 && pdelta < 12 && pcernpe < 0.1)
{
DeltaHMSpathLength = 12.462*HgtrTh + 0.1138*HgtrTh*HgtrX - 0.0154*HgtrX - 72.292*HgtrTh*HgtrTh - 0.0000544*HgtrX*HgtrX - 116.52*HgtrPh*HgtrPh;
PgtrBetaCalc = PgtrP/sqrt(PgtrP*PgtrP + SHMSpartMass*SHMSpartMass);
HgtrBetaCalc = HgtrP/sqrt(HgtrP*HgtrP + HMSpartMass*HMSpartMass);
SHMScoinCorr = SHMScentralPathLen / (speedOfLight*PgtrBetaCalc) + (SHMSpathLength - SHMScentralPathLen) / speedOfLight*PgtrBetaCalc + (PhodoStartTimeMean - PhodfpHitsTime);
HMScoinCorr = HMScentralPathLen / (speedOfLight*HgtrBetaCalc) + DeltaHMSpathLength / speedOfLight*HgtrBetaCalc + (HhodoStartTimeMean - HhodfpHitsTime);
SHMScorrCoinTimeROC1 = (TcoinpTRIG1_ROC1_tdcTimeRaw*0.1 - SHMScoinCorr) - (TcoinpTRIG4_ROC1_tdcTimeRaw*0.1 - HMScoinCorr) - pOffset; // 0.1 to convert to ns
SHMScorrCoinTimeROC2 = (TcoinpTRIG1_ROC2_tdcTimeRaw*0.1 - SHMScoinCorr) - (TcoinpTRIG4_ROC2_tdcTimeRaw*0.1 - HMScoinCorr) - pOffset;
h1PcointimeROC1->Fill(SHMScorrCoinTimeROC1);
h1PcointimeROC2->Fill(SHMScorrCoinTimeROC2);
if (targ == 1)
{
if (pkinW > 0.75 && pkinW < 1.15)
{
h_hdelta->Fill(hdelta);
h_hxptar->Fill(HgtrPh);
h_hyptar->Fill(HgtrTh);
h_hytar->Fill(HgtrY);
h_pdelta->Fill(pdelta);
h_pxptar->Fill(PgtrPh);
h_pyptar->Fill(PgtrTh);
h_pytar->Fill(PgtrY);
h_Emd->Fill(pEm+0.025);
h_Wd->Fill(pkinW);
h_pmd->Fill(pPm-0.04);
cnts++;
}
}
else if (targ == 2)
{
if (pkinW > 0.5 && pkinW < 1.5)
{
h_hdelta->Fill(hdelta);
h_hxptar->Fill(HgtrPh);
h_hyptar->Fill(HgtrTh);
h_hytar->Fill(HgtrY);
h_pdelta->Fill(pdelta);
h_pxptar->Fill(PgtrPh);
h_pyptar->Fill(PgtrTh);
h_pytar->Fill(PgtrY);
h_Emd->Fill(pEm+0.025);
h_Wd->Fill(pkinW);
h_pmd->Fill(pPm-0.04);
cnts++;
}
}
}
}
gROOT->SetBatch(kFALSE);
TCanvas *can1 = new TCanvas ("can1","can1");
can1->Divide(4,2);
can1->cd(1);
h_hdelta->Draw();
can1->cd(2);
h_hxptar->Draw();
can1->cd(3);
h_hyptar->Draw();
can1->cd(4);
h_hytar->Draw();
can1->cd(5);
h_pdelta->Draw();
can1->cd(6);
h_pxptar->Draw();
can1->cd(7);
h_pyptar->Draw();
can1->cd(8);
h_pytar->Draw();
// can1->SaveAs("tmp1.pdf");
TCanvas *can2 = new TCanvas ("can2","can2");
can2->Divide(2,2);
can2->cd(1);
h_Wd->Draw();
can2->cd(2);
h_Emd->Draw();
can2->cd(3);
h_pmd->Draw();
can2->cd(4);
h1PcointimeROC1->Draw();
// can2->SaveAs("tmp.pdf");
fout->Write();
// fout->Close();
cout << "-------------------------------------------------------------------------------------------------------" << endl;
cout << "NOTE:>>>> " << cnts <<" <<<<< GOOD EVENTS have passed all cuts (update the white board and excel sheet)" << endl;
cout << "-------------------------------------------------------------------------------------------------------" << endl;
}
// Filename: Bean_counter_carbon.C
// Description: delta, xptar,yptar, ytar distributions for SHMS and HMS and W, Em, Pm and Cointime distributions
// are plotted and the number of good counts are printed out to add to the count of good events.
// Needs runnumber,
void Bean_counter_carbon(Int_t runNumber){
//read the input file from data
TString fileNameD = "/net/cdaq/cdaql3data/cdaq/hallc-online/ROOTfiles/" ;
fileNameD += "coin_replay_production_"; //read the root file from data
fileNameD += runNumber; //read the root file from data
fileNameD += "_-1.root"; //read the root file from data
TFile *f1 = new TFile(fileNameD);
TTree *tt = (TTree*)f1->Get("T");
//get the relevant branch
int nentriesD = tt->GetEntries();
cout<<"Entries:\t"<<nentriesD<<endl;
TString fileO;
fileO += "/net/cdaq/cdaql3data/cdaq/hallc-online/run_"; //read the root file from data
fileO += runNumber; //read the root file from data
fileO += "_hists_coin.root"; //read the root file from data
TFile *fout = new TFile(fileO,"RECREATE");
gROOT->SetBatch(kTRUE);
//make histograms:
TH1D *h_hdelta = new TH1D("h_hdelta","HMS DELTA (%)",100,-12,12);
TH1D *h_hxptar = new TH1D("h_hxptar","HMS XPTAR (rad)",100,-0.1,0.1);
TH1D *h_hyptar = new TH1D("h_hyptar","HMS YPTAR (rad)",100,-0.08,0.08);
TH1D *h_hytar = new TH1D("h_hytar","HMS YTAR (cm)",100,-12.0,12.0);
TH1D *h_pdelta = new TH1D("h_pdelta","SHMS DELTA (%)",100,-12,12);
TH1D *h_pxptar = new TH1D("h_pxptar","SHMS XPTAR (rad)",100,-0.06,0.06);
TH1D *h_pyptar = new TH1D("h_pyptar","SHMS YPTAR (rad)",100,-0.06,0.06);
TH1D *h_pytar = new TH1D("h_pytar","SHMS YTAR (cm)",100,-12.0,12.0);
TH1D *h_Emd = new TH1D("h_Emd","Missing Energy (GeV)",200,-0.2,0.2);
TH1D *h_Wd = new TH1D("h_Wd","W (GeV)", 150, 0, 2);
TH1D *h_pmd = new TH1D("h_pmd","Pm (GeV/c)", 100, -0.2, 0.2);
TH1D *h1PcointimeROC1 = new TH1D("SHMS ROC1 Corrected Coin Time","SHMS ROC1 Corrected Coin Time; cointime [ns]", 200, -10, 10);
TH1D *h1PcointimeROC2 = new TH1D("SHMS ROC2 Corrected Coin Time","SHMS ROC2 Corrected Coin Time; cointime [ns]", 200, -10, 10);
Double_t HgtrX, HgtrTh, HgtrY, HgtrPh, hdelta, PgtrX, PgtrTh, PgtrY, PgtrPh, pdelta;// Ep, Epp, p_e, p_p, defEm;
Double_t HgtrBetaCalc, PgtrBetaCalc, evtType, PgtrP, HgtrP, PhodStatus, PhodStartTime, PhodfpHitsTime;
Double_t cointime, HhodStatus, HhodStartTime, HhodfpHitsTime, SHMSpartMass, HMSpartMass;
Double_t pkinW, pEm, pPm, pbeta, hbeta, hcalepr, hcaletot, hcernpe, pcaletot, pcalepr, pcernpe;
Double_t TcoinpTRIG1_ROC1_tdcTimeRaw, TcoinpTRIG4_ROC1_tdcTimeRaw, TcoinpTRIG1_ROC2_tdcTimeRaw;
Double_t TcoinhTRIG1_ROC1_tdcTimeRaw, TcoinhTRIG1_ROC2_tdcTimeRaw, TcoinhTRIG4_ROC1_tdcTimeRaw;
Double_t TcoinhTRIG4_ROC2_tdcTimeRaw, TcoinpTRIG4_ROC2_tdcTimeRaw;
int cnts=0;
TCut hpdelta;
TCut evtCut;
TCut eBetaCut;
TCut pBetaCut;
TCut cerCut;
TCut calCut;
TCut hodoTimeCut;
TCut Wcut;
TCut Emcut;
TCut Pmcut;
tt->SetBranchAddress("P.gtr.p", &PgtrP);
tt->SetBranchAddress("H.gtr.p", &HgtrP);
tt->SetBranchAddress("P.gtr.beta", &pbeta);
tt->SetBranchAddress("H.gtr.beta", &hbeta);
tt->SetBranchAddress("H.gtr.dp", &hdelta);
tt->SetBranchAddress("P.gtr.dp", &pdelta);
tt->SetBranchAddress("P.cal.eprtracknorm", &pcalepr);
tt->SetBranchAddress("P.cal.etottracknorm", &pcaletot);
tt->SetBranchAddress("P.hgcer.npeSum", &pcernpe);
tt->SetBranchAddress("H.cal.eprtracknorm", &hcalepr);
tt->SetBranchAddress("H.cal.etottracknorm", &hcaletot);
tt->SetBranchAddress("H.cer.npeSum", &hcernpe);
tt->SetBranchAddress("H.kin.primary.W", &pkinW);
tt->SetBranchAddress("P.kin.secondary.emiss", &pEm);
tt->SetBranchAddress("P.kin.secondary.pmiss", &pPm);
tt->SetBranchAddress("P.hod.goodstarttime", &PhodStatus);
tt->SetBranchAddress("P.hod.starttime", &PhodStartTime);
tt->SetBranchAddress("P.hod.fpHitsTime", &PhodfpHitsTime);
tt->SetBranchAddress("H.hod.goodstarttime", &HhodStatus);
tt->SetBranchAddress("H.hod.starttime", &HhodStartTime);
tt->SetBranchAddress("H.hod.fpHitsTime", &HhodfpHitsTime);
tt->SetBranchAddress("H.gtr.x", &HgtrX);
tt->SetBranchAddress("H.gtr.th", &HgtrTh);
tt->SetBranchAddress("H.gtr.y", &HgtrY);
tt->SetBranchAddress("H.gtr.ph", &HgtrPh);
tt->SetBranchAddress("P.gtr.x", &PgtrX);
tt->SetBranchAddress("P.gtr.th", &PgtrTh);
tt->SetBranchAddress("P.gtr.y", &PgtrY);
tt->SetBranchAddress("P.gtr.ph", &PgtrPh);
tt->SetBranchAddress("T.coin.pTRIG1_ROC1_tdcTimeRaw", &TcoinpTRIG1_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.pTRIG4_ROC1_tdcTimeRaw", &TcoinpTRIG4_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.pTRIG1_ROC2_tdcTimeRaw", &TcoinpTRIG1_ROC2_tdcTimeRaw);
tt->SetBranchAddress("T.coin.pTRIG4_ROC2_tdcTimeRaw", &TcoinpTRIG4_ROC2_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG1_ROC1_tdcTimeRaw", &TcoinhTRIG1_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG4_ROC1_tdcTimeRaw", &TcoinhTRIG4_ROC1_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG1_ROC2_tdcTimeRaw", &TcoinhTRIG1_ROC2_tdcTimeRaw);
tt->SetBranchAddress("T.coin.hTRIG4_ROC2_tdcTimeRaw", &TcoinhTRIG4_ROC2_tdcTimeRaw);
SHMSpartMass = 0.93827208; // proton mass in GeV/c^2
HMSpartMass = 0.000510998; // electron mass in GeV/c^2
hpdelta = "P.gtr.dp > -10 && P.gtr.dp < 10 && H.gtr.dp > -8 && H.gtr.dp < 8";
eBetaCut = "P.gtr.beta > 0.8 && P.gtr.beta < 1.3";
pBetaCut = "H.gtr.beta > 0.8 && H.gtr.beta < 1.3";
cerCut = "P.hgcer.npeSum < 0.1 && H.cer.npeSum > 0.5";
calCut = "H.cal.etottracknorm > 0.8 && H.cal.etottracknorm < 1.5 && H.cal.eprtracknorm > 0.2";
hodoTimeCut ="P.hod.goodstarttime == 1 && H.hod.goodstarttime == 1";
Wcut = "H.kin.primary.W >0.75 && H.kin.primary.W < 1.1";
TCanvas *canvas1 = new TCanvas("canvas1","canvas1");
tt->Draw("P.hod.starttime >> SHMShodoStartTime", eBetaCut && pBetaCut && cerCut && calCut && hodoTimeCut);
TH1D *h1PhodoStartTime = (TH1D*)gDirectory->Get("SHMShodoStartTime");
h1PhodoStartTime->GetXaxis()->SetTitle("SHMS hodo start time [ns]");
Double_t PhodoStartTimeMean = h1PhodoStartTime->GetMean();
TCanvas *canvas2 = new TCanvas("canvas2","canvas2");
tt->Draw("H.hod.starttime >> HMShodoStartTime", eBetaCut && pBetaCut && cerCut && calCut && hodoTimeCut);
TH1D *h1HhodoStartTime = (TH1D*)gDirectory->Get("HMShodoStartTime");
h1HhodoStartTime->GetXaxis()->SetTitle("HMS hodo start time [ns]");
Double_t HhodoStartTimeMean = h1HhodoStartTime->GetMean();
Double_t pOffset = 3.0; //9.5 + 10; // in ns
Double_t hOffset = 335;
Double_t speedOfLight = 29.9792; // in cm/ns
Double_t SHMScentralPathLen = 18.1*100; // SHMS Target to focal plane path length converted to cm
Double_t SHMSpathLength = 18.1*100; // For now assume that it's same as SHMScentralPathLen
Double_t HMScentralPathLen = 22*100; // HMS Target to focal plane path length converted to cm
Double_t DeltaHMSpathLength; // For now assume that it's same as HMScentralPathLen
Double_t SHMScoinCorr = 0.0;
Double_t HMScoinCorr = 0.0;
Double_t SHMSrawCoinTimeROC1;
Double_t SHMSrawCoinTimeROC2;
Double_t HMSrawCoinTimeROC1;
Double_t HMSrawCoinTimeROC2;
Double_t SHMScorrCoinTimeROC1;
Double_t SHMScorrCoinTimeROC2;
Double_t HMScorrCoinTimeROC1;
Double_t HMScorrCoinTimeROC2;
for (int kk=0; kk<nentriesD; kk++){
tt->GetEntry(kk);
if (kk % 50000 == 0) cout << kk*100/nentriesD << " % of data done" << endl;
evtType = tt->GetLeaf("fEvtHdr.fEvtType")->GetValue();
if (pbeta>0.7 && pbeta<1.5 && hbeta>0.8 && hbeta<1.2 && hcernpe>0 && hcaletot >0.6 && hcaletot<1.5 && PhodStatus == 1 && HhodStatus ==1 && hdelta > -10 && hdelta < 10 && pdelta > -12 && pdelta < 12 && pcernpe < 0.5)
{
DeltaHMSpathLength = 12.462*HgtrTh + 0.1138*HgtrTh*HgtrX - 0.0154*HgtrX - 72.292*HgtrTh*HgtrTh - 0.0000544*HgtrX*HgtrX - 116.52*HgtrPh*HgtrPh;
PgtrBetaCalc = PgtrP/sqrt(PgtrP*PgtrP + SHMSpartMass*SHMSpartMass);
HgtrBetaCalc = HgtrP/sqrt(HgtrP*HgtrP + HMSpartMass*HMSpartMass);
SHMScoinCorr = SHMScentralPathLen / (speedOfLight*PgtrBetaCalc) + (SHMSpathLength - SHMScentralPathLen) / speedOfLight*PgtrBetaCalc + (PhodoStartTimeMean - PhodfpHitsTime);
HMScoinCorr = HMScentralPathLen / (speedOfLight*HgtrBetaCalc) + DeltaHMSpathLength / speedOfLight*HgtrBetaCalc + (HhodoStartTimeMean - HhodfpHitsTime);
SHMScorrCoinTimeROC1 = (TcoinpTRIG1_ROC1_tdcTimeRaw*0.1 - SHMScoinCorr) - (TcoinpTRIG4_ROC1_tdcTimeRaw*0.1 - HMScoinCorr) - pOffset; // 0.1 to convert to ns
SHMScorrCoinTimeROC2 = (TcoinpTRIG1_ROC2_tdcTimeRaw*0.1 - SHMScoinCorr) - (TcoinpTRIG4_ROC2_tdcTimeRaw*0.1 - HMScoinCorr) - pOffset;
h1PcointimeROC1->Fill(SHMScorrCoinTimeROC1);
h1PcointimeROC2->Fill(SHMScorrCoinTimeROC2);
h_hdelta->Fill(hdelta);
h_hxptar->Fill(HgtrPh);
h_hyptar->Fill(HgtrTh);
h_hytar->Fill(HgtrY);
h_pdelta->Fill(pdelta);
h_pxptar->Fill(PgtrPh);
h_pyptar->Fill(PgtrTh);
h_pytar->Fill(PgtrY);
h_Emd->Fill(pEm+0.025);
h_Wd->Fill(pkinW);
h_pmd->Fill(pPm-0.04);
cnts++;
}
}
gROOT->SetBatch(kFALSE);
TCanvas *can1 = new TCanvas ("can1","can1");
can1->Divide(4,2);
can1->cd(1);
h_hdelta->Draw();
can1->cd(2);
h_hxptar->Draw();
can1->cd(3);
h_hyptar->Draw();
can1->cd(4);
h_hytar->Draw();
can1->cd(5);
h_pdelta->Draw();
can1->cd(6);
h_pxptar->Draw();
can1->cd(7);
h_pyptar->Draw();
can1->cd(8);
h_pytar->Draw();
// can1->SaveAs("tmp1.pdf");
TCanvas *can2 = new TCanvas ("can2","can2");
can2->Divide(2,2);
can2->cd(1);
h_Wd->Draw();
can2->cd(2);
h_Emd->Draw();
can2->cd(3);
h_pmd->Draw();
can2->cd(4);
h1PcointimeROC1->Draw();
// can2->SaveAs("tmp.pdf");
fout->Write();
// fout->Close();
cout << "-------------------------------------------------------------------------------------------------------" << endl;
cout << "NOTE:>>>> " << cnts <<" <<<<< GOOD EVENTS have passed all cuts (update the white board and excel sheet)" << endl;
cout << "-------------------------------------------------------------------------------------------------------" << endl;
}
// Small code to check the histograms for the coincidence runs
#include "TFile.h"
#include "TTree.h"
#include "TH1F.h"
#include "TF1.h"
#include "TGraph.h"
#include <fstream>
#include <iostream>
#include <TROOT.h>
void
coin_histo(){
Int_t run_NUM ;
cout << "hms_run_NUM "<< endl;
cin >> run_NUM ;
TFile *f = new TFile(Form("/net/cdaq/cdaql3data/cdaq/hallc-online/ROOTfiles/coin_replay_production_%d_-1.root",run_NUM),"READ"); // %d : expects integer; %f expects float
TTree *T = (TTree*)f->Get("T");
Int_t totev = T->GetEntries();
cout << totev << endl;
// Read the branch
Double_t HkinQ2;
Double_t HkinW;
Double_t pkinpmiss;
Double_t pkinemiss;
Double_t Hgtrdp;
Double_t Hgtrbeta;
Double_t Pgtrdp;
Double_t Pgtrbeta;
Double_t Hgtrph;
Double_t Hgtrth;
Double_t Hgtry;
Double_t Pgtrph;
Double_t Pgtrth;
Double_t Pgtry;
Double_t hcernpe;
Double_t pcernpe;
Double_t hcalepr;
Double_t hcaletot;
T->SetBranchAddress("H.kin.primary.Q2", &HkinQ2);
T->SetBranchAddress("H.kin.primary.W", &HkinW);
T->SetBranchAddress("P.kin.secondary.pmiss",&pkinpmiss);
T->SetBranchAddress("P.kin.secondary.emiss",&pkinemiss);
T->SetBranchAddress("H.gtr.dp",&Hgtrdp);
T->SetBranchAddress("H.gtr.beta",&Hgtrbeta);
T->SetBranchAddress("P.gtr.dp",&Pgtrdp);
T->SetBranchAddress("P.gtr.beta",&Pgtrbeta);
T->SetBranchAddress("H.gtr.ph",&Hgtrph);
T->SetBranchAddress("H.gtr.th",&Hgtrth);
T->SetBranchAddress("H.gtr.y",&Hgtry);
T->SetBranchAddress("P.gtr.ph",&Pgtrph);
T->SetBranchAddress("P.gtr.th",&Pgtrth);
T->SetBranchAddress("P.gtr.y",&Pgtry);
T->SetBranchAddress("H.cal.eprtracknorm", &hcalepr);
T->SetBranchAddress("P.hgcer.npeSum", &pcernpe);
T->SetBranchAddress("H.cer.npeSum", &hcernpe);
T->SetBranchAddress("H.cal.etottracknorm", &hcaletot);
//Creating the histogram
TH1F* hHkinQ2 =new TH1F("HkinQ2","HkinQ2",50,5,15);
TH1F* hHkinW = new TH1F("HkinW","HkinW",50,0,2);
TH1F* hpkinpmiss = new TH1F("pkinpmiss","pkinpmiss",50,-0.2,0.2);
TH1F* hpkinemiss = new TH1F("pkinemiss","pkinemiss",50,-100,100);
TH1F* hHgtrdp = new TH1F("Hgtrdp","Hgtrdp",50,-15,15);
TH1F* hHgtrbeta = new TH1F("Hgtrbeta","hgtrbeta",50,0.5,1.5);
TH1F* hPgtrdp = new TH1F("Pgtrdp","Pgtrdp",100,-15,15);
TH1F* hPgtrbeta= new TH1F("Pgtrbeta","Pgtrbeta",50,0.5,1.5);
TH1F* hHgtrph = new TH1F("Hgtrph","Hgtrph",50,-0.1,0.1);
TH1F* hHgtrth= new TH1F("Hgtrth","Hgtrth",50,-0.1,0.1);
TH1F* hHgtry=new TH1F("Hgtry","Hgtry",50,-10,10);
TH1F* hPgtrph = new TH1F("Pgtrph","Pgtrph",50, -0.1, 0.1);
TH1F* hPgtrth= new TH1F("Pgtrth","Pgtrth",50,-0.1,0.1);
TH1F* hPgtry=new TH1F("Pgtry","Pgtry",50,-10,10);
TH1F* hHcernpe=new TH1F("hcernpe","hcernpe",50,0,20);
TH1F* hPcernpe=new TH1F("pcernpe","pcernpe",50,0,20);
TH1F* hHcaletot=new TH1F("hcaletot","hcaletot",50,0,2.0);
TH1F* hHcalepr=new TH1F("hcalepr","hcalepr",50,0,2.0);
//Fill the Histogram
for (Int_t iev = 0 ; iev < totev ;iev ++){
T->GetEntry(iev);
hHcalepr->Fill(hcalepr);
hHcaletot->Fill(hcaletot);
hHcernpe->Fill(hcernpe);
hPcernpe->Fill(pcernpe);
hHkinQ2 ->Fill(HkinQ2);
hHkinW ->Fill(HkinW);
hpkinpmiss ->Fill(pkinpmiss);
hpkinemiss ->Fill(pkinemiss);
hHgtrdp ->Fill(Hgtrdp);
hHgtrbeta -> Fill(Hgtrbeta);
hPgtrdp -> Fill(Pgtrdp);
hPgtrbeta-> Fill(Pgtrbeta);
hHgtrph -> Fill(Hgtrph);
hHgtrth-> Fill(Hgtrth);
hHgtry->Fill(Hgtry);
hPgtrph->Fill(Pgtrph);
hPgtrth->Fill(Pgtrth);
hPgtry->Fill(Pgtry);
}
}
File added
#!/bin/bash
../../../hcana -q "yield_calc.C(2023,1,1)"
../../../hcana -q "yield_calc.C(2046,1,1)"
../../../hcana -q "yield_calc.C(2047,1,1)"
../../../hcana -q "yield_calc.C(2048,1,1)"
../../../hcana -q "yield_calc.C(2049,1,1)"
../../../hcana -q "yield_calc.C(2050,1,1)"
../../../hcana -q "yield_calc.C(2051,1,1)"
../../../hcana -q "yield_calc.C(2052,1,1)"
../../../hcana -q "yield_calc.C(2053,1,1)"
../../../hcana -q "yield_calc.C(2054,1,1)"
../../../hcana -q "yield_calc.C(2055,3,1)"
../../../hcana -q "yield_calc.C(2056,2,1)"
1) Calculate yield
1) ../hcana yield_calc.C
2) Enter run number
3) Enter index specifying target
It will warn you if you're overwriting a run already in coin_yield.root,
but this might be what you want to do!
2) Plot yield per run
1) ../hcana yield_graph.C
2) Make sure yield hasn't fluctuated
void yield_calc(Int_t RunNumber = 0, Int_t TargetType = 0, Int_t KinematicsType = 0)
{
// Get RunNumber if not provided.
if(RunNumber == 0) {
cout << "Enter a Run Number (-1 to exit): ";
cin >> RunNumber;
if( RunNumber<=0 ) return;
}
// Get if not provided.
if(TargetType == 0) {
cout << "Enter a target (1=LH2, 2=6% Carbon, 3=dummy, -1 to exit): ";
cin >> TargetType;
if( TargetType<=0 ) return;
}
// Get KinematicsType if not provided.
//if(KinematicsType == 0) {
// cout << "Enter a kinematics index (see yield.README; -1 to exit): ";
// cin >> KinematicsType;
// if( KinematicsType<=0 ) return;
//}
// Open root file
char* ROOTFileNamePattern = "../../../ROOTfiles/coin_replay_production_%d_-1.root";
TString ROOTFileName = Form(ROOTFileNamePattern, RunNumber);
TFile* hcanaF = new TFile(ROOTFileName);
TTree* tsp = (TTree*)hcanaF->Get("TSP");
TTree* tsh = (TTree*)hcanaF->Get("TSH");
// Set up tree variables
double pQ_BCM1, pQ_BCM2, pN_trig, pQ_avg;
tsp->SetBranchAddress("P.BCM1.scalerChargeCut",&pQ_BCM1);
tsp->SetBranchAddress("P.BCM2.scalerChargeCut",&pQ_BCM2);
tsp->SetBranchAddress("P.pTRIG6.scalerCut",&pN_trig);
double hQ_BCM1, hQ_BCM2, hN_trig, hQ_avg;
tsh->SetBranchAddress("H.BCM1.scalerChargeCut",&hQ_BCM1);
tsh->SetBranchAddress("H.BCM2.scalerChargeCut",&hQ_BCM2);
tsh->SetBranchAddress("H.hTRIG6.scalerCut",&hN_trig);
// correct value is last in the scaler tree?
int pN=tsp->GetEntries()-1;
int hN=tsp->GetEntries()-1;
tsp->GetEntry(pN);
tsh->GetEntry(hN);
// Yield per mC
double pYield = 1000 * pN_trig / ((pQ_BCM1 + pQ_BCM2)/2.0);
double hYield = 1000 * hN_trig / ((hQ_BCM1 + hQ_BCM2)/2.0);
delete hcanaF;
// Open old data, copy to new tree.
// We skip if an old datum's run number matches the one the user specified.
TFile* newYieldF = new TFile("coin_yield_new.root", "RECREATE");
TTree* TY_new = new TTree("Y","coin_yield tree");
int run_new, tgt_new, kin_new, pN_trig_new, hN_trig_new;
double pYpc_new, hYpc_new, pQ_new, hQ_new;
TY_new->Branch("run",&run_new);
TY_new->Branch("tgt",&tgt_new);
TY_new->Branch("kin",&kin_new);
TY_new->Branch("pYpc",&pYpc_new);
TY_new->Branch("hYpc",&hYpc_new);
TY_new->Branch("pN_trig",&pN_trig_new);
TY_new->Branch("hN_trig",&hN_trig_new);
TY_new->Branch("pQ",&pQ_new);
TY_new->Branch("hQ",&hQ_new);
TFile* yieldF = new TFile("coin_yield.root","READ");
TTree* TY_old = (TTree*)yieldF->Get("Y");
int run_old, tgt_old, kin_old, pN_trig_old, hN_trig_old;
double pYpc_old, hYpc_old, pQ_old, hQ_old;
TY_old->SetBranchAddress("run",&run_old);
TY_old->SetBranchAddress("tgt",&tgt_old);
TY_old->SetBranchAddress("kin",&kin_old);
TY_old->SetBranchAddress("pYpc",&pYpc_old);
TY_old->SetBranchAddress("hYpc",&hYpc_old);
TY_old->SetBranchAddress("pN_trig",&pN_trig_old);
TY_old->SetBranchAddress("hN_trig",&hN_trig_old);
TY_old->SetBranchAddress("pQ",&pQ_old);
TY_old->SetBranchAddress("hQ",&hQ_old);
newYieldF->cd();
for (int i=0; i<TY_old->GetEntries(); i++) {
TY_old->GetEntry(i);
// Skip if matches user specified run
if (run_old == RunNumber) {
cout << "WARNING: Overwriting run " << RunNumber << endl;
continue;
}
run_new = run_old;
tgt_new = tgt_old;
kin_new = kin_old;
pYpc_new = pYpc_old;
hYpc_new = hYpc_old;
pN_trig_new = pN_trig_old;
hN_trig_new = pN_trig_old;
pQ_new = pQ_old;
hQ_new = hQ_old;
TY_new->Fill();
}
// Add user specified run
run_new = RunNumber;
tgt_new = TargetType;
kin_new = KinematicsType;
pYpc_new = pYield;
hYpc_new = hYield;
pN_trig_new = pN_trig;
hN_trig_new = hN_trig;
pQ_new = ((pQ_BCM1 + pQ_BCM2)/2.0) / 1000.0;
hQ_new = ((hQ_BCM1 + hQ_BCM2)/2.0) / 1000.0;
TY_new->Fill();
// Rename new root file to old one
newYieldF->Write();
newYieldF->Close();
gSystem->Exec("mv coin_yield_new.root coin_yield.root");
}
void yield_graph() {
TFile* yieldF = new TFile("coin_yield.root","READ");
TTree* TY=(TTree*)yieldF->Get("Y");
gStyle->SetOptTitle(kFALSE);
gStyle->SetPalette(1);
TCut hCut = "tgt==1";
Y->Draw("run:pYpc:(sqrt(pN_trig)/pQ)",hCut,"goff");
TGraphErrors* gHydrogen = new TGraphErrors(Y->GetEntries(),Y->GetV1(),Y->GetV2(),0,Y->GetV3());
TCut cCut = "tgt==2";
Y->Draw("run:pYpc:(sqrt(pN_trig)/pQ)",cCut,"goff");
TGraphErrors* gCarbon = new TGraphErrors(Y->GetEntries(),Y->GetV1(),Y->GetV2(),0,Y->GetV3());
TCut dCut = "tgt==3";
Y->Draw("run:pYpc:(sqrt(pN_trig)/pQ)",dCut,"goff");
TGraphErrors* gDummy = new TGraphErrors(Y->GetEntries(),Y->GetV1(),Y->GetV2(),0,Y->GetV3());
gHydrogen->SetLineColor(kRed);
gCarbon->SetLineColor(kGreen);
gDummy->SetLineColor(kBlack);
// Get min and max run number
Y->Draw("run>>htemp","","goff");
int runMin = htemp->GetXaxis()->GetXmin() - 5;
int runMax = htemp->GetXaxis()->GetXmax() + 5;
TCanvas* c = new TCanvas("c", "Coincidence yield per run", 800, 600);
int maxYield = 20;
c->DrawFrame(runMin,0,runMax,maxYield);
TMultiGraph *mg = new TMultiGraph("mg", "Coincidence yield per run");
mg->Add(gHydrogen);
mg->Add(gCarbon);
//mg->Add(gDummy);
mg->SetTitle("Coincidence yield per run"); //doesn't work??
mg->GetXaxis()->SetTitle("Run Number");
mg->GetYaxis()->SetTitle("Yield per mC");
mg->Draw("P");
TLegend *leg = new TLegend(0.15, 0.7, 0.25, 0.8);
leg->SetFillColor(0);
leg->AddEntry(gHydrogen, "Hydrogen", "lp");
leg->AddEntry(gCarbon, "Carbon", "lp");
//leg->AddEntry(gDummy, "Dummy", "lp");
leg->Draw();
}
This diff is collapsed.
......@@ -64,17 +64,50 @@ Ps6_factor = {ghconfig_ti_ps_factors[5]}
Total HMS 3/4 Triggers : {H.hTRIG1.scaler}
Pre-Scaled HMS 3/4 Triggers : {(H.hTRIG1.scaler/ghconfig_ti_ps_factors[0]):%.0f}
Estimated HMS 3/4 Triggers : {H.hTRIG1.scalerRate*(H.1Mhz.scaler/1000000.):%.0f}
HMS 3/4 Trigger Rate : {H.hTRIG1.scalerRate/1000.:%.3f} kHz
Estimated HMS 3/4 Triggers : {H.hTRIG1.scalerRate*H.1Mhz.scalerTime:%.0f}
Accepted HMS Triggers : {TRIG1.npassed}
HMS Event Types : {HMS_Pretrig.npassed}
=:=:=:=:
= EDTM
=:=:=:=:
EDTM Triggers : {H.EDTM.scaler}
Estimated EDTM Triggers : {H.EDTM.scalerRate*H.1Mhz.scalerTime:%.0f}
EDTM Trigger Rate : {H.EDTM.scalerRate/1000.:%.3f} kHz
Accepted EDTM Triggers : {edtm_accepted.npassed}
=:=:=:=:=:=:=:=:
= Level 1 Accept
=:=:=:=:=:=:=:=:
Number of L1A : {H.hL1ACCP.scaler}
L1A Rate : {H.hL1ACCP.scalerRate/1000.:%.3f} kHz
hTRIG1/L1A : {H.hTRIG1.scaler/H.hL1ACCP.scaler}
=:=:=:=:=:=:=:=:
= Sanity Checks
=:=:=:=:=:=:=:=:
EDTM Scaler Counts : {H.EDTM.scaler}
EDTM Copy Scaler Counts : {H.EDTM_CP.scaler}
Ratio : {H.EDTM.scaler/H.EDTM_CP.scaler}
pTRIG1 Scaler Counts : {H.pTRIG1.scaler}
pTRIG1 Copy Scaler Counts : {H.pTRIG1_CP.scaler}
Ratio : {H.pTRIG1.scaler/H.pTRIG1_CP.scaler}
1 MHz Scaler Counts : {H.1Mhz.scaler}
1 MHz Copy Scaler Counts : {H.1MHz_CP.scaler}
Ratio : {H.1Mhz.scaler/H.1MHz_CP.scaler}
=:=:=:=:=:=:=:=:=:=:=:=:
= Physics 3/4 Triggers
=:=:=:=:=:=:=:=:=:=:=:=:
Physics 3/4 Triggers : {H.hTRIG1.scaler - H.EDTM.scaler}
Estimated Physics 3/4 Triggers : {(H.hTRIG1.scalerRate - H.EDTM.scalerRate)*(H.1Mhz.scaler/1000000.):%.0f}
Estimated Physics 3/4 Triggers : {(H.hTRIG1.scalerRate - H.EDTM.scalerRate)*H.1Mhz.scalerTime:%.0f}
Physics 3/4 Trigger Rate : {(H.hTRIG1.scalerRate - H.EDTM.scalerRate)/1000.:%.3f} kHz
Accepted Physics Triggers : {physics_accepted.npassed}
......@@ -121,15 +154,6 @@ hTRIG4_cut : {H.hTRIG4.scalerCut} [ {(H.hTRIG4.scaler/H.1Mhz.scalerTime)/1000
hTRIG5_cut : {H.hTRIG5.scalerCut} [ {(H.hTRIG5.scaler/H.1Mhz.scalerTime)/1000.:%.3f} kHz ]
hTRIG6_cut : {H.hTRIG6.scalerCut} [ {(H.hTRIG6.scaler/H.1Mhz.scalerTime)/1000.:%.3f} kHz ]
=:=:=:=:
= EDTM
=:=:=:=:
EDTM Triggers : {H.EDTM.scaler}
Estimated EDTM Triggers : {H.EDTM.scalerRate*(H.1Mhz.scaler/1000000.):%.0f}
EDTM Trigger Rate : {H.EDTM.scalerRate/1000.:%.3f} kHz
Accepted EDTM Triggers : {edtm_accepted.npassed}
=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
= Live/Dead Time Calculations
=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
......
......@@ -63,17 +63,54 @@ Ps6_factor = {gpconfig_ti_ps_factors[5]}
Total SHMS 3/4 Triggers : {P.pTRIG1.scaler}
Pre-Scaled SHMS 3/4 Triggers : {(P.pTRIG1.scaler/gpconfig_ti_ps_factors[0]):%.0f}
Estimated SHMS 3/4 Triggers : {P.pTRIG1.scalerRate*(P.1Mhz.scaler/1000000.):%.0f}
SHMS 3/4 Trigger Rate : {P.pTRIG1.scalerRate/1000.:%.3f} kHz
Estimated SHMS 3/4 Triggers : {P.pTRIG1.scalerRate*P.1Mhz.scalerTime:%.0f}
Accepted SHMS Triggers : {TRIG1.npassed}
SHMS Event Types : {SHMS_Pretrig.npassed}
=:=:=:=:
= EDTM
=:=:=:=:
EDTM Triggers : {P.EDTM.scaler}
Estimated EDTM Triggers : {P.EDTM.scalerRate*P.1Mhz.scalerTime:%.0f}
EDTM Trigger Rate : {P.EDTM.scalerRate/1000.:%.3f} kHz
Accepted EDTM Triggers : {edtm_accepted.npassed}
Number of EDTM V2 : {P.pEDTM_V2.scaler}
EDTM V2 Rate : {P.pEDTM_V2.scalerRate/1000.:%.3f} kHz
EDTM/EDTM_V2 Ratio : {P.EDTM.scaler/P.pEDTM_V2.scaler}
=:=:=:=:=:=:=:=:
= Level 1 Accept
=:=:=:=:=:=:=:=:
Number of L1A : {P.pL1ACCP.scaler}
L1A Rate : {P.pL1ACCP.scalerRate/1000.:%.3f} kHz
pTRIG1/L1A : {P.pTRIG1.scaler/P.pL1ACCP.scaler}
=:=:=:=:=:=:=:=:
= Sanity Checks
=:=:=:=:=:=:=:=:
EDTM Scaler Counts : {P.EDTM.scaler}
EDTM Copy Scaler Counts : {P.EDTM_CP.scaler}
Ratio : {P.EDTM.scaler/P.EDTM_CP.scaler}
pTRIG1 Scaler Counts : {P.pTRIG1.scaler}
pTRIG1 Copy Scaler Counts : {P.pTRIG1_CP.scaler}
Ratio : {P.pTRIG1.scaler/P.pTRIG1_CP.scaler}
1 MHz Scaler Counts : {P.1Mhz.scaler}
1 MHz Copy Scaler Counts : {P.1MHz_CP.scaler}
Ratio : {P.1Mhz.scaler/P.1MHz_CP.scaler}
=:=:=:=:=:=:=:=:=:=:=:=:
= Physics 3/4 Triggers
=:=:=:=:=:=:=:=:=:=:=:=:
Physics 3/4 Triggers : {P.pTRIG1.scaler - P.EDTM.scaler}
Estimated Physics 3/4 Triggers : {(P.pTRIG1.scalerRate - P.EDTM.scalerRate)*(P.1Mhz.scaler/1000000.):%.0f}
Estimated Physics 3/4 Triggers : {(P.pTRIG1.scalerRate - P.EDTM.scalerRate)*P.1Mhz.scalerTime:%.0f}
Physics 3/4 Trigger Rate : {(P.pTRIG1.scalerRate - P.EDTM.scalerRate)/1000.:%.3f} kHz
Accepted Physics Triggers : {physics_accepted.npassed}
......@@ -120,15 +157,6 @@ pTRIG4_cut : {P.pTRIG4.scalerCut} [ {(P.pTRIG4.scaler/P.1Mhz.scalerTime)/1000
pTRIG5_cut : {P.pTRIG5.scalerCut} [ {(P.pTRIG5.scaler/P.1Mhz.scalerTime)/1000.:%.3f} kHz ]
pTRIG6_cut : {P.pTRIG6.scalerCut} [ {(P.pTRIG6.scaler/P.1Mhz.scalerTime)/1000.:%.3f} kHz ]
=:=:=:=:
= EDTM
=:=:=:=:
EDTM Triggers : {P.EDTM.scaler}
Estimated EDTM Triggers : {P.EDTM.scalerRate*(P.1Mhz.scaler/1000000.):%.0f}
EDTM Trigger Rate : {P.EDTM.scalerRate/1000.:%.3f} kHz
Accepted EDTM Triggers : {edtm_accepted.npassed}
=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
= Live/Dead Time Calculations
=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:=:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment