not used yet, but it will be ...
these two variables aren't used yet but will be soon ...
no matcher found ...
m_hnVtxeff->Fill( m_nVtx, eff_weight ); /// don't use the class variable as this is not thread safe
we should create a hit pattern here ...
202 {
203
205
207
208
210
211 if ( collections.roiIndex()==0 )
m_hchain->Fill( 1.5, 1 );
212
213
214 const std::vector<const TrackView*>& refTracks = collections.reference_tracks();
215 const std::vector<const TrackView*>& testTracks = collections.test_tracks();
216
218
221
222
223
226
227 if (eventinfo) {
229
230
231 lumiblock = collections.eventInfo()->lumiBlock();
232 mu = collections.eventInfo()->averageInteractionsPerCrossing();
233 }
234
236
237 m_hntrk->Fill( refTracks.size() );
238
240
242 m_hchain->Fill( 4.5, testTracks.size() );
243
244
245
246 const TIDA::Associator<const TrackView>*
matcher = collections.matcher();
247
249 if ( matcher==0 ) {
250 std::cerr << "Tier0::execute() no matcher available - should never happen" << std::endl;
251 return;
252 }
253
254 int itrack = 0;
255
256 for ( const TrackView* reference : refTracks) {
257
258 if ( !reference ) continue;
259
260 itrack++;
261
264
265
266 double referencePT =
reference->pt()*0.001;
271
274
275
276
277
278 const TrackView*
test =
matcher->matched(reference);
279
280
281
282 float eff_weight = 0;
283 if (test) eff_weight = 1;
284
285
286
288
289 m_hpTeff->Fill( std::fabs(referencePT), eff_weight );
290 m_hz0eff->Fill( referenceZ0, eff_weight );
291 m_hd0eff->Fill( referenceD0, eff_weight );
292 m_hetaeff->Fill( referenceEta, eff_weight );
293 m_hphieff->Fill( referencePhi, eff_weight );
295
296
297 m_hlbeff->Fill( lumiblock, eff_weight );
298
299
300
301
302 m_htrkpT->Fill( std::fabs(referencePT) );
307
310
311
312
313 if ( referenceDD0 )
m_htrkd0sig->Fill( referenceD0/referenceDD0 );
314
318
319
321
322
323
324
325
326
329
332
335
336
337
338
341
342
346
348
350
351
352
353
355
356 if (test) {
357
359
362
364
365
366
367
368
369
370
372 m_hpTres->Fill( referenceEta, (
test->pt()*0.001 - referencePT) );
373 m_hipTres->Fill( referenceEta, (1000/
test->pt() - 1/referencePT) );
375
377 m_hd0res->Fill( referenceEta,
test->d0() - referenceD0 );
378 m_hz0res->Fill( referenceEta,
test->z0() - referenceZ0 );
379
380
381
382
383
384#if 0
385 if (tevt && beamline) {
389 }
390
391 for ( size_t ilayer=0 ; ilayer<32 ; ilayer++ ) {
393 }
394#endif
395
396
397
398#if 0
405
406#endif
407
414
417
419
420
426
429
432
435
438
441
444
448
449#if 0
451#endif
452
454
457
459
461
462 }
463
464 }
465
466}
TIDA::Histogram< float > m_hnsctvseta_rec
TIDA::Histogram< float > m_hnpixvsphi
TIDA::Histogram< float > m_hnpixvsd0_rec
TIDA::Histogram< float > m_hz0eff
TIDA::Histogram< float > m_htrkphi_rec
TIDA::Histogram< float > m_htrkvtx_x_lb
TIDA::Histogram< float > m_hipTres
TIDA::Histogram< float > m_hnpixvsd0
TIDA::Histogram< float > m_htrkipT_residual
TIDA::Histogram< float > m_hd0vsphi_rec
TIDA::Histogram< float > m_htrkphi_residual
TIDA::Histogram< float > m_htrkvtx_z_lb
TIDA::Histogram< float > m_htrkpT_rec
TIDA::Histogram< float > m_hntrt_rec
TIDA::Histogram< float > m_hpTres
TIDA::Histogram< float > m_htrketa_rec
TIDA::Histogram< float > m_hetaeff
TIDA::Histogram< float > m_hnsihits_rec
TIDA::Histogram< float > m_hnsctvspT_rec
TIDA::Histogram< float > m_htrkdz0_rec
TIDA::Histogram< float > m_hd0vsphi
TIDA::Histogram< float > m_hpTeff
TIDA::Histogram< float > m_hnsctvsd0_rec
TIDA::Histogram< float > m_htrkpT_residual
TIDA::Histogram< float > m_hetares
TIDA::Histogram< float > m_htrkphi
TIDA::Histogram< float > m_hnpixvsphi_rec
TIDA::Histogram< float > m_hphieff
TIDA::Histogram< float > m_hnsctvsd0
TIDA::Histogram< float > m_hntrtvsphi_rec
TIDA::Histogram< float > m_hntrk
TIDA::Histogram< float > m_hlbeff
TIDA::Histogram< float > m_htrkvtx_y_lb
TIDA::Histogram< float > m_hlayer_rec
TIDA::Histogram< float > m_hntrtvseta
TIDA::Histogram< float > m_htrkd0
TIDA::Histogram< float > m_hmu
TIDA::Histogram< float > m_htrkdz0
TIDA::Histogram< float > m_hnsctvsphi
TIDA::Histogram< float > m_hnpixvspT_rec
TIDA::Histogram< float > m_chi2dof
TIDA::Histogram< float > m_hd0res
TIDA::Histogram< float > m_hd0eff
TIDA::Histogram< float > m_hntrk_rec
TIDA::Histogram< float > m_htotal_efficiency
Monitorwd::AScalar Histogram wrapper class.
TIDA::Histogram< float > m_htrkz0_rec
TIDA::Histogram< float > m_hnsihits_lb
TIDA::Histogram< float > m_htrkdz0_residual
TIDA::Histogram< float > m_hnpix_rec
TIDA::Histogram< float > m_htrkpT
TIDA::Histogram< float > m_hnsctvsphi_rec
TIDA::Histogram< float > m_hnpix
TIDA::Histogram< float > m_htrkd0sig
TIDA::Histogram< float > m_hz0res
TIDA::Histogram< float > m_hntrtvseta_rec
TIDA::Histogram< float > m_hnsct
TIDA::Histogram< float > m_hnsihits
TIDA::Histogram< float > m_hntrt
TIDA::Histogram< float > m_hntrtvsphi
TIDA::Histogram< float > m_htrkdd0_residual
TIDA::Histogram< float > m_hchain
TIDA::Histogram< float > m_htrketa_residual
TIDA::Histogram< float > m_chi2dof_rec
TIDA::Histogram< float > m_htrkz0_residual
TIDA::Histogram< float > m_htrkd0sig_rec
TIDA::Histogram< float > m_htrkdd0
TIDA::Histogram< float > m_htrketa
TIDA::Histogram< float > m_htrkd0_rec
TIDA::Histogram< float > m_hnsihits_lb_rec
TIDA::Histogram< float > m_hnpixvseta
TIDA::Histogram< float > m_hnsctvspT
TIDA::Histogram< float > m_hnpixvspT
TIDA::Histogram< float > m_hnpixvseta_rec
TIDA::Histogram< float > m_htrkdd0_rec
TIDA::Histogram< float > m_hphires
TIDA::Histogram< float > m_hnsct_rec
TIDA::Histogram< float > m_htrkd0_residual
TIDA::Histogram< float > m_hnsctvseta
TIDA::Histogram< float > m_htrkz0
const Matcher_t & matcher() const
Return the matcher object.
EventInfo_v1 EventInfo
Definition of the latest event info version.