BPHMomentumSelect

Macros

Line Code
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
#ifndef HeavyFlavorAnalysis_RecoDecay_BPHMomentumSelect_h
#define HeavyFlavorAnalysis_RecoDecay_BPHMomentumSelect_h
/** \class BPHMomentumSelect
 *
 *  Description: 
 *     Base class for candidate selection at momentum sum level
 *
 *  \author Paolo Ronchese INFN Padova
 *
 */

//----------------------
// Base Class Headers --
//----------------------

//------------------------------------
// Collaborating Class Declarations --
//------------------------------------
class BPHDecayMomentum;
class BPHRecoBuilder;

//---------------
// C++ Headers --
//---------------

//              ---------------------
//              -- Class Interface --
//              ---------------------

class BPHMomentumSelect {
public:
  /** Constructor
   */
  BPHMomentumSelect() {}

  // deleted copy constructor and assignment operator
  BPHMomentumSelect(const BPHMomentumSelect& x) = delete;
  BPHMomentumSelect& operator=(const BPHMomentumSelect& x) = delete;

  /** Destructor
   */
  virtual ~BPHMomentumSelect() = default;

  using AcceptArg = BPHDecayMomentum;

  /** Operations
   */
  /// accept function
  virtual bool accept(const BPHDecayMomentum& cand) const = 0;
  virtual bool accept(const BPHDecayMomentum& cand, const BPHRecoBuilder* builder) const { return accept(cand); }
};

#endif