Warning, file /include/root/TSelectorEntries.h was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef ROOT__TSelectorEntries
0013 #define ROOT__TSelectorEntries
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029 #include <TSelector.h>
0030
0031 class TTree;
0032 class TTreeFormula;
0033
0034 class TSelectorEntries : public TSelector {
0035 bool fOwnInput;
0036 public :
0037 TTree *fChain;
0038 TTreeFormula *fSelect;
0039 Long64_t fSelectedRows;
0040 bool fSelectMultiple;
0041
0042 TSelectorEntries(TTree *tree = nullptr, const char *selection = nullptr);
0043 TSelectorEntries(const char *selection);
0044 ~TSelectorEntries() override;
0045 Int_t Version() const override { return 2; }
0046 void Begin(TTree *tree) override;
0047 void SlaveBegin(TTree *tree) override;
0048 void Init(TTree *tree) override;
0049 bool Notify() override;
0050 bool Process(Long64_t entry) override;
0051 Int_t GetEntry(Long64_t entry, Int_t getall = 0) override;
0052 virtual Long64_t GetSelectedRows() const { return fSelectedRows; }
0053 void SetOption(const char *option) override { fOption = option; }
0054 void SetObject(TObject *obj) override { fObject = obj; }
0055 virtual void SetSelection(const char *selection);
0056 TList *GetOutputList() const override { return fOutput; }
0057 void SlaveTerminate() override;
0058 void Terminate() override;
0059
0060 ClassDefOverride(TSelectorEntries,1);
0061 };
0062
0063 #endif
0064