00001 #ifndef xAODTrigMinBiasHelperFunc_H 00002 #define xAODTrigMinBiasHelperFunc_H 00003 00004 #include <vector> 00005 00006 namespace xAOD { 00007 namespace TrigHistoCutType { 00008 enum CutTypeEnum { 00009 BELOW_X, 00010 ABOVE_X, 00011 BELOW_X_BELOW_Y, 00012 ABOVE_X_BELOW_Y, 00013 BELOW_X_ABOVE_Y, 00014 ABOVE_X_ABOVE_Y}; 00015 } 00016 double sumEntries(const std::vector<float> &cont, 00017 unsigned int nbins_x, 00018 float min_x, 00019 float max_x, 00020 unsigned int nbins_y, 00021 float min_y, 00022 float max_y, 00023 float value_x, 00024 float value_y, 00025 int cutType); 00026 } 00027 #endif