File indexing completed on 2025-08-03 08:16:55
0001 #ifndef PHOOL_PHOOL_H
0002 #define PHOOL_PHOOL_H
0003
0004
0005
0006
0007 #include <iostream>
0008
0009 enum PHAccessType
0010 {
0011 PHReadOnly,
0012 PHWrite,
0013 PHUpdate
0014 };
0015 enum PHTreeType
0016 {
0017 PHEventTree,
0018 PHRunTree
0019 };
0020
0021
0022
0023 #define PHWHERE __FILE__ << ":" << __LINE__ << ": "
0024
0025 #define PHOOL_VIRTUAL_WARNING \
0026 do \
0027 { \
0028 std::cout << PHWHERE << "using virtual function, doing nothing" << std::endl; \
0029 } while (0)
0030
0031 #define PHOOL_VIRTUAL_WARN(x) \
0032 do \
0033 { \
0034 std::cout << PHWHERE << "using virtual function " << x << " doing nothing" << std::endl; \
0035 } while (0)
0036
0037 #endif