// $Id$ // // File: topology.h // Created: Wed Dec 2 12:41:23 EST 2009 // Creator: davidl // #ifndef _topology_ #define _topology_ #include #include class topology:public TObject{ public: int eventnumber; float Ebeam; float elas; float theta; float theta_cm; int Npi0; int Npip; int Npim; int Neta; int Nproton; int Nneutron; int Ngamma; int Nrho; int Nomega; int Neta_prime; int Nf0; int Na0; int Nphi; int Nb1; int Na2; int Npi0_from_eta; int Npip_from_eta; int Npim_from_eta; int Ngamma_from_eta; int Nsiblings; int Npi0_siblings; int Npip_siblings; int Npim_siblings; int Ngamma_siblings; int eta_parentid; float Ediff_eta_p; float Ediff_eta_p_pi0; float Ediff_eta_n_pip; float Ediff_eta_p_gamma; int Ngamma_veto; int Ncharged_veto; float minus_t; float sqrt_s; void Reset(int eventnumber){ this->eventnumber = eventnumber; elas = -1.0; theta = -1.0; theta_cm = -100.0; Npi0 = 0; Npip = 0; Npim = 0; Neta = 0; Nproton = 0; Nneutron = 0; Ngamma = 0; Nrho = 0; Nomega = 0; Neta_prime = 0; Nf0 = 0; Na0 = 0; Nphi = 0; Nb1 = 0; Na2 = 0; Npi0_from_eta = 0; Npip_from_eta = 0; Npim_from_eta = 0; Ngamma_from_eta = 0; Nsiblings = 0; Npi0_siblings = 0; Npip_siblings = 0; Npim_siblings = 0; Ngamma_siblings = 0; eta_parentid = -1; Ediff_eta_p = 1000000.0; Ediff_eta_p_pi0 = 1000000.0; Ediff_eta_n_pip = 1000000.0; Ediff_eta_p_gamma = 1000000.0; Ngamma_veto = 0; Ncharged_veto = 0; minus_t = 1000000.0; sqrt_s = 0.0; } private: ClassDef(topology,1); }; #endif // _topology_