BPHFitSelect

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_BPHFitSelect_h
#define HeavyFlavorAnalysis_RecoDecay_BPHFitSelect_h
/** \class BPHFitSelect
 *
 *  Description: 
 *     Base class for candidate selection at kinematic fit level
 *
 *  \author Paolo Ronchese INFN Padova
 *
 */

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

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

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

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

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

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

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

  using AcceptArg = BPHKinematicFit;

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

#endif