File indexing completed on 2024-04-06 12:15:33
0001 #ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoSelect_h
0002 #define HeavyFlavorAnalysis_RecoDecay_BPHRecoSelect_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBuilder.h"
0016
0017
0018
0019
0020 namespace reco {
0021 class Candidate;
0022 }
0023
0024
0025
0026
0027 #include <string>
0028 #include <map>
0029
0030
0031
0032
0033
0034 class BPHRecoSelect {
0035 public:
0036
0037
0038 BPHRecoSelect() {}
0039
0040
0041 BPHRecoSelect(const BPHRecoSelect& x) = delete;
0042 BPHRecoSelect& operator=(const BPHRecoSelect& x) = delete;
0043
0044
0045
0046 virtual ~BPHRecoSelect() = default;
0047
0048 using AcceptArg = reco::Candidate;
0049
0050
0051
0052
0053
0054
0055
0056 virtual bool accept(const reco::Candidate& cand) const = 0;
0057 virtual bool accept(const reco::Candidate& cand, const BPHRecoBuilder* builder) const { return accept(cand); }
0058 };
0059
0060 #endif