#ifndef _FOURVECTOR_SUMMER_HH_ #define _FOURVECTOR_SUMMER_HH_ #ifdef USE_CDFEDM2 ////////////////////////////////////////////////////////////////////////// // // Component: FourVectorSummer.hh // Purpose: This class inherits from TowerSummer. Physics towers // are summed as four-vectors. // N.B. The four-vector will be massless // // Created: 20/09/99 Pierre Savard (based on Jodi Lamoureux's class) // History: // ////////////////////////////////////////////////////////////////////////// #include "Calor/TowerSummer.hh" class FourVectorSummer : public TowerSummer { public: // // Memory management // // Default constructor // FourVectorSummer(){}; // Default copy constructor and assignment operator do the right thing. // Destructor // ~FourVectorSummer(){}; // // Testing // // // Class methods // std::string summerName() const; Centroid sumTowers(const PhysicsTowerView& tower) const; HepLorentzVector sumFourVector(const PhysicsTowerView& tower) const; float dRsquared(const PhysicsTower* tower, float eta, float phi); private: std::string _summerName; }; inline std::string FourVectorSummer::summerName() const{return _summerName;} // } // namespace calor #endif // USE_CDFEDM2 #endif // _FOURVECTOR_SUMMER_HH_