diff --git a/StPicoDstMaker/StPicoDstMaker.h b/StPicoDstMaker/StPicoDstMaker.h index 76ed9e4..36a4296 100644 --- a/StPicoDstMaker/StPicoDstMaker.h +++ b/StPicoDstMaker/StPicoDstMaker.h @@ -29,7 +29,21 @@ class StPicoDstMaker : public StMaker { public: enum PicoIoMode {IoWrite=1, IoRead=2}; - enum PicoVtxMode {NotSet=0, Default=1, Vpd=2, VpdOrDefault=3}; + + /// Various selection criteria for picking a vertex from the list of available + /// vertices in muDst. If requested vertex not found the event is skipped + enum PicoVtxMode + { + /// Default "unspecified" mode to force user pick one of the modes below + NotSet = 0, + /// Select the first vertex in the muDst vertex collection + Default = 1, + /// Select first available vertex within a window around the VPD one + Vpd = 2, + /// If a vertex matching the VPD one is not found pick the first one from + /// the muDst collection + VpdOrDefault = 3 + }; StPicoDstMaker(char const* name = "PicoDst"); StPicoDstMaker(PicoIoMode ioMode, char const* fileName = "", char const* name = "PicoDst");