1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
#ifndef HeavyFlavorAnalysis_RecoDecay_BPHRecoSelect_h
#define HeavyFlavorAnalysis_RecoDecay_BPHRecoSelect_h
/** \class BPHRecoSelect
*
* Description:
* Base class for daughter particle selection
*
* \author Paolo Ronchese INFN Padova
*
*/
//----------------------
// Base Class Headers --
//----------------------
#include "HeavyFlavorAnalysis/RecoDecay/interface/BPHRecoBuilder.h"
//------------------------------------
// Collaborating Class Declarations --
//------------------------------------
namespace reco {
class Candidate;
}
//---------------
// C++ Headers --
//---------------
#include <string>
#include <map>
// ---------------------
// -- Class Interface --
// ---------------------
class BPHRecoSelect {
public:
/** Constructor
*/
BPHRecoSelect() {}
// deleted copy constructor and assignment operator
BPHRecoSelect(const BPHRecoSelect& x) = delete;
BPHRecoSelect& operator=(const BPHRecoSelect& x) = delete;
/** Destructor
*/
virtual ~BPHRecoSelect() = default;
using AcceptArg = reco::Candidate;
/** Operations
*/
/// accept function
/// pointers to other particles in the decays can be obtained
/// by the function "get" giving the particle name (passing the pointer
/// to the builder)
virtual bool accept(const reco::Candidate& cand) const = 0;
virtual bool accept(const reco::Candidate& cand, const BPHRecoBuilder* builder) const { return accept(cand); }
};
#endif
|