--- UserCode/IPHCalignment2/analysis/TreeProducer.cpp 2011/12/01 13:46:25 1.2 +++ UserCode/IPHCalignment2/analysis/TreeProducer.cpp 2011/12/07 18:31:52 1.4 @@ -92,6 +92,23 @@ void TreeProducer::Init(TTree *tree) fChain->SetBranchAddress("d0_BS", &d0_BS, &b_d0_BS); fChain->SetBranchAddress("d0_PV", &d0_PV, &b_d0_PV); + //Alessio Plots + fChain->SetBranchAddress("QoverPGen", QoverPGen, &b_QoverPGen ); + fChain->SetBranchAddress("lambdaGen", lambdaGen, &b_lambdaGen ); + fChain->SetBranchAddress("dxyGen", dxyGen, &b_dxyGen ); + fChain->SetBranchAddress("dszGen", dszGen, &b_dszGen ); + fChain->SetBranchAddress("dxy0Gen", dxy0Gen, &b_dxy0Gen ); + fChain->SetBranchAddress("dsz0Gen", dsz0Gen, &b_dsz0Gen ); + + fChain->SetBranchAddress("QoverP", QoverP, &b_QoverP ); + fChain->SetBranchAddress("lambda", lambda, &b_lambda ); + fChain->SetBranchAddress("dxy", dxy, &b_dxy + fChain->SetBranchAddress("dsz", dsz, &b_dsz ); + fChain->SetBranchAddress("dxy0", dxy0, &b_dxy0 ); + fChain->SetBranchAddress("dsz0", dsz0, &b_dsz0 ); + //------------- + + fChain->SetBranchAddress("BS_X", &BS_X, &b_BS_X); fChain->SetBranchAddress("BS_Y", &BS_Y, &b_BS_Y); fChain->SetBranchAddress("BS_Z", &BS_Z, &b_BS_Z); @@ -132,6 +149,9 @@ void TreeProducer::Init(TTree *tree) fChain->SetBranchAddress("expectedZGlobalPositionError", &expectedZGlobalPositionError, &b_expectedZGlobalPositionError); fChain->SetBranchAddress("RunNumber", &RunNumber, &b_RunNumber); fChain->SetBranchAddress("EventNumber", &EventNumber, &b_EventNumber); + fChain->SetBranchAddress("vxtConverged", &vtxConverged, &b_vtxConverged); + fChain->SetBranchAddress("momConverged", &momConverged, &b_momConverged); + fChain->SetBranchAddress("fullConverged", &fullConverged, &b_fullConverged); Notify(); }