#include "events.h" #include #include #include #include #include using namespace std; void events::Loop(){ if (fChain == 0) return; // Hint 1: Here's a good spot to declare the histogram for (Long64_t jentry=0; jentrySetBranchAddress("event_number", &event_number, &b_event_number); fChain->SetBranchAddress("Z_mass", &Z_mass, &b_Z_mass); fChain->SetBranchAddress("Z_pt", &Z_pt, &b_Z_pt); fChain->SetBranchAddress("Z_eta", &Z_eta, &b_Z_eta); fChain->SetBranchAddress("Z_phi", &Z_phi, &b_Z_phi); fChain->SetBranchAddress("mu1_pt", &mu1_pt, &b_mu1_pt); fChain->SetBranchAddress("mu1_eta", &mu1_eta, &b_mu1_eta); fChain->SetBranchAddress("mu1_phi", &mu1_phi, &b_mu1_phi); fChain->SetBranchAddress("mu1_mass", &mu1_mass, &b_mu1_mass); fChain->SetBranchAddress("mu1_charge", &mu1_charge, &b_mu1_charge); fChain->SetBranchAddress("mu2_pt", &mu2_pt, &b_mu2_pt); fChain->SetBranchAddress("mu2_eta", &mu2_eta, &b_mu2_eta); fChain->SetBranchAddress("mu2_phi", &mu2_phi, &b_mu2_phi); } Bool_t events::Notify(){ } void events::Show(Long64_t entry){ }