13 float phi_degrees = phi * (360.) / ( 2. *
TMath::Pi() ) ;
14 int iPhi = (int) ( ( phi_degrees/5. ) + 1.);
16 return iPhi < 73 ? iPhi : 73 ;
23 TextFileName = iConfig.
getParameter<std::string>(
"TextFile");
25 if(TextFileName.size())
26 out =
new ofstream(TextFileName.c_str() );
29 if( iConfig.
exists(
"StandardDQM") )
65 FolderName = iConfig.
getParameter<std::string>(
"folderName");
85 dqm->setCurrentFolder(FolderName+
"/EcalHaloData");
88 hEcalHaloData_PhiWedgeMultiplicity = dqm->book1D(
"EcalHaloData_PhiWedgeMultiplicity",
"",20, -0.5, 19.5);
89 hEcalHaloData_PhiWedgeConstituents = dqm->book1D(
"EcalHaloData_PhiWedgeConstituents",
"",20,-0.5, 19.5);
91 hEcalHaloData_PhiWedgeZDirectionConfidence = dqm->book1D(
"EcalHaloData_ZDirectionConfidence",
"", 120, -1.2, 1.2);
92 hEcalHaloData_SuperClusterShowerShapes = dqm->book2D(
"EcalHaloData_SuperClusterShowerShapes",
"", 30, 0, 3.2, 25,0.0, 2.0);
93 hEcalHaloData_SuperClusterEnergy = dqm->book1D(
"EcalHaloData_SuperClusterEnergy",
"",50,-0.5,99.5);
94 hEcalHaloData_SuperClusterNHits = dqm->book1D(
"EcalHaloData_SuperClusterNHits",
"", 20, -0.5, 19.5);
98 hEcalHaloData_PhiWedgeMultiplicity = dqm->book1D(
"EcalHaloData_PhiWedgeMultiplicity",
"",20, -0.5, 19.5);
99 hEcalHaloData_PhiWedgeEnergy = dqm->book1D(
"EcalHaloData_PhiWedgeEnergy",
"", 50,-0.5,199.5);
100 hEcalHaloData_PhiWedgeConstituents = dqm->book1D(
"EcalHaloData_PhiWedgeConstituents",
"",20,-0.5, 19.5);
101 hEcalHaloData_PhiWedgeMinTime = dqm->book1D(
"EcalHaloData_PhiWedgeMinTime",
"", 100, -225.0, 225.0);
102 hEcalHaloData_PhiWedgeMaxTime = dqm->book1D(
"EcalHaloData_PhiWedgeMaxTime",
"", 100, -225.0, 225.0);
103 hEcalHaloData_PhiWedgeiPhi = dqm->book1D(
"EcalHaloData_PhiWedgeiPhi",
"", 360, 0.5, 360.5) ;
104 hEcalHaloData_PhiWedgePlusZDirectionConfidence = dqm->book1D(
"EcalHaloData_PlusZDirectionConfidence",
"", 50, 0., 1.0);
105 hEcalHaloData_PhiWedgeZDirectionConfidence = dqm->book1D(
"EcalHaloData_ZDirectionConfidence",
"", 120, -1.2, 1.2);
106 hEcalHaloData_PhiWedgeMinVsMaxTime = dqm->book2D(
"EcalHaloData_PhiWedgeMinVsMaxTime",
"", 50,-100.0, 100.0, 50, -100.0, 100.0);
107 hEcalHaloData_SuperClusterShowerShapes = dqm->book2D(
"EcalHaloData_SuperClusterShowerShapes",
"", 30, 0, 3.2, 25,0.0, 2.0);
108 hEcalHaloData_SuperClusterEnergy = dqm->book1D(
"EcalHaloData_SuperClusterEnergy",
"",100,-0.5,99.5);
109 hEcalHaloData_SuperClusterNHits = dqm->book1D(
"EcalHaloData_SuperClusterNHits",
"", 20, -0.5, 19.5);
110 hEcalHaloData_SuperClusterPhiVsEta = dqm->book2D(
"EcalHaloData_SuperClusterPhiVsEta",
"",60, -3.0, 3.0, 60, -3.2, 3.2);
114 dqm->setCurrentFolder(FolderName+
"/HcalHaloData");
117 hHcalHaloData_PhiWedgeMultiplicity = dqm->book1D(
"HcalHaloData_PhiWedgeMultiplicity",
"", 20, -0.5, 19.5);
118 hHcalHaloData_PhiWedgeConstituents = dqm->book1D(
"HcalHaloData_PhiWedgeConstituents",
"", 20,-0.5, 19.5);
120 hHcalHaloData_PhiWedgeZDirectionConfidence = dqm->book1D(
"HcalHaloData_ZDirectionConfidence",
"", 120, -1.2, 1.2);
124 hHcalHaloData_PhiWedgeMultiplicity = dqm->book1D(
"HcalHaloData_PhiWedgeMultiplicity",
"", 20, -0.5, 19.5);
125 hHcalHaloData_PhiWedgeEnergy = dqm->book1D(
"HcalHaloData_PhiWedgeEnergy",
"", 50,-0.5,199.5);
126 hHcalHaloData_PhiWedgeConstituents = dqm->book1D(
"HcalHaloData_PhiWedgeConstituents",
"", 20,-0.5, 19.5);
127 hHcalHaloData_PhiWedgeiPhi = dqm->book1D(
"HcalHaloData_PhiWedgeiPhi",
"", 72, 0.5,72.5);
128 hHcalHaloData_PhiWedgeMinTime = dqm->book1D(
"HcalHaloData_PhiWedgeMinTime",
"", 50, -100.0, 100.0);
129 hHcalHaloData_PhiWedgeMaxTime = dqm->book1D(
"HcalHaloData_PhiWedgeMaxTime",
"", 50, -100.0, 100.0);
130 hHcalHaloData_PhiWedgePlusZDirectionConfidence = dqm->book1D(
"HcalHaloData_PlusZDirectionConfidence",
"", 50, 0., 1.0);
131 hHcalHaloData_PhiWedgeZDirectionConfidence = dqm->book1D(
"HcalHaloData_ZDirectionConfidence",
"", 120, -1.2, 1.2);
132 hHcalHaloData_PhiWedgeMinVsMaxTime = dqm->book2D(
"HcalHaloData_PhiWedgeMinVsMaxTime",
"" , 50,-100.0, 100.0, 50, -100.0, 100.0);
136 dqm->setCurrentFolder(FolderName+
"/CSCHaloData");
139 hCSCHaloData_TrackMultiplicity = dqm->book1D(
"CSCHaloData_TrackMultiplicity",
"", 15, -0.5, 14.5);
140 hCSCHaloData_TrackMultiplicityMEPlus = dqm->book1D(
"CSCHaloData_TrackMultiplicityMEPlus",
"", 15, -0.5, 14.5);
141 hCSCHaloData_TrackMultiplicityMEMinus = dqm->book1D(
"CSCHaloData_TrackMultiplicityMEMinus",
"", 15, -0.5, 14.5);
142 hCSCHaloData_InnerMostTrackHitR = dqm->book1D(
"CSCHaloData_InnerMostTrackHitR",
"", 70, 99.5, 799.5);
143 hCSCHaloData_InnerMostTrackHitPhi = dqm->book1D(
"CSCHaloData_InnerMostTrackHitPhi",
"", 60, -3.2, 3.2);
144 hCSCHaloData_L1HaloTriggersMEPlus = dqm->book1D(
"CSCHaloData_L1HaloTriggersMEPlus",
"", 10, -0.5, 9.5);
145 hCSCHaloData_L1HaloTriggersMEMinus = dqm->book1D(
"CSCHaloData_L1HaloTriggersMEMinus",
"" , 10, -0.5, 9.5);
146 hCSCHaloData_L1HaloTriggers = dqm->book1D(
"CSCHaloData_L1HaloTriggers",
"", 10, -0.5, 9.5);
147 hCSCHaloData_HLHaloTriggers = dqm->book1D(
"CSCHaloData_HLHaloTriggers",
"", 2, -0.5, 1.5);
148 hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists = dqm->book2D(
"CSCHaloData_NOutOfTimeTriggersvsL1HaloExists",
"", 20, -0.5, 19.5, 2, -0.5, 1.5);
149 hCSCHaloData_NOutOfTimeTriggersMEPlus = dqm->book1D(
"CSCHaloData_NOutOfTimeTriggersMEPlus",
"", 20, -0.5, 19.5);
150 hCSCHaloData_NOutOfTimeTriggersMEMinus = dqm->book1D(
"CSCHaloData_NOutOfTimeTriggersMEMinus",
"", 20, -0.5, 19.5);
151 hCSCHaloData_NOutOfTimeTriggers = dqm->book1D(
"CSCHaloData_NOutOfTimeTriggers",
"", 20, -0.5, 19.5);
152 hCSCHaloData_NOutOfTimeHits = dqm->book1D(
"CSCHaloData_NOutOfTimeHits",
"", 60, -0.5, 59.5);
153 hCSCHaloData_NTracksSmalldT = dqm->book1D(
"CSCHaloData_NTracksSmalldT",
"", 15, -0.5, 14.5);
154 hCSCHaloData_NTracksSmallBeta = dqm->book1D(
"CSCHaloData_NTracksSmallBeta",
"", 15, -0.5, 14.5);
155 hCSCHaloData_NTracksSmallBetaAndSmalldT = dqm->book1D(
"CSCHaloData_NTracksSmallBetaAndSmalldT",
"", 15, -0.5, 14.5);
156 hCSCHaloData_NTracksSmalldTvsNHaloTracks = dqm->book2D(
"CSCHaloData_NTracksSmalldTvsNHaloTracks",
"",15, -0.5, 14.5,15, -0.5, 14.5);
157 hCSCHaloData_SegmentdT = dqm->book1D(
"CSCHaloData_SegmentdT",
"",100,-100,100);
158 hCSCHaloData_FreeInverseBeta = dqm->book1D(
"CSCHaloData_FreeInverseBeta",
"",80,-4,4);
159 hCSCHaloData_FreeInverseBetaVsSegmentdT = dqm->book2D(
"CSCHaloData_FreeInverseBetaVsSegmentdT",
"",100,-100,100,80,-4,4);
161 hCSCHaloData_NFlatHaloSegments = dqm->book1D(
"CSCHaloData_NFlatHaloSegments",
"",20,0,20);
162 hCSCHaloData_SegmentsInBothEndcaps = dqm->book1D(
"CSCHaloData_SegmentsInBothEndcaps",
"",2,0,2);
163 hCSCHaloData_NFlatSegmentsInBothEndcaps = dqm->book1D(
"CSCHaloData_NFlatSegmentsInBothEndcaps",
"",20,0,20);
168 hCSCHaloData_TrackMultiplicity = dqm->book1D(
"CSCHaloData_TrackMultiplicity",
"", 15, -0.5, 14.5);
169 hCSCHaloData_TrackMultiplicityMEPlus = dqm->book1D(
"CSCHaloData_TrackMultiplicityMEPlus",
"", 15, -0.5, 14.5);
170 hCSCHaloData_TrackMultiplicityMEMinus = dqm->book1D(
"CSCHaloData_TrackMultiplicityMEMinus",
"", 15, -0.5, 14.5);
171 hCSCHaloData_InnerMostTrackHitXY = dqm->book2D(
"CSCHaloData_InnerMostTrackHitXY",
"", 100,-700,700,100, -700,700);
172 hCSCHaloData_InnerMostTrackHitR = dqm->book1D(
"CSCHaloData_InnerMostTrackHitR",
"", 400, -0.5, 799.5);
173 hCSCHaloData_InnerMostTrackHitRPlusZ = dqm->book2D(
"CSCHaloData_InnerMostTrackHitRPlusZ",
"", 400 , 400, 1200, 400, -0.5, 799.5 );
174 hCSCHaloData_InnerMostTrackHitRMinusZ = dqm->book2D(
"CSCHaloData_InnerMostTrackHitRMinusZ",
"", 400 , -1200, -400, 400, -0.5, 799.5 );
175 hCSCHaloData_InnerMostTrackHitiPhi = dqm->book1D(
"CSCHaloData_InnerMostTrackHitiPhi",
"", 72, 0.5, 72.5);
176 hCSCHaloData_InnerMostTrackHitPhi = dqm->book1D(
"CSCHaloData_InnerMostTrackHitPhi",
"", 60, -3.2, 3.2);
177 hCSCHaloData_L1HaloTriggersMEPlus = dqm->book1D(
"CSCHaloData_L1HaloTriggersMEPlus",
"", 10, -0.5, 9.5);
178 hCSCHaloData_L1HaloTriggersMEMinus = dqm->book1D(
"CSCHaloData_L1HaloTriggersMEMinus",
"" , 10, -0.5, 9.5);
179 hCSCHaloData_L1HaloTriggers = dqm->book1D(
"CSCHaloData_L1HaloTriggers",
"", 10, -0.5, 9.5);
180 hCSCHaloData_HLHaloTriggers = dqm->book1D(
"CSCHaloData_HLHaloTriggers",
"", 2, -0.5, 1.5);
181 hCSCHaloData_NOutOfTimeTriggersvsL1HaloExists = dqm->book2D(
"CSCHaloData_NOutOfTimeTriggersvsL1HaloExists",
"", 20, -0.5, 19.5, 2, -0.5, 1.5);
182 hCSCHaloData_NOutOfTimeTriggers = dqm->book1D(
"CSCHaloData_NOutOfTimeTriggers",
"", 20, -0.5, 19.5);
183 hCSCHaloData_NOutOfTimeHits = dqm->book1D(
"CSCHaloData_NOutOfTimeHits",
"", 60, -0.5, 59.5);
184 hCSCHaloData_NTracksSmalldT = dqm->book1D(
"CSCHaloData_NTracksSmalldT",
"", 15, -0.5, 14.5);
185 hCSCHaloData_NTracksSmallBeta = dqm->book1D(
"CSCHaloData_NTracksSmallBeta",
"", 15, -0.5, 14.5);
186 hCSCHaloData_NTracksSmallBetaAndSmalldT = dqm->book1D(
"CSCHaloData_NTracksSmallBetaAndSmalldT",
"", 15, -0.5, 14.5);
187 hCSCHaloData_NTracksSmalldTvsNHaloTracks = dqm->book2D(
"CSCHaloData_NTracksSmalldTvsNHaloTracks",
"",15, -0.5, 14.5,15, -0.5, 14.5);
188 hCSCHaloData_SegmentdT = dqm->book1D(
"CSCHaloData_SegmentdT",
"",100,-100,100);
189 hCSCHaloData_FreeInverseBeta = dqm->book1D(
"CSCHaloData_FreeInverseBeta",
"",80,-4,4);
190 hCSCHaloData_FreeInverseBetaVsSegmentdT = dqm->book2D(
"CSCHaloData_FreeInverseBetaVsSegmentdT",
"",100,-100,100,80,-4,4);
192 hCSCHaloData_NFlatHaloSegments = dqm->book1D(
"CSCHaloData_NFlatHaloSegments",
"",20,0,20);
193 hCSCHaloData_SegmentsInBothEndcaps = dqm->book1D(
"CSCHaloData_SegmentsInBothEndcaps",
"",2,0,2);
194 hCSCHaloData_NFlatSegmentsInBothEndcaps = dqm->book1D(
"CSCHaloData_NFlatSegmentsInBothEndcaps",
"",20,0,20);
199 dqm->setCurrentFolder(FolderName+
"/GlobalHaloData");
202 hGlobalHaloData_MExCorrection = dqm->book1D(
"GlobalHaloData_MExCorrection",
"" , 200, -200., 200.);
203 hGlobalHaloData_MEyCorrection = dqm->book1D(
"GlobalHaloData_MEyCorrection",
"" , 200, -200., 200.);
204 hGlobalHaloData_SumEtCorrection = dqm->book1D(
"GlobalHaloData_SumEtCorrection",
"" , 200, -0.5, 399.5);
205 hGlobalHaloData_HaloCorrectedMET = dqm->book1D(
"GlobalHaloData_HaloCorrectedMET",
"" , 500, -0.5, 1999.5);
206 hGlobalHaloData_RawMETMinusHaloCorrectedMET = dqm->book1D(
"GlobalHaloData_RawMETMinusHaloCorrectedMET",
"" , 250, -500., 500.);
207 hGlobalHaloData_RawMETOverSumEt = dqm->book1D(
"GlobalHaloData_RawMETOverSumEt",
"" , 100, 0.0, 1.0);
208 hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity = dqm->book1D(
"GlobalHaloData_MatchedHcalPhiWedgeMultiplicity",
"", 15, -0.5, 14.5);
209 hGlobalHaloData_MatchedHcalPhiWedgeEnergy = dqm->book1D(
"GlobalHaloData_MatchedHcalPhiWedgeEnergy",
"", 50,-0.5,199.5);
210 hGlobalHaloData_MatchedHcalPhiWedgeConstituents = dqm->book1D(
"GlobalHaloData_MatchedHcalPhiWedgeConstituents",
"", 20,-0.5, 19.5);
211 hGlobalHaloData_MatchedHcalPhiWedgeiPhi = dqm->book1D(
"GlobalHaloData_MatchedHcalPhiWedgeiPhi",
"", 1, 0.5,72.5);
212 hGlobalHaloData_MatchedHcalPhiWedgeMinTime = dqm->book1D(
"GlobalHaloData_MatchedHcalPhiWedgeMinTime",
"", 50, -100.0, 100.0);
213 hGlobalHaloData_MatchedHcalPhiWedgeMaxTime = dqm->book1D(
"GlobalHaloData_MatchedHcalPhiWedgeMaxTime",
"", 50, -100.0, 100.0);
214 hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence = dqm->book1D(
"GlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence",
"", 120, -1.2, 1.2);
215 hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity = dqm->book1D(
"GlobalHaloData_MatchedEcalPhiWedgeMultiplicity",
"", 15, -0.5, 14.5);
216 hGlobalHaloData_MatchedEcalPhiWedgeEnergy = dqm->book1D(
"GlobalHaloData_MatchedEcalPhiWedgeEnergy",
"", 50,-0.5,199.5);
217 hGlobalHaloData_MatchedEcalPhiWedgeConstituents = dqm->book1D(
"GlobalHaloData_MatchedEcalPhiWedgeConstituents",
"", 20,-0.5, 19.5);
218 hGlobalHaloData_MatchedEcalPhiWedgeiPhi = dqm->book1D(
"GlobalHaloData_MatchedEcalPhiWedgeiPhi",
"", 360, 0.5,360.5);
219 hGlobalHaloData_MatchedEcalPhiWedgeMinTime = dqm->book1D(
"GlobalHaloData_MatchedEcalPhiWedgeMinTime",
"", 50, -100.0, 100.0);
220 hGlobalHaloData_MatchedEcalPhiWedgeMaxTime = dqm->book1D(
"GlobalHaloData_MatchedEcalPhiWedgeMaxTime",
"", 50, -100.0, 100.0);
221 hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence = dqm->book1D(
"GlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence",
"", 120, 1.2, 1.2);
224 dqm->setCurrentFolder(FolderName+
"/BeamHaloSummary");
226 hBeamHaloSummary_Id = dqm->book1D(
"BeamHaloSumamry_Id",
"", 11, 0.5,11.5);
227 hBeamHaloSummary_Id ->setBinLabel(1,
"CSC Loose");
228 hBeamHaloSummary_Id ->setBinLabel(2,
"CSC Tight");
229 hBeamHaloSummary_Id ->setBinLabel(3,
"Ecal Loose");
230 hBeamHaloSummary_Id ->setBinLabel(4,
"Ecal Tight");
231 hBeamHaloSummary_Id ->setBinLabel(5,
"Hcal Loose");
232 hBeamHaloSummary_Id ->setBinLabel(6,
"Hcal Tight");
233 hBeamHaloSummary_Id ->setBinLabel(7,
"Global Loose");
234 hBeamHaloSummary_Id ->setBinLabel(8,
"Global Tight");
235 hBeamHaloSummary_Id ->setBinLabel(9,
"Event Loose");
236 hBeamHaloSummary_Id ->setBinLabel(10,
"Event Tight");
237 hBeamHaloSummary_Id ->setBinLabel(11,
"Nothing");
240 hBeamHaloSummary_BXN = dqm->book2D(
"BeamHaloSummary_BXN",
"",11, 0.5, 11.5, 4000, -0.5,3999.5);
241 hBeamHaloSummary_BXN ->setBinLabel(1,
"CSC Loose");
242 hBeamHaloSummary_BXN ->setBinLabel(2,
"CSC Tight");
243 hBeamHaloSummary_BXN ->setBinLabel(3,
"Ecal Loose");
244 hBeamHaloSummary_BXN ->setBinLabel(4,
"Ecal Tight");
245 hBeamHaloSummary_BXN ->setBinLabel(5,
"Hcal Loose");
246 hBeamHaloSummary_BXN ->setBinLabel(6,
"Hcal Tight");
247 hBeamHaloSummary_BXN ->setBinLabel(7,
"Global Loose");
248 hBeamHaloSummary_BXN ->setBinLabel(8,
"Global Tight");
249 hBeamHaloSummary_BXN ->setBinLabel(9,
"Event Loose");
250 hBeamHaloSummary_BXN ->setBinLabel(10,
"Event Tight");
251 hBeamHaloSummary_BXN ->setBinLabel(11,
"Nothing");
254 dqm->setCurrentFolder(FolderName+
"/ExtraHaloData");
257 hExtra_CSCTrackInnerOuterDPhi = dqm->book1D(
"Extra_CSCTrackInnerOuterDPhi",
"", 30, 0, 3.2);
258 hExtra_CSCTrackInnerOuterDEta = dqm->book1D(
"Extra_CSCTrackInnerOuterDEta",
"", 100, 0, 3.0 );
259 hExtra_CSCTrackChi2Ndof = dqm->book1D(
"Extra_CSCTrackChi2Ndof",
"", 25, 0, 10);
260 hExtra_CSCTrackNHits = dqm->book1D(
"Extra_CSCTrackNHits",
"", 75,0, 75);
261 hExtra_CSCActivityWithMET= dqm->book2D(
"Extra_CSCActivityWithMET",
"", 4, 0.5, 4.5, 4, 0.5, 4.5);
262 hExtra_CSCActivityWithMET->setBinLabel(1,
"Track",1);
263 hExtra_CSCActivityWithMET->setBinLabel(1,
"Track",2);
264 hExtra_CSCActivityWithMET->setBinLabel(2,
"Segments",1);
265 hExtra_CSCActivityWithMET->setBinLabel(2,
"Segments",2);
266 hExtra_CSCActivityWithMET->setBinLabel(3,
"RecHits", 1);
267 hExtra_CSCActivityWithMET->setBinLabel(3,
"RecHits", 2);
268 hExtra_CSCActivityWithMET->setBinLabel(4,
"Nothing", 1);
269 hExtra_CSCActivityWithMET->setBinLabel(4,
"Nothing", 2);
270 hExtra_InnerMostTrackHitR = dqm->book1D(
"Extra_InnerMostTrackHitR",
"", 70, 99.5, 799.5);
271 hExtra_InnerMostTrackHitPhi = dqm->book1D(
"Extra_InnerMostTrackHitPhi",
"", 60, -3.2, 3.2);
275 hExtra_CSCActivityWithMET= dqm->book2D(
"Extra_CSCActivityWithMET",
"", 4, 0.5, 4.5, 4, 0.5, 4.5);
276 hExtra_CSCActivityWithMET->setBinLabel(1,
"Track",1);
277 hExtra_CSCActivityWithMET->setBinLabel(1,
"Track",2);
278 hExtra_CSCActivityWithMET->setBinLabel(2,
"Segments",1);
279 hExtra_CSCActivityWithMET->setBinLabel(2,
"Segments",2);
280 hExtra_CSCActivityWithMET->setBinLabel(3,
"RecHits", 1);
281 hExtra_CSCActivityWithMET->setBinLabel(3,
"RecHits", 2);
282 hExtra_CSCActivityWithMET->setBinLabel(4,
"Nothing", 1);
283 hExtra_CSCActivityWithMET->setBinLabel(4,
"Nothing", 2);
284 hExtra_HcalToF = dqm->book2D(
"Extra_HcalToF",
"" , 83,-41.5,41.5 , 1000, -125., 125.);
285 hExtra_HcalToF_HaloId = dqm->book2D(
"Extra_HcalToF_HaloId",
"", 83,-41.5,41.5 , 1000, -125., 125.);
286 hExtra_EcalToF = dqm->book2D(
"Extra_EcalToF",
"", 171,-85.5,85.5 , 2000, -225., 225.);
287 hExtra_EcalToF_HaloId = dqm->book2D(
"Extra_EcalToF_HaloId",
"", 171,-85.5,85.5 , 2000, -225., 225.);
288 hExtra_CSCTrackInnerOuterDPhi = dqm->book1D(
"Extra_CSCTrackInnerOuterDPhi",
"", 30, 0, 3.2);
289 hExtra_CSCTrackInnerOuterDEta = dqm->book1D(
"Extra_CSCTrackInnerOuterDEta",
"", 30, 0, 3.2);
290 hExtra_CSCTrackChi2Ndof = dqm->book1D(
"Extra_CSCTrackChi2Ndof",
"", 100, 0, 10);
291 hExtra_CSCTrackNHits = dqm->book1D(
"Extra_CSCTrackNHits",
"", 75,0, 75);
292 hExtra_InnerMostTrackHitXY = dqm->book2D(
"Extra_InnerMostTrackHitXY",
"", 100,-700,700,100, -700,700);
293 hExtra_InnerMostTrackHitR = dqm->book1D(
"Extra_InnerMostTrackHitR",
"", 400, -0.5, 799.5);
294 hExtra_InnerMostTrackHitRPlusZ = dqm->book2D(
"Extra_InnerMostTrackHitRPlusZ",
"", 400 , 400, 1200, 400, -0.5, 799.5 );
295 hExtra_InnerMostTrackHitRMinusZ = dqm->book2D(
"Extra_InnerMostTrackHitRMinusZ",
"", 400 , -1200, -400, 400, -0.5, 799.5 );
296 hExtra_InnerMostTrackHitiPhi = dqm->book1D(
"Extra_InnerMostTrackHitiPhi",
"", 72, 0.5, 72.5);
297 hExtra_InnerMostTrackHitPhi = dqm->book1D(
"Extra_InnerMostTrackHitPhi",
"", 60, -3.2, 3.2);
298 hExtra_BXN = dqm->book1D(
"Extra_BXN",
"BXN Occupancy", 4000, 0.5, 4000.5);
307 bool Dump = TextFileName.size();
308 int TheEventNumber = TheEvent.
event();
322 iEvent.
getByLabel(IT_CosmicStandAloneMuon, TheCosmics);
324 iEvent.
getByLabel(IT_CosmicStandAloneMuon.label(),
"csc",TheCSCTimeMap);
325 bool CSCTrackPlus =
false;
bool CSCTrackMinus =
false;
329 for( reco::MuonCollection::const_iterator iMuon = TheCosmics->begin() ; iMuon != TheCosmics->end() ; iMuon++, imucount++ )
334 if( !CSCTrackPlus || !CSCTrackMinus )
336 if( Track->eta() > 0 || Track->outerPosition().z() > 0 || Track->innerPosition().z() > 0 ) CSCTrackPlus =
true ;
337 else if( Track->eta() < 0 || Track->outerPosition().z() < 0 || Track->innerPosition().z() < 0) CSCTrackMinus =
true;
340 float innermost_phi = 0.;
341 float outermost_phi = 0.;
342 float innermost_z = 99999.;
343 float outermost_z = 0.;
344 float innermost_eta = 0.;
345 float outermost_eta = 0.;
346 float innermost_x =0.;
347 float innermost_y =0.;
348 float innermost_r =0.;
349 for(
unsigned int j = 0 ;
j < Track->extra()->recHits().size();
j++ )
352 DetId TheDetUnitId(
hit->geographicalId());
356 const GeomDetUnit *TheUnit = TheCSCGeometry->idToDetUnit(TheDetUnitId);
361 float z = TheGlobalPosition.
z();
362 if( TMath::Abs(z) < innermost_z )
364 innermost_phi = TheGlobalPosition.
phi();
365 innermost_eta = TheGlobalPosition.
eta();
366 innermost_z = TheGlobalPosition.
z();
367 innermost_x = TheGlobalPosition.
x();
368 innermost_y = TheGlobalPosition.
y();
369 innermost_r = TMath::Sqrt( innermost_x*innermost_x + innermost_y*innermost_y );
371 if( TMath::Abs(z) > outermost_z)
373 outermost_phi = TheGlobalPosition.
phi() ;
374 outermost_eta = TheGlobalPosition.
eta() ;
375 outermost_z = TheGlobalPosition.
z();
378 float dphi = TMath::Abs( outermost_phi - innermost_phi );
379 float deta = TMath::Abs( outermost_eta - innermost_eta );
380 hExtra_CSCTrackInnerOuterDPhi ->
Fill( dphi );
381 hExtra_CSCTrackInnerOuterDEta ->
Fill( deta );
382 hExtra_CSCTrackChi2Ndof ->
Fill(Track->normalizedChi2() );
383 hExtra_CSCTrackNHits ->
Fill(Track->numberOfValidHits() );
384 hExtra_InnerMostTrackHitR ->Fill(innermost_r);
385 hExtra_InnerMostTrackHitPhi ->Fill(innermost_phi);
388 hExtra_InnerMostTrackHitXY ->Fill(innermost_x, innermost_y);
389 hExtra_InnerMostTrackHitiPhi ->Fill(
Phi_To_iPhi(innermost_phi));
391 hExtra_InnerMostTrackHitRPlusZ ->Fill(innermost_z, innermost_r);
393 hExtra_InnerMostTrackHitRMinusZ ->Fill(innermost_z, innermost_r);
396 std::vector<const CSCSegment*> MatchedSegments = TheMatcher->matchCSC(*Track,iEvent);
399 float InnerSegmentTime[2] = {0,0};
400 float OuterSegmentTime[2] = {0,0};
401 float innermost_seg_z[2] = {1500,1500};
402 float outermost_seg_z[2] = {0,0};
403 for (std::vector<const CSCSegment*>::const_iterator segment =MatchedSegments.begin();
404 segment != MatchedSegments.end(); ++segment)
406 CSCDetId TheCSCDetId((*segment)->cscDetId());
407 const CSCChamber* TheCSCChamber = TheCSCGeometry->chamber(TheCSCDetId);
408 LocalPoint TheLocalPosition = (*segment)->localPosition();
409 const GlobalPoint TheGlobalPosition = TheCSCChamber->toGlobal(TheLocalPosition);
410 float z = TheGlobalPosition.
z();
411 int TheEndcap = TheCSCDetId.endcap();
412 if( TMath::Abs(z) < innermost_seg_z[TheEndcap-1] )
414 innermost_seg_z[TheEndcap-1] = TMath::Abs(z);
415 InnerSegmentTime[TheEndcap-1] = (*segment)->time();
417 if( TMath::Abs(z) > outermost_seg_z[TheEndcap-1] )
419 outermost_seg_z[TheEndcap-1] = TMath::Abs(z);
420 OuterSegmentTime[TheEndcap-1] = (*segment)->time();
424 float dT_Segment = 0;
425 if( innermost_seg_z[0] < outermost_seg_z[0])
426 dT_Segment = OuterSegmentTime[0]-InnerSegmentTime[0];
427 if( innermost_seg_z[1] < outermost_seg_z[1])
431 if (dT_Segment == 0.0 || OuterSegmentTime[1]-InnerSegmentTime[1] < dT_Segment)
432 dT_Segment = OuterSegmentTime[1]-InnerSegmentTime[1] ;
434 hCSCHaloData_SegmentdT->Fill(dT_Segment);
442 hCSCHaloData_FreeInverseBeta->Fill(freeInverseBeta);
443 hCSCHaloData_FreeInverseBetaVsSegmentdT->Fill(dT_Segment,freeInverseBeta);
451 iEvent.
getByLabel(IT_CSCSegment, TheCSCSegments);
454 std::vector< CSCSegment> vCSCSegments_Plus;
455 std::vector< CSCSegment> vCSCSegments_Minus;
457 bool CSCSegmentPlus =
false;
458 bool CSCSegmentMinus=
false;
463 const std::vector<CSCRecHit2D> vCSCRecHits = iSegment->specificRecHits();
466 if ( iDetId.
endcap() == 1 ) vCSCSegments_Plus.push_back( *iSegment );
467 else vCSCSegments_Minus.push_back( *iSegment );
472 if( vCSCSegments_Plus.size() ) CSCSegmentPlus =
true;
473 if( vCSCSegments_Minus.size() ) CSCSegmentMinus =
true;
477 iEvent.
getByLabel(IT_CSCRecHit, TheCSCRecHits);
478 bool CSCRecHitPlus =
false;
479 bool CSCRecHitMinus =
false;
484 DetId TheDetUnitId(iCSCRecHit->geographicalId());
485 const GeomDetUnit *TheUnit = (*TheCSCGeometry).idToDetUnit(TheDetUnitId);
486 LocalPoint TheLocalPosition = iCSCRecHit->localPosition();
487 const BoundPlane& TheSurface = TheUnit->surface();
491 if ( TheGlobalPosition.
z() > 0 ) CSCRecHitPlus =
true;
492 else CSCRecHitMinus =
true;
504 if( iEBRecHit->energy() < 0.5 )
continue;
507 int ieta = EcalId.ieta() ;
509 hExtra_EcalToF ->Fill(ieta, iEBRecHit->time() );
517 iEvent.
getByLabel(IT_HBHERecHit, TheHBHERecHits);
522 if( iHBHERecHit->energy() < 1.)
continue;
525 hExtra_HcalToF->Fill(
id.ieta(), iHBHERecHit->time() ) ;
535 iEvent.
getByLabel(IT_CSCHaloData,TheCSCDataHandle);
536 int TheHaloOrigin = 0;
537 if (TheCSCDataHandle.
isValid())
547 float r = TMath::Sqrt(
i->x()*
i->x() +
i->y()*
i->y() );
550 hCSCHaloData_InnerMostTrackHitXY->Fill(
i->x(),
i->y() );
551 hCSCHaloData_InnerMostTrackHitiPhi ->Fill(
Phi_To_iPhi(
i->phi()));
553 hCSCHaloData_InnerMostTrackHitRPlusZ ->
Fill(
i->z(),
r) ;
555 hCSCHaloData_InnerMostTrackHitRMinusZ ->Fill(
i->z(),
r) ;
557 hCSCHaloData_InnerMostTrackHitR ->Fill(r);
558 hCSCHaloData_InnerMostTrackHitPhi ->Fill(
i->phi());
566 hCSCHaloData_TrackMultiplicity->Fill( CSCData.
GetTracks().
size() );
586 iEvent.
getByLabel(IT_EcalHaloData, TheEcalHaloData );
587 if( TheEcalHaloData.
isValid() )
590 std::vector<PhiWedge> EcalWedges = EcalData.
GetPhiWedges();
591 for(std::vector<PhiWedge>::const_iterator iWedge = EcalWedges.begin() ; iWedge != EcalWedges.end(); iWedge ++ )
595 hEcalHaloData_PhiWedgeEnergy->Fill( iWedge->Energy() );
596 hEcalHaloData_PhiWedgeMinTime ->Fill( iWedge->MinTime() );
597 hEcalHaloData_PhiWedgeMaxTime ->Fill( iWedge->MaxTime() );
598 hEcalHaloData_PhiWedgeMinVsMaxTime->Fill(iWedge->MinTime() , iWedge->MaxTime() ) ;
599 hEcalHaloData_PhiWedgePlusZDirectionConfidence->Fill( iWedge->PlusZDirectionConfidence() );
600 hEcalHaloData_PhiWedgeiPhi->Fill(iWedge->iPhi() ) ;
602 hEcalHaloData_PhiWedgeZDirectionConfidence ->Fill( iWedge->ZDirectionConfidence() );
603 hEcalHaloData_PhiWedgeConstituents->Fill( iWedge->NumberOfConstituents() ) ;
606 hEcalHaloData_PhiWedgeMultiplicity->Fill( EcalWedges.size() );
614 float angle = vm_Angle[cluster];
615 float roundness = vm_Roundness[cluster];
616 hEcalHaloData_SuperClusterShowerShapes->Fill(angle, roundness);
617 hEcalHaloData_SuperClusterNHits->Fill( cluster->size() );
618 hEcalHaloData_SuperClusterEnergy->Fill(cluster->energy() );
622 hEcalHaloData_SuperClusterPhiVsEta->Fill(cluster->eta() ,cluster->phi() );
629 iEvent.
getByLabel(IT_HcalHaloData ,TheHcalHaloData );
630 if( TheHcalHaloData.
isValid( ) )
633 std::vector<PhiWedge> HcalWedges = HcalData.
GetPhiWedges();
634 hHcalHaloData_PhiWedgeMultiplicity ->Fill( HcalWedges.size() );
635 for(std::vector<PhiWedge>::const_iterator iWedge = HcalWedges.begin() ; iWedge != HcalWedges.end(); iWedge ++ )
639 hHcalHaloData_PhiWedgeEnergy ->Fill( iWedge->Energy() );
640 hHcalHaloData_PhiWedgeMinTime ->Fill( iWedge->MinTime() );
641 hHcalHaloData_PhiWedgeMaxTime ->Fill( iWedge->MaxTime() );
642 hHcalHaloData_PhiWedgePlusZDirectionConfidence ->Fill( iWedge->PlusZDirectionConfidence() );
643 hHcalHaloData_PhiWedgeMinVsMaxTime ->Fill( iWedge->MinTime() , iWedge->MaxTime() );
644 hHcalHaloData_PhiWedgeiPhi ->Fill( iWedge->iPhi() );
647 hHcalHaloData_PhiWedgeConstituents ->Fill( iWedge->NumberOfConstituents() );
648 hHcalHaloData_PhiWedgeZDirectionConfidence ->Fill( iWedge->ZDirectionConfidence() );
657 iEvent.
getByLabel(IT_GlobalHaloData, TheGlobalHaloData );
658 if( TheGlobalHaloData.
isValid() )
665 const CaloMET *RawMET = &(calometcol->front());
669 hGlobalHaloData_MExCorrection ->Fill( GlobalData.
DeltaMEx() );
670 hGlobalHaloData_MEyCorrection ->Fill( GlobalData.
DeltaMEy() );
671 hGlobalHaloData_HaloCorrectedMET->Fill(CorrectedMET.
pt() );
672 hGlobalHaloData_RawMETMinusHaloCorrectedMET ->Fill( RawMET->
pt() - CorrectedMET.
pt() );
673 if( RawMET->
sumEt() )
674 hGlobalHaloData_RawMETOverSumEt ->
Fill( RawMET->
pt() / RawMET->
sumEt() );
680 hGlobalHaloData_MatchedHcalPhiWedgeMultiplicity ->Fill(HcalWedges.size());
682 for( std::vector<PhiWedge>::const_iterator iWedge = HcalWedges.begin() ; iWedge != HcalWedges.end() ; iWedge ++ )
684 hGlobalHaloData_MatchedHcalPhiWedgeEnergy ->Fill( iWedge->Energy() );
685 hGlobalHaloData_MatchedHcalPhiWedgeConstituents ->Fill( iWedge->NumberOfConstituents());
686 hGlobalHaloData_MatchedHcalPhiWedgeiPhi ->Fill( iWedge->iPhi() );
687 hGlobalHaloData_MatchedHcalPhiWedgeMinTime ->Fill( iWedge->MinTime() );
688 hGlobalHaloData_MatchedHcalPhiWedgeMaxTime ->Fill( iWedge->MaxTime() );
689 hGlobalHaloData_MatchedHcalPhiWedgeZDirectionConfidence ->Fill( iWedge->ZDirectionConfidence() ) ;
695 int iphi =
id.
iphi() ;
696 if( iphi != iWedge->iPhi() )
continue;
697 if( iHBHERecHit->energy() < 1.0)
continue;
699 float time = iHBHERecHit->time();
700 int ieta =
id.ieta();
701 hExtra_HcalToF_HaloId ->Fill( ieta, time );
708 hGlobalHaloData_MatchedEcalPhiWedgeMultiplicity ->Fill(EcalWedges.size());
709 for( std::vector<PhiWedge>::const_iterator iWedge = EcalWedges.begin() ; iWedge != EcalWedges.end() ; iWedge ++ )
711 hGlobalHaloData_MatchedEcalPhiWedgeEnergy ->Fill(iWedge->Energy());
712 hGlobalHaloData_MatchedEcalPhiWedgeConstituents ->Fill(iWedge->NumberOfConstituents());
713 hGlobalHaloData_MatchedEcalPhiWedgeiPhi ->Fill(iWedge->iPhi());
714 hGlobalHaloData_MatchedEcalPhiWedgeMinTime ->Fill(iWedge->MinTime());
715 hGlobalHaloData_MatchedEcalPhiWedgeMaxTime ->Fill(iWedge->MaxTime());
716 hGlobalHaloData_MatchedEcalPhiWedgeZDirectionConfidence ->Fill( iWedge->ZDirectionConfidence() ) ;
721 if( iEBRecHit->energy() < 0.5 )
continue;
724 int iPhi = EcalId.iphi() ;
725 iPhi = (iPhi-1)/5 + 1;
726 if( iPhi != iWedge->iPhi() )
continue;
727 hExtra_EcalToF_HaloId ->Fill(EcalId.ieta(), iEBRecHit->time() );
737 iEvent.
getByLabel(IT_BeamHaloSummary, TheBeamHaloSummary) ;
738 if( TheBeamHaloSummary.
isValid() )
743 hBeamHaloSummary_Id ->Fill(1);
744 if(!StandardDQM) hBeamHaloSummary_BXN ->
Fill( 1, BXN );
745 if(Dump)*
out << std::setw(15) <<
"CSCLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15) << TheEventNumber << std::endl;
749 hBeamHaloSummary_Id ->Fill(2);
750 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 2, BXN );
754 hBeamHaloSummary_Id ->Fill(3);
755 if(!StandardDQM) hBeamHaloSummary_BXN ->
Fill( 3, BXN );
756 if(Dump) *
out << std::setw(15) <<
"EcalLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15) << TheEventNumber << std::endl;
760 hBeamHaloSummary_Id ->Fill(4);
761 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 4, BXN );
765 hBeamHaloSummary_Id ->Fill(5);
766 if(!StandardDQM) hBeamHaloSummary_BXN ->
Fill( 5, BXN );
767 if(Dump) *
out << std::setw(15) <<
"HcalLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15) << TheEventNumber << std::endl;
771 hBeamHaloSummary_Id ->Fill(6);
772 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 6, BXN );
776 hBeamHaloSummary_Id ->Fill(7);
777 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 7, BXN );
778 if(Dump) *
out << std::setw(15) <<
"GlobalLoose" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15) << TheEventNumber << std::endl;
782 hBeamHaloSummary_Id ->Fill(8);
783 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 8, BXN );
787 hBeamHaloSummary_Id ->Fill(9);
788 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 9, BXN );
792 hBeamHaloSummary_Id ->Fill(10);
793 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 10, BXN );
797 hBeamHaloSummary_Id ->Fill(11);
798 if(!StandardDQM)hBeamHaloSummary_BXN ->
Fill( 11, BXN );
805 const CaloMET *calomet = &(calometcol->front());
807 if( calomet->
pt() > DumpMET )
808 if(Dump) *
out << std::setw(15) <<
"HighMET" << std::setw(15) << Run << std::setw(15) << Lumi << std::setw(15) << TheEventNumber << std::endl;
811 if( calomet->
pt() > 15.0 )
813 if( TheHaloOrigin > 0 )
815 if( CSCTrackPlus && CSCTrackMinus )
816 hExtra_CSCActivityWithMET->Fill(1,1);
817 else if( CSCTrackPlus && CSCSegmentMinus)
818 hExtra_CSCActivityWithMET->Fill(1,2);
819 else if( CSCTrackPlus && CSCRecHitMinus )
820 hExtra_CSCActivityWithMET->Fill(1,3);
821 else if( CSCTrackPlus )
822 hExtra_CSCActivityWithMET->Fill(1,4);
823 else if( CSCSegmentPlus && CSCTrackMinus )
824 hExtra_CSCActivityWithMET->Fill(2,1);
825 else if( CSCSegmentPlus && CSCSegmentMinus )
826 hExtra_CSCActivityWithMET->
Fill(2,2);
827 else if( CSCSegmentPlus && CSCRecHitMinus )
828 hExtra_CSCActivityWithMET->
Fill(2,3);
829 else if( CSCSegmentPlus )
830 hExtra_CSCActivityWithMET->Fill(2,4 );
831 else if( CSCRecHitPlus && CSCTrackMinus )
832 hExtra_CSCActivityWithMET->Fill(3,1);
833 else if( CSCRecHitPlus && CSCSegmentMinus )
834 hExtra_CSCActivityWithMET->Fill(3,2);
835 else if( CSCRecHitPlus && CSCRecHitMinus )
836 hExtra_CSCActivityWithMET->Fill(3,3);
837 else if( CSCRecHitPlus )
838 hExtra_CSCActivityWithMET->Fill(3,4);
840 hExtra_CSCActivityWithMET->Fill(4,4);
842 else if( TheHaloOrigin < 0 )
844 if( CSCTrackMinus && CSCTrackPlus )
845 hExtra_CSCActivityWithMET->Fill(1,1);
846 else if( CSCTrackMinus && CSCSegmentPlus)
847 hExtra_CSCActivityWithMET->Fill(1,2);
848 else if( CSCTrackMinus && CSCRecHitPlus )
849 hExtra_CSCActivityWithMET->Fill(1,3);
850 else if( CSCTrackMinus )
851 hExtra_CSCActivityWithMET->Fill(1,4);
852 else if( CSCSegmentMinus && CSCTrackPlus)
853 hExtra_CSCActivityWithMET->Fill(2,1);
854 else if( CSCSegmentMinus && CSCSegmentPlus )
855 hExtra_CSCActivityWithMET->Fill(2,2 );
856 else if( CSCSegmentMinus && CSCRecHitPlus )
857 hExtra_CSCActivityWithMET->Fill(2,3);
858 else if( CSCSegmentMinus )
859 hExtra_CSCActivityWithMET->Fill(2,4);
860 else if( CSCRecHitMinus && CSCTrackPlus )
861 hExtra_CSCActivityWithMET->Fill(3,1 );
862 else if( CSCRecHitMinus && CSCSegmentPlus )
863 hExtra_CSCActivityWithMET->Fill(3,2 );
864 else if( CSCRecHitMinus && CSCRecHitPlus )
865 hExtra_CSCActivityWithMET->Fill(3,3);
866 else if( CSCRecHitMinus )
867 hExtra_CSCActivityWithMET->Fill(3,4);
868 else hExtra_CSCActivityWithMET->Fill(4,4);
short int NOutOfTimeTriggers(HaloData::Endcap z=HaloData::both) const
GlobalPoint toGlobal(const Point2DBase< Scalar, LocalTag > lp) const
const bool EcalTightHaloId() const
T getParameter(std::string const &) const
EventNumber_t event() const
int NumberOfHaloTracks(HaloData::Endcap z=HaloData::both) const
edm::ValueMap< float > & GetShowerShapesRoundness()
const bool HcalTightHaloId() const
const bool GlobalLooseHaloId() const
const std::vector< PhiWedge > & GetPhiWedges() const
edm::RefVector< reco::SuperClusterCollection > & GetSuperClusters()
const bool LooseId() const
edm::ValueMap< float > & GetShowerShapesAngle()
bool CSCHaloHLTAccept() const
short int NTracksSmallBetaAndSmalldT() const
Geom::Phi< T > phi() const
std::vector< EcalRecHit >::const_iterator const_iterator
bool exists(std::string const ¶meterName) const
checks if a parameter exists
int bunchCrossing() const
edm::LuminosityBlockNumber_t luminosityBlock() const
short int NumberOfOutOfTimeTriggers(HaloData::Endcap z=HaloData::both) const
const bool TightId() const
const bool GlobalTightHaloId() const
std::vector< PhiWedge > & GetMatchedEcalPhiWedges()
short int NFlatHaloSegments() const
bool GetSegmentsInBothEndcaps() const
virtual void beginRun(const edm::Run &, const edm::EventSetup &iSetup)
const bool HcalLooseHaloId() const
const bool CSCTightHaloId() const
int Phi_To_iPhi(float phi)
C::const_iterator const_iterator
constant access iterator type
short int NTracksSmallBeta() const
short int NTracksSmalldT() const
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
const std::vector< GlobalPoint > & GetCSCTrackImpactPositions() const
short int NOutOfTimeHits() const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
int NumberOfHaloTriggers(HaloData::Endcap z=HaloData::both) const
reco::CaloMET GetCorrectedCaloMET(const reco::CaloMET &RawMET) const
int iphi() const
get the cell iphi
virtual double pt() const
transverse momentum
T const * product() const
const bool CSCLooseHaloId() const
const BoundPlane & surface() const
The nominal surface of the GeomDet.
std::vector< PhiWedge > & GetMatchedHcalPhiWedges()
size_type size() const
Size of the RefVector.
const std::vector< PhiWedge > & GetPhiWedges() const
virtual void analyze(const edm::Event &, const edm::EventSetup &)
BeamHaloAnalyzer(const edm::ParameterSet &)
const bool EcalLooseHaloId() const
edm::RefVector< reco::TrackCollection > & GetTracks()
T angle(T x1, T y1, T z1, T x2, T y2, T z2)