4 #ifndef PIXEL_GEO_UTILS_H
5 #define PIXEL_GEO_UTILS_H
11 #define MSG_HELPER(LEVEL,body) if (this->msgLvl(LEVEL)) { this->msg(LEVEL) << body << endmsg;} do {} while (0)
12 #define GEO_MSG_DEBUG(body) MSG_HELPER(MSG::DEBUG,body)
13 #define GEO_MSG_INFO(body) MSG_HELPER(MSG::INFO,body)
14 #define GEO_MSG_WARNING(body) MSG_HELPER(MSG::WARNING,body)
15 #define GEO_MSG_ERROR(body) MSG_HELPER(MSG::ERROR,body)
31 const std::array<int,kNDirections> &circuits,
32 const std::array<int,kNDirections> &dimPerCircuit,
36 template <
class T_MsgParent>
45 template <
class T_MsgParent>
48 const std::array<int,kNDirections> &circuits,
49 const std::array<int,kNDirections> &dimPerCircuit,
53 auto ret=maker.
make( readoutTechnology, circuits, dimPerCircuit, pitch);