File indexing completed on 2024-04-06 12:15:33
0001 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHVertexSelect_h
0002 #define HeavyFlavorAnalysis_RecoDecay_BPHVertexSelect_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 class BPHDecayVertex;
0020 class BPHRecoBuilder;
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030 class BPHVertexSelect {
0031 public:
0032
0033
0034 BPHVertexSelect() {}
0035
0036
0037 BPHVertexSelect(const BPHVertexSelect& x) = delete;
0038 BPHVertexSelect& operator=(const BPHVertexSelect& x) = delete;
0039
0040
0041
0042 virtual ~BPHVertexSelect() = default;
0043
0044 using AcceptArg = BPHDecayVertex;
0045
0046
0047
0048
0049 virtual bool accept(const BPHDecayVertex& cand) const = 0;
0050 virtual bool accept(const BPHDecayVertex& cand, const BPHRecoBuilder* builder) const { return accept(cand); }
0051 };
0052
0053 #endif