SFrame 3.6
|
00001 // Dear emacs, this is -*- c++ -*- 00002 // $Id: SInputVariables.icc 155 2010-04-08 17:05:09Z krasznaa $ 00003 /*************************************************************************** 00004 * @Project: SFrame - ROOT-based analysis framework for ATLAS 00005 * @Package: Plug-ins 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_PLUGINS_SInputVariables_ICC 00015 #define SFRAME_PLUGINS_SInputVariables_ICC 00016 00017 template< class ParentType > 00018 SInputVariables< ParentType >::SInputVariables( ParentType* parent ) 00019 : m_parent( parent ) { 00020 00021 } 00022 00029 template< class ParentType > 00030 template< typename T > 00031 bool SInputVariables< ParentType >::ConnectVariable( const char* treeName, 00032 const char* branchName, 00033 T& variable ) throw ( SError ) { 00034 00035 return m_parent->template ConnectVariable( treeName, branchName, variable ); 00036 } 00037 00038 #endif // SFRAME_PLUGINS_SInputVariables_ICC