22 #include "GaudiKernel/MsgStream.h"
23 #include "GaudiKernel/ITHistSvc.h"
29 const std::string &
name,
39 m_diff_Pixel_SCT_BCID(0),
40 m_diff_Pixel_CTP_BCID(0),
41 m_diff_Pixel_TRT_BCID(0),
42 m_diff_Pixel_LAR_BCID(0),
43 m_diff_Pixel_Tile_BCID(0),
44 m_diff_Pixel_RPC_BCID(0),
45 m_diff_Pixel_SCT_L1ID(0),
46 m_diff_Pixel_CTP_L1ID(0),
47 m_diff_Pixel_TRT_L1ID(0),
48 m_diff_Pixel_LAR_L1ID(0),
49 m_diff_Pixel_Tile_L1ID(0),
50 m_diff_Pixel_RPC_L1ID(0),
51 m_diff_CTP_SCT_BCID(0),
52 m_diff_CTP_TRT_BCID(0),
53 m_diff_CTP_LAR_BCID(0),
54 m_diff_CTP_Tile_BCID(0),
55 m_diff_CTP_RPC_BCID(0),
56 m_diff_SCT_TRT_BCID(0),
57 m_diff_SCT_LAR_BCID(0),
58 m_diff_SCT_Tile_BCID(0),
59 m_diff_SCT_RPC_BCID(0),
60 m_diff_TRT_LAR_BCID(0),
61 m_diff_TRT_Tile_BCID(0),
62 m_diff_TRT_RPC_BCID(0),
63 m_diff_LAR_Tile_BCID(0),
64 m_diff_LAR_RPC_BCID(0),
65 m_diff_Tile_RPC_BCID(0),
66 m_diff_CTP_SCT_BCID_lumi(0),
67 m_diff_CTP_TRT_BCID_lumi(0),
68 m_diff_CTP_LAR_BCID_lumi(0),
69 m_diff_CTP_Tile_BCID_lumi(0),
70 m_diff_CTP_RPC_BCID_lumi(0),
71 m_diff_CTP_Pixel_BCID_lumi(0),
79 m_diff_CTP_SCT_L1ID(0),
80 m_diff_CTP_TRT_L1ID(0),
81 m_diff_CTP_LAR_L1ID(0),
82 m_diff_CTP_Tile_L1ID(0),
83 m_diff_CTP_RPC_L1ID(0),
84 m_diff_SCT_TRT_L1ID(0),
85 m_diff_SCT_LAR_L1ID(0),
86 m_diff_SCT_Tile_L1ID(0),
87 m_diff_SCT_RPC_L1ID(0),
88 m_diff_TRT_LAR_L1ID(0),
89 m_diff_TRT_Tile_L1ID(0),
90 m_diff_TRT_RPC_L1ID(0),
91 m_diff_LAR_Tile_L1ID(0),
92 m_diff_LAR_RPC_L1ID(0),
93 m_diff_Tile_RPC_L1ID(0),
94 m_diff_CTP_SCT_L1ID_lumi(0),
95 m_diff_CTP_TRT_L1ID_lumi(0),
96 m_diff_CTP_LAR_L1ID_lumi(0),
97 m_diff_CTP_Tile_L1ID_lumi(0),
98 m_diff_CTP_RPC_L1ID_lumi(0),
99 m_diff_CTP_Pixel_L1ID_lumi(0),
100 m_diff_Pixel_SCT_BCID_Rebin(0),
101 m_diff_Pixel_CTP_BCID_Rebin(0),
102 m_diff_Pixel_TRT_BCID_Rebin(0),
103 m_diff_Pixel_LAR_BCID_Rebin(0),
104 m_diff_Pixel_Tile_BCID_Rebin(0),
105 m_diff_Pixel_RPC_BCID_Rebin(0),
106 m_diff_Pixel_SCT_L1ID_Rebin(0),
107 m_diff_Pixel_CTP_L1ID_Rebin(0),
108 m_diff_Pixel_TRT_L1ID_Rebin(0),
109 m_diff_Pixel_LAR_L1ID_Rebin(0),
110 m_diff_Pixel_Tile_L1ID_Rebin(0),
111 m_diff_Pixel_RPC_L1ID_Rebin(0),
112 m_diff_SCT_TRT_BCID_Rebin(0),
113 m_diff_SCT_LAR_BCID_Rebin(0),
114 m_diff_SCT_Tile_BCID_Rebin(0),
115 m_diff_SCT_RPC_BCID_Rebin(0),
116 m_diff_TRT_LAR_BCID_Rebin(0),
117 m_diff_TRT_Tile_BCID_Rebin(0),
118 m_diff_TRT_RPC_BCID_Rebin(0),
119 m_diff_LAR_Tile_BCID_Rebin(0),
120 m_diff_LAR_RPC_BCID_Rebin(0),
121 m_diff_Tile_RPC_BCID_Rebin(0),
122 m_diff_CTP_SCT_BCID_Rebin(0),
123 m_diff_CTP_TRT_BCID_Rebin(0),
124 m_diff_CTP_LAR_BCID_Rebin(0),
125 m_diff_CTP_Tile_BCID_Rebin(0),
126 m_diff_CTP_RPC_BCID_Rebin(0),
127 m_diff_CTP_SCT_L1ID_Rebin(0),
128 m_diff_CTP_TRT_L1ID_Rebin(0),
129 m_diff_CTP_LAR_L1ID_Rebin(0),
130 m_diff_CTP_Tile_L1ID_Rebin(0),
131 m_diff_CTP_RPC_L1ID_Rebin(0),
132 m_diff_SCT_TRT_L1ID_Rebin(0),
133 m_diff_SCT_LAR_L1ID_Rebin(0),
134 m_diff_SCT_Tile_L1ID_Rebin(0),
135 m_diff_SCT_RPC_L1ID_Rebin(0),
136 m_diff_TRT_LAR_L1ID_Rebin(0),
137 m_diff_TRT_Tile_L1ID_Rebin(0),
138 m_diff_TRT_RPC_L1ID_Rebin(0),
139 m_diff_LAR_Tile_L1ID_Rebin(0),
140 m_diff_LAR_RPC_L1ID_Rebin(0),
141 m_diff_Tile_RPC_L1ID_Rebin(0),
142 m_Bfield_solenoid(0),
144 m_Bfield_solenoid_vsLB(0),
145 m_Bfield_toroid_vsLB(0),
161 m_printedErrorCTP_RIO(false),
162 m_printedErrorTRT_BCID(false),
163 m_printedErrorSCT_BCID(false),
164 m_printedErrorPixel_BCID(false),
165 m_printedErrorTRT_LVL1ID(false),
166 m_printedErrorSCT_LVL1ID(false),
167 m_printedErrorPixel_LVL1ID(false),
168 m_printedErrorLAr(false),
169 m_printedErrorTile(false),
170 m_printedErrorTileCtr(false),
171 m_printedErrorRPC(false)
173 declareInterface<IMonitorToolBase>(
this);
174 m_path =
"GLOBAL/DQTSynch",
242 if (failure) {
return StatusCode::FAILURE;}
243 else {
return StatusCode::SUCCESS;}
256 std::string fullPathBCID=
m_path+
"/BCID";
309 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_SCT_BCID_lumi =
new TProfile(
"m_diff_CTP_SCT_BCID_lumi",
"BCID difference between CTP and SCT detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
310 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_TRT_BCID_lumi =
new TProfile(
"m_diff_CTP_TRT_BCID_lumi",
"BCID difference between CTP and TRT detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
311 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_LAR_BCID_lumi =
new TProfile(
"m_diff_CTP_LAR_BCID_lumi",
"BCID difference between CTP and LAR detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
312 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_Tile_BCID_lumi =
new TProfile(
"m_diff_CTP_Tile_BCID_lumi",
"BCID difference between CTP and Tile detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096 )).isFailure();
313 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_RPC_BCID_lumi =
new TProfile(
"m_diff_CTP_RPC_BCID_lumi",
"BCID difference between CTP and RPC detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
314 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_Pixel_BCID_lumi =
new TProfile(
"m_diff_CTP_Pixel_BCID_lumi",
"BCID difference between CTP and Pixel detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
352 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_SCT_BCID_Rebin =
new TH1I(
"m_diff_CTP_SCT_BCID_Rebin",
"BCID difference between CTP and SCT detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
354 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_TRT_BCID_Rebin =
new TH1I(
"m_diff_CTP_TRT_BCID_Rebin",
"BCID difference between CTP and TRT detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
356 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_LAR_BCID_Rebin =
new TH1I(
"m_diff_CTP_LAR_BCID_Rebin",
"BCID difference between CTP and LAR detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
358 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_Tile_BCID_Rebin =
new TH1I(
"m_diff_CTP_Tile_BCID_Rebin",
"BCID difference between CTP and Tile detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
360 failure = failure |
registerHist(fullPathBCID,
m_diff_CTP_RPC_BCID_Rebin =
new TH1I(
"m_diff_CTP_RPC_BCID_Rebin",
"BCID difference between CTP and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
365 failure = failure |
registerHist(fullPathBCID,
m_diff_SCT_TRT_BCID_Rebin =
new TH1I(
"m_diff_SCT_TRT_BCID_Rebin",
"BCID difference between SCT and TRT detectors. Full Range", 51, -25.5, 25.5)).isFailure();
368 failure = failure |
registerHist(fullPathBCID,
m_diff_SCT_LAR_BCID_Rebin =
new TH1I(
"m_diff_SCT_LAR_BCID_Rebin",
"BCID difference between SCT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure();
371 failure = failure |
registerHist(fullPathBCID,
m_diff_SCT_Tile_BCID_Rebin =
new TH1I(
"m_diff_SCT_Tile_BCID_Rebin",
"BCID difference between SCT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure();
374 failure = failure |
registerHist(fullPathBCID,
m_diff_SCT_RPC_BCID_Rebin =
new TH1I(
"m_diff_SCT_RPC_BCID_Rebin",
"BCID difference between SCT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
376 failure = failure |
registerHist(fullPathBCID,
m_diff_TRT_LAR_BCID_Rebin =
new TH1I(
"m_diff_TRT_LAR_BCID_Rebin",
"BCID difference between TRT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure();
378 failure = failure |
registerHist(fullPathBCID,
m_diff_TRT_Tile_BCID_Rebin =
new TH1I(
"m_diff_TRT_Tile_BCID_Rebin",
"BCID difference between TRT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure();
380 failure = failure |
registerHist(fullPathBCID,
m_diff_TRT_RPC_BCID_Rebin =
new TH1I(
"m_diff_TRT_RPC_BCID_Rebin",
"BCID difference between TRT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
382 failure = failure |
registerHist(fullPathBCID,
m_diff_LAR_Tile_BCID_Rebin =
new TH1I(
"m_diff_LAR_Tile_BCID_Rebin",
"BCID difference between LAR and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure();
384 failure = failure |
registerHist(fullPathBCID,
m_diff_LAR_RPC_BCID_Rebin =
new TH1I(
"m_diff_LAR_RPC_BCID_Rebin",
"BCID difference between LAR and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
386 failure = failure |
registerHist(fullPathBCID,
m_diff_Tile_RPC_BCID_Rebin =
new TH1I(
"m_diff_Tile_RPC_BCID_Rebin",
"BCID difference between Tile and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
405 log << MSG::WARNING <<
"Error Booking BCID histograms " <<
endmsg;
419 std::string fullPathL1ID=
m_path+
"/L1ID";
459 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_SCT_L1ID_lumi =
new TProfile(
"m_diff_CTP_SCT_L1ID_lumi",
"L1ID difference between CTP and SCT detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
460 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_TRT_L1ID_lumi =
new TProfile(
"m_diff_CTP_TRT_L1ID_lumi",
"L1ID difference between CTP and TRT detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
461 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_LAR_L1ID_lumi =
new TProfile(
"m_diff_CTP_LAR_L1ID_lumi",
"L1ID difference between CTP and LAR detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
462 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_Tile_L1ID_lumi =
new TProfile(
"m_diff_CTP_Tile_L1ID_lumi",
"L1ID difference between CTP and Tile detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096 )).isFailure();
463 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_RPC_L1ID_lumi =
new TProfile(
"m_diff_CTP_RPC_L1ID_lumi",
"L1ID difference between CTP and RPC detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
464 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_Pixel_L1ID_lumi =
new TProfile(
"m_diff_CTP_Pixel_L1ID_lumi",
"L1ID difference between CTP and Pixel detectors as a function of the LumiBlock", 30, 0., 30,-4096.,4096)).isFailure();
502 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_SCT_L1ID_Rebin =
new TH1I(
"m_diff_CTP_SCT_L1ID_Rebin",
"L1ID difference between CTP and SCT detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
504 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_TRT_L1ID_Rebin =
new TH1I(
"m_diff_CTP_TRT_L1ID_Rebin",
"L1ID difference between CTP and TRT detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
506 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_LAR_L1ID_Rebin =
new TH1I(
"m_diff_CTP_LAR_L1ID_Rebin",
"L1ID difference between CTP and LAR detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
508 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_Tile_L1ID_Rebin =
new TH1I(
"m_diff_CTP_Tile_L1ID_Rebin",
"L1ID difference between CTP and Tile detectors. Full Range.", 51, -25.5, 25.5)).isFailure();
510 failure = failure |
registerHist(fullPathL1ID,
m_diff_CTP_RPC_L1ID_Rebin =
new TH1I(
"m_diff_CTP_RPC_L1ID_Rebin",
"L1ID difference between CTP and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
514 failure = failure |
registerHist(fullPathL1ID,
m_diff_SCT_TRT_L1ID_Rebin =
new TH1I(
"m_diff_SCT_TRT_L1ID_Rebin",
"L1ID difference between SCT and TRT detectors. Full Range", 51, -25.5, 25.5)).isFailure();
517 failure = failure |
registerHist(fullPathL1ID,
m_diff_SCT_LAR_L1ID_Rebin =
new TH1I(
"m_diff_SCT_LAR_L1ID_Rebin",
"L1ID difference between SCT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure();
519 failure = failure |
registerHist(fullPathL1ID,
m_diff_SCT_Tile_L1ID_Rebin =
new TH1I(
"m_diff_SCT_Tile_L1ID_Rebin",
"L1ID difference between SCT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure();
521 failure = failure |
registerHist(fullPathL1ID,
m_diff_SCT_RPC_L1ID_Rebin =
new TH1I(
"m_diff_SCT_RPC_L1ID_Rebin",
"L1ID difference between SCT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
523 failure = failure |
registerHist(fullPathL1ID,
m_diff_TRT_LAR_L1ID_Rebin =
new TH1I(
"m_diff_TRT_LAR_L1ID_Rebin",
"L1ID difference between TRT and LAR detectors. Full Range", 51, -25.5, 25.5)).isFailure();
525 failure = failure |
registerHist(fullPathL1ID,
m_diff_TRT_Tile_L1ID_Rebin =
new TH1I(
"m_diff_TRT_Tile_L1ID_Rebin",
"L1ID difference between TRT and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure();
527 failure = failure |
registerHist(fullPathL1ID,
m_diff_TRT_RPC_L1ID_Rebin =
new TH1I(
"m_diff_TRT_RPC_L1ID_Rebin",
"L1ID difference between TRT and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
529 failure = failure |
registerHist(fullPathL1ID,
m_diff_LAR_Tile_L1ID_Rebin =
new TH1I(
"m_diff_LAR_Tile_L1ID_Rebin",
"L1ID difference between LAR and Tile detectors. Full Range", 51, -25.5, 25.5)).isFailure();
531 failure = failure |
registerHist(fullPathL1ID,
m_diff_LAR_RPC_L1ID_Rebin =
new TH1I(
"m_diff_LAR_RPC_L1ID_Rebin",
"L1ID difference between LAR and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
533 failure = failure |
registerHist(fullPathL1ID,
m_diff_Tile_RPC_L1ID_Rebin =
new TH1I(
"m_diff_Tile_RPC_L1ID_Rebin",
"L1ID difference between Tile and RPC detectors. Full Range", 51, -25.5, 25.5)).isFailure();
553 log << MSG::WARNING <<
"Error Booking L1ID histograms " <<
endmsg;
566 std::string fullPathBfield=
m_path+
"/Bfield";
576 log << MSG::WARNING <<
"Error Booking L1ID histograms " <<
endmsg;
609 uint16_t sctbcid(0), trtbcid(0), larbcid(0), tilebcid(0), rpcbcid(0), pixelbcid(0);
610 uint32_t sctl1id(0), trtl1id(0), larl1id(0), tilel1id(0), rpcl1id(0), pixell1id(0);
612 float sctfrac(0.0), trtfrac(0.0), larfrac(0.0), tilefrac(0.0), rpcfrac(0.0), pixelfrac(0.0);
627 ctpbcid = thisEventInfo->
bcid();
635 if (inDetTimeCollections[0].
isValid()) {
636 auto& TRT_BCIDColl(inDetTimeCollections[0]);
637 for ( InDetTimeCollection::const_iterator itrt_bcid
638 = TRT_BCIDColl->begin();
639 itrt_bcid != TRT_BCIDColl->end(); ++itrt_bcid ) {
652 if (inDetTimeCollections[1].
isValid()) {
653 auto& SCT_BCIDColl(inDetTimeCollections[1]);
654 for ( InDetTimeCollection::const_iterator isct_bcid
655 = SCT_BCIDColl->begin();
656 isct_bcid != SCT_BCIDColl->end(); ++isct_bcid ) {
668 if (inDetTimeCollections[2].
isValid()) {
669 auto& Pixel_BCIDColl(inDetTimeCollections[2]);
670 for ( InDetTimeCollection::const_iterator ipixel_bcid
671 = Pixel_BCIDColl->begin();
672 ipixel_bcid != Pixel_BCIDColl->end(); ++ipixel_bcid ) {
684 if (inDetTimeCollections[3].
isValid()) {
685 auto& TRT_LVL1IDColl(inDetTimeCollections[3]);
686 for ( InDetTimeCollection::const_iterator itrt_lvl1id
687 = TRT_LVL1IDColl->begin();
688 itrt_lvl1id != TRT_LVL1IDColl->end(); ++itrt_lvl1id ) {
700 if (inDetTimeCollections[4].
isValid()) {
701 auto& SCT_LVL1IDColl(inDetTimeCollections[4]);
702 for ( InDetTimeCollection::const_iterator isct_lvl1id
703 = SCT_LVL1IDColl->begin();
704 isct_lvl1id != SCT_LVL1IDColl->end(); ++isct_lvl1id ) {
716 if (inDetTimeCollections[5].
isValid()) {
717 auto& Pixel_LVL1IDColl(inDetTimeCollections[5]);
718 for ( InDetTimeCollection::const_iterator ipixel_lvl1id
719 = Pixel_LVL1IDColl->begin();
720 ipixel_lvl1id != Pixel_LVL1IDColl->end(); ++ipixel_lvl1id ) {
750 for ( ;
it!=itend;++
it) {
752 unsigned int febid=((*it)->FEBId()).get_identifier32().get_compact();
753 if (febid >= 0x38000000 && febid <= 0x3bc60000) {
770 for (;collItr!=lastColl;++collItr){
790 for (; pad != endpad ; ++pad ) {
792 if ( (*pad)->size() > 0 )
807 uint32_t ctp_l1id16 = ctpl1id & 0xFFFF;
808 uint32_t ctp_l1id9 = ctpl1id & 0x1FF;
809 uint32_t tile_l1id16 = tilel1id & 0xFFFF;
810 uint32_t tile_l1id9 = tilel1id & 0x1FF;
811 uint32_t sct_l1id9 = sctl1id & 0x1FF;
812 uint32_t trt_l1id9 = trtl1id & 0x1FF;
813 uint32_t lar_l1id9 = larl1id & 0x1FF;
814 uint32_t pixel_l1id9 = pixell1id & 0x1FF;
856 else if (((Int_t)ctpbcid-(Int_t)pixelbcid) < 0)
m_diff_BCID->
Fill(7,1);
876 else if (((Int_t)sctbcid-(Int_t)pixelbcid) < 0)
m_diff_BCID->
Fill(7,2);
892 else if (((Int_t)trtbcid-(Int_t)pixelbcid) < 0)
m_diff_BCID->
Fill(7,3);
905 else if (((Int_t)larbcid-(Int_t)pixelbcid) < 0)
m_diff_BCID->
Fill(7,4);
913 else if (((Int_t)tilebcid-(Int_t)pixelbcid) < 0)
m_diff_BCID->
Fill(7,5);
917 else if (((Int_t)rpcbcid-(Int_t)pixelbcid) < 0)
m_diff_BCID->
Fill(7,6);
923 else if (((Int_t)ctp_l1id16-(Int_t)sctl1id) < 0)
m_diff_L1ID->
Fill(2,1);
927 else if (((Int_t)ctp_l1id16-(Int_t)trtl1id) < 0)
m_diff_L1ID->
Fill(3,1);
931 else if (((Int_t)ctp_l1id16-(Int_t)larl1id) < 0)
m_diff_L1ID->
Fill(4,1);
934 if (((Int_t)ctp_l1id16-(Int_t)tile_l1id16) > 0)
m_diff_L1ID->
Fill(1,5);
935 else if (((Int_t)ctp_l1id16-(Int_t)tile_l1id16) < 0)
m_diff_L1ID->
Fill(5,1);
939 else if (((Int_t)ctp_l1id9-(Int_t)rpcl1id) < 0)
m_diff_L1ID->
Fill(6,1);
943 else if (((Int_t)ctp_l1id16-(Int_t)pixell1id) < 0)
m_diff_L1ID->
Fill(7,1);
955 else if (((Int_t)sctl1id-(Int_t)tile_l1id16) < 0)
m_diff_L1ID->
Fill(5,2);
959 else if (((Int_t)sct_l1id9-(Int_t)rpcl1id) < 0)
m_diff_L1ID->
Fill(6,2);
963 else if (((Int_t)sctl1id-(Int_t)pixell1id) < 0)
m_diff_L1ID->
Fill(7,2);
971 else if (((Int_t)trtl1id-(Int_t)tile_l1id16) < 0)
m_diff_L1ID->
Fill(5,3);
975 else if (((Int_t)trt_l1id9-(Int_t)rpcl1id) < 0)
m_diff_L1ID->
Fill(6,3);
979 else if (((Int_t)trtl1id-(Int_t)pixell1id) < 0)
m_diff_L1ID->
Fill(7,3);
984 else if (((Int_t)larl1id-(Int_t)tile_l1id16) < 0)
m_diff_L1ID->
Fill(5,4);
988 else if (((Int_t)lar_l1id9-(Int_t)rpcl1id) < 0)
m_diff_L1ID->
Fill(6,4);
992 else if (((Int_t)larl1id-(Int_t)pixell1id) < 0)
m_diff_L1ID->
Fill(7,4);
996 else if (((Int_t)tile_l1id9-(Int_t)rpcl1id) < 0)
m_diff_L1ID->
Fill(6,5);
1000 else if (((Int_t)tile_l1id16-(Int_t)pixell1id) < 0)
m_diff_L1ID->
Fill(7,5);
1004 else if (((Int_t)rpcl1id-(Int_t)pixel_l1id9) < 0)
m_diff_L1ID->
Fill(7,6);
1143 if (fieldCondObj ==
nullptr) {
1144 ATH_MSG_ERROR(
"DQTDetSynchMonTool: Failed to retrieve AtlasFieldCacheCondObj with key "
1146 return StatusCode::FAILURE;
1148 fieldCondObj->getInitializedCache (fieldCache);
1149 fieldCache.
getField (gP1.data(),
f.data());
1152 float solenoid_bz =
f[2];
1154 solenoid_bz *= 1000;
1165 fieldCache.
getField (gP2.data(),
f.data());
1168 float toroid_bx =
f[0];
1184 log <<
MSG::VERBOSE <<
"CTP-RPC L1ID : " << ctp_l1id9-rpcl1id <<
"\tCTP-LAR L1ID : " << ctp_l1id16-larl1id <<
endmsg;
1185 return StatusCode::SUCCESS;
1199 return StatusCode::SUCCESS;
1210 return StatusCode::SUCCESS;
1220 int refcount(0),
count(0);
1224 if (
it!=itend && !mset.empty()){
1227 for (;
it!=itend;++
it) {
1228 if ( (*
it) !=
id ) {
1232 if ( ( (*
it) !=refid )&&(
count>refcount) ){
1235 log <<
MSG::VERBOSE <<
"new REFERENCE id: " << refid <<
" with REFERENCE counts: " << refcount <<
endmsg;
1240 log <<
MSG::VERBOSE <<
"Returning REFERENCE id: " << refid <<
" with REFERENCE counts: " << refcount <<
endmsg;
1253 int nonctpIdCounter=0;
1256 if (
it!=itend && !mset.empty()){
1262 for (;
it!=itend;++
it) {
1264 if ( (*
it) != ctpid ) nonctpIdCounter++;