#ifndef ANP_CORRECTCALOISO_H #define ANP_CORRECTCALOISO_H /////////////////////////////////////////////////// // To get the corrected relative Isolation call: // CorrectEtCone30Rel(pt, isoCone30Rel, nvtx, eta) // - Author: Doug Schaefer //////////////////////////////////////////////////// class CorrectCaloIso { public: CorrectCaloIso(); ~CorrectCaloIso(); void ConfigStrawmanIso(); unsigned GetEtaBin(const float &eta) const; // // Returns the fully corrected isolation // float CorrectEtCone30Rel (const float &pt, const float &isoCone30Rel, const float &nvtx, const float &eta); // // These functions return the etcone energy correction to the nominal etcone // etconecor30 = etcone30 - GetCorrectionEtCone30(nvtx); // float GetCorrectionEtCone30 (const unsigned &nvtx,const float &eta); // // Function to compute the isolation correction // float CaloCor(const unsigned &nvtx,const float &slope, const float &constant); private: // // Declare Vars // bool fDebug; float fSlope[24]; float fConstant[24]; }; #endif