1 #ifndef DQMOffline_Trigger_FunctionDefs_h
2 #define DQMOffline_Trigger_FunctionDefs_h
39 template <
typename ObjType>
41 return obj.superCluster()->eta();
45 template <
typename ObjType>
52 template <
typename ObjType>
57 else if (varName ==
"pt")
59 else if (varName ==
"eta")
61 else if (varName ==
"phi")
64 varFunc = getUnaryFuncExtraFloat<ObjType>(varName);
66 if (!varFunc && !varName.empty()) {
68 <<
"var " << varName <<
" not recognised " << __FILE__ <<
"," << __LINE__ << std::endl;