SFrame 3.6
plug-ins/include/SOutputVariables.icc
Go to the documentation of this file.
00001 // Dear emacs, this is -*- c++ -*-
00002 // $Id: SOutputVariables.icc 189 2010-08-02 11:48:16Z 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_SOutputVariables_ICC
00015 #define SFRAME_PLUGINS_SOutputVariables_ICC
00016 
00017 template< class ParentType >
00018 SOutputVariables< ParentType >::SOutputVariables( ParentType* parent )
00019    : m_parent( parent ) {
00020 
00021 }
00022 
00023 template< class ParentType >
00024 template< typename T >
00025 TBranch*
00026 SOutputVariables< ParentType >::DeclareVariable( T& obj, const char* name,
00027                                                  const char* treeName ) throw( SError ) {
00028 
00029    return m_parent->template DeclareVariable( obj, name, treeName );
00030 }
00031 
00032 #endif // SFRAME_PLUGINS_SOutputVariables_ICC