33 if ( !
monTool() )
throw std::runtime_error(
"Tier0::initialize() monTool not found" );
211 if ( collections.roiIndex()==0 )
m_hchain->Fill( 1.5, 1 );
214 const std::vector<const TrackView*>& refTracks = collections.reference_tracks();
215 const std::vector<const TrackView*>& testTracks = collections.test_tracks();
231 lumiblock = collections.eventInfo()->lumiBlock();
232 mu = collections.eventInfo()->averageInteractionsPerCrossing();
237 m_hntrk->Fill( refTracks.size() );
242 m_hchain->Fill( 4.5, testTracks.size() );
250 std::cerr <<
"Tier0::execute() no matcher available - should never happen" << std::endl;
262 double referencePT =
reference->pt()*0.001;
274 float eff_weight = 0;
275 if (test) eff_weight = 1;
279 m_hpTeff->Fill( std::fabs(referencePT), eff_weight );
280 m_hz0eff->Fill( referenceZ0, eff_weight );
281 m_hd0eff->Fill( referenceD0, eff_weight );
282 m_hetaeff->Fill( referenceEta, eff_weight );
283 m_hphieff->Fill( referencePhi, eff_weight );
287 m_hlbeff->Fill( lumiblock, eff_weight );
292 m_htrkpT->Fill( std::fabs(referencePT) );
303 if ( referenceDD0 )
m_htrkd0sig->Fill( referenceD0/referenceDD0 );
362 m_hpTres->Fill( referenceEta, (test->pt()*0.001 - referencePT) );
363 m_hipTres->Fill( referenceEta, (1000/test->pt() - 1/referencePT) );
364 m_hetares->Fill( referenceEta, test->eta() - referenceEta );
366 m_hphires->Fill( referenceEta, test->phi() - referencePhi );
367 m_hd0res->Fill( referenceEta, test->d0() - referenceD0 );
368 m_hz0res->Fill( referenceEta, test->z0() - referenceZ0 );
375 if (tevt && beamline) {
381 for (
size_t ilayer=0 ; ilayer<32 ; ilayer++ ) {
382 if ( test->hitPattern()&(1U<<ilayer) )
m_hlayer_rec->Fill( ilayer );
450 if ( test->ndof()!=0 )
m_chi2dof_rec->Fill( test->chi2()/test->ndof() );
ToolHandle< GenericMonitoringTool > * monTool()
mon tool
IPlotBase(const std::string &name, ToolHandle< GenericMonitoringTool > *m=0)
built from dirName and anaTag
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
Tier0(const std::string &name, ToolHandle< GenericMonitoringTool > *m=0)
TIDA::Histogram< float > m_hd0vsphi_rec
TIDA::Histogram< float > m_hroieta
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
virtual void initialize()
Book the histograms.
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_hnVtxeff
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
virtual void finalize()
Finalize resolution and bias histograms should be called from the calling montools stop() method.
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
virtual void execute(const TrackAnalysisStore &collections) const
this can be over ridden if need be
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_hlayer
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
const std::string & name() const
TIDA::Histogram< float > m_hnsctvseta
TIDA::Histogram< float > m_htrkz0
forward declaration required for function prototype
EventInfo_v1 EventInfo
Definition of the latest event info version.