#ifndef _GET_SCINT_HH_ #define _GET_SCINT_HH_ ////////////////////////////////////////////////////////////////////////// // // Function: getScintillatorEnergy // Purpose: Calculates the energy and phi of a tower based on two // the energies of two PMTs. This function should be integrated // inside TowerType - it does not belon in CalorObjects // // Created: 25/05/99 Pierre Savard (Anwar Bhatti is the author of this // function) // History: 20/02/01 P. Savard: use 3 different codes for spike killings // 0 = run1 default // 1 = run2 simple // 2 = run1 fancy // 28/09/01 B. Heinemann: added version for parameters like attenuation length etc // ////////////////////////////////////////////////////////////////////////// // namespace calor { void getScintillatorEnergy(int detector, float ecal0, float ecal1, float& ecal, float& phical, int& flag, int& killSpike, bool badpmt0, bool badpmt1, int paramVersion); // } #endif // _GET_SCINT_HH_