#ifndef _PLUG_SPIKE_HH_ #define _PLUG_SPIKE_HH_ ////////////////////////////////////////////////////////////////////////// // // Function: plugSpike // Purpose: Find isolated energy "spikes" in the plug. Returns true for // valid plug towers // ////////////////////////////////////////////////////////////////////////// #include "CalorObjects/CalData.hh" #include "CalorObjects/CalTower.hh" // namespace calor { bool plugSpike(CalData_ch _calData, const int teta, // TOWE eta const int tphi, // TOWE phi const int iTile, // Tile # in WHA overlap region Detector iDet, // PPR,PEM,PHA (CalConstants) float& eTwr, // Energy (Gev) of tower float& eSum, // around tower int& nTowers); // No. towers in eSum // } #endif // _PLUG_SPIKE_HH_