00001 // this file is -*- C++ -*- 00020 #ifndef JETREC_JETCALOQUALITYTOOL_H 00021 #define JETREC_JETCALOQUALITYTOOL_H 00022 00023 #include "JetRec/JetModifierBase.h" 00024 00025 #include "JetUtils/JetCaloCalculations.h" 00026 00027 #include <vector> 00028 #include <string> 00029 00030 00031 class JetCaloQualityTool: public JetModifierBase { 00032 ASG_TOOL_CLASS0(JetCaloQualityTool) 00033 00034 public: 00035 JetCaloQualityTool(const std::string & name); 00036 00037 virtual int modifyJet(xAOD::Jet& ) const ; 00038 00039 virtual StatusCode initialize(); 00040 00041 protected: 00043 std::vector<std::string> m_calculationNames; 00044 00046 std::vector <double> m_timingTimeCuts; 00047 00049 jet::JetCaloCalculations m_jetCalculations; 00050 00051 // internal pointer to m_jetCalculations (this pointer is also used in the cell-based derived tool) 00052 jet::JetCaloCalculations * m_calcProcessor; 00053 00054 00055 bool m_doFracSamplingMax; // internal 00056 }; 00057 #endif 00058