LOGO

RestFrames  v1.0.1
RestFrames HEP Event Analysis Software Library
DecayRecoFrame.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 DecayRecoFrame_HH
31 #define DecayRecoFrame_HH
32 
33 #include "RestFrames/DecayFrame.hh"
35 
36 namespace RestFrames {
37 
38  enum RDecayType { RDVanilla, RDSelfAssembling };
39 
41  // DecayRecoFrame class
43  class DecayRecoFrame : public DecayFrame<ReconstructionFrame> {
44  public:
45 
50  DecayRecoFrame(const std::string& sname, const std::string& stitle);
51 
54  virtual ~DecayRecoFrame();
55 
57  bool IsSelfAssemblingFrame() const;
58 
62  static DecayRecoFrame& Empty();
63 
64  protected:
65  RDecayType m_RType;
66 
67  private:
68  static DecayRecoFrame m_Empty;
69 
70  };
71 
72 }
73 
74 #endif
RestFrames::DecayRecoFrame::DecayRecoFrame
DecayRecoFrame()
Empty constructor.
Definition: DecayRecoFrame.cc:46
ReconstructionFrame.hh
RestFrames::DecayFrame
Definition: DecayFrame.hh:38
RestFrames::DecayRecoFrame::Empty
static DecayRecoFrame & Empty()
Returns empty DecayRecoFrame.
Definition: DecayRecoFrame.cc:54
RestFrames::DecayRecoFrame::IsSelfAssemblingFrame
bool IsSelfAssemblingFrame() const
Is current frame (RestFrame) a self assembling frame type? (true/false)
Definition: DecayRecoFrame.cc:50
DecayFrame.hh
RestFrames::DecayRecoFrame
Definition: DecayRecoFrame.hh:43