File indexing completed on 2025-01-18 10:10:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT7_REveSecondarySelectable
0013 #define ROOT7_REveSecondarySelectable
0014
0015 #include "Rtypes.h"
0016
0017 #include <set>
0018
0019
0020
0021 namespace ROOT {
0022 namespace Experimental {
0023
0024 class REveSecondarySelectable
0025 {
0026 private:
0027 REveSecondarySelectable(const REveSecondarySelectable &) = delete;
0028 REveSecondarySelectable &operator=(const REveSecondarySelectable &) = delete;
0029
0030 public:
0031 typedef std::set<Int_t> SelectionSet_t;
0032
0033 protected:
0034 Bool_t fAlwaysSecSelect{kFALSE};
0035
0036 SelectionSet_t fSelectedSet;
0037 SelectionSet_t fHighlightedSet;
0038
0039
0040
0041
0042 public:
0043 REveSecondarySelectable() = default;
0044 virtual ~REveSecondarySelectable() {}
0045
0046 Bool_t GetAlwaysSecSelect() const { return fAlwaysSecSelect; }
0047 void SetAlwaysSecSelect(Bool_t f) { fAlwaysSecSelect = f; }
0048
0049 SelectionSet_t &RefSelectedSet() { return fSelectedSet; }
0050 SelectionSet_t &RefHighlightedSet() { return fHighlightedSet; }
0051
0052
0053
0054 };
0055
0056 }
0057 }
0058
0059 #endif