SFrame 3.6
|
00001 // Dear emacs, this is -*- c++ -*- 00002 // $Id: SGeneratorCut.h 120 2009-08-27 12:02:57Z krasznaa $ 00003 /*************************************************************************** 00004 * @Project: SFrame - ROOT-based analysis framework for ATLAS 00005 * @Package: Core 00006 * 00007 * @author Stefan Ask <Stefan.Ask@cern.ch> - Manchester 00008 * @author David Berge <David.Berge@cern.ch> - CERN 00009 * @author Johannes Haller <Johannes.Haller@cern.ch> - Hamburg 00010 * @author A. Krasznahorkay <Attila.Krasznahorkay@cern.ch> - CERN/Debrecen 00011 * 00012 ***************************************************************************/ 00013 00014 #ifndef SFRAME_CORE_SGeneratorCut_H 00015 #define SFRAME_CORE_SGeneratorCut_H 00016 00017 // ROOT include(s): 00018 #include "TObject.h" 00019 #include "TString.h" 00020 00030 class SGeneratorCut : public TObject { 00031 00032 public: 00034 SGeneratorCut( const TString& treename = "", const TString& formula = "" ); 00036 virtual ~SGeneratorCut(); 00037 00039 00046 const TString& GetTreeName() const { return m_tree; } 00048 00059 const TString& GetFormula() const { return m_formula; } 00060 00062 SGeneratorCut& operator= ( const SGeneratorCut& parent ); 00064 Bool_t operator== ( const SGeneratorCut& rh ) const; 00066 Bool_t operator!= ( const SGeneratorCut& rh ) const; 00067 00068 private: 00069 TString m_tree; 00070 TString m_formula; 00071 00072 #ifndef DOXYGEN_IGNORE 00073 ClassDef( SGeneratorCut, 1 ); 00074 #endif // DOXYGEN_IGNORE 00075 00076 }; // class SGeneratorCut 00077 00078 #endif // SFRAME_CORE_SGeneratorCut_H