LOGO

RestFrames  v1.0.1
RestFrames HEP Event Analysis Software Library
MinMassesCombJigsaw.hh
Go to the documentation of this file.
1 // RestFrames: particle physics event analysis library
3 // --------------------------------------------------------------------
4 // Copyright (c) 2014-2016, Christopher Rogan
14 // This file is part of RestFrames.
15 //
16 // RestFrames is free software; you can redistribute it and/or modify
17 // it under the terms of the GNU General Public License as published by
18 // the Free Software Foundation; either version 2 of the License, or
19 // (at your option) any later version.
20 //
21 // RestFrames is distributed in the hope that it will be useful,
22 // but WITHOUT ANY WARRANTY; without even the implied warranty of
23 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 // GNU General Public License for more details.
25 //
26 // You should have received a copy of the GNU General Public License
27 // along with RestFrames. If not, see <http://www.gnu.org/licenses/>.
29 
30 #ifndef MinMassesCombJigsaw_HH
31 #define MinMassesCombJigsaw_HH
32 
34 
35 namespace RestFrames {
36 
38  // MinMassesCombJigsaw class
41  public:
42 
47  MinMassesCombJigsaw(const std::string& sname, const std::string& stitle);
48 
51  virtual ~MinMassesCombJigsaw();
52 
56  virtual std::string GetLabel() const { return "Minimize Masses"; }
57 
62  virtual void AddFrame(const RestFrame& frame, int i = 0);
63 
68  virtual void AddFrames(const ConstRestFrameList& frames, int i = 0);
69 
73  static MinMassesCombJigsaw& Empty();
74 
75  protected:
76  virtual bool EvaluateMetric(double& metric) const;
77  virtual bool AnalyzeEvent();
78 
79  private:
80  static MinMassesCombJigsaw m_Empty;
81 
82  };
83 
84 }
85 
86 #endif
CombinatoricJigsaw.hh
RestFrames::RestFrame
abstract base class for all Frame objects
Definition: RestFrame.hh:45
RestFrames::RFList
Definition: RFList.hh:205
RestFrames::MinMassesCombJigsaw
Definition: MinMassesCombJigsaw.hh:40
RestFrames::MinMassesCombJigsaw::MinMassesCombJigsaw
MinMassesCombJigsaw()
Empty constructor.
Definition: MinMassesCombJigsaw.cc:42
RestFrames::CombinatoricJigsaw
Definition: CombinatoricJigsaw.hh:40
RestFrames::MinMassesCombJigsaw::Empty
static MinMassesCombJigsaw & Empty()
Returns empty MinMassesCombJigsaw.
Definition: MinMassesCombJigsaw.cc:46
RestFrames::MinMassesCombJigsaw::AddFrame
virtual void AddFrame(const RestFrame &frame, int i=0)
Adds frame to current jigsaw.
Definition: MinMassesCombJigsaw.cc:50
RestFrames::MinMassesCombJigsaw::AddFrames
virtual void AddFrames(const ConstRestFrameList &frames, int i=0)
Adds a list of frames to current jigsaw.
Definition: MinMassesCombJigsaw.cc:65
RestFrames::MinMassesCombJigsaw::GetLabel
virtual std::string GetLabel() const
Returns name of this Jigsaw.
Definition: MinMassesCombJigsaw.hh:56