All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RootAddress.h
Go to the documentation of this file.
1 // $Id: RootAddress.h,v 1.8 2010-09-17 09:40:02 frankb Exp $
2 //====================================================================
3 // RootAddress.h
4 //--------------------------------------------------------------------
5 //
6 // Author : M.Frank
7 //====================================================================
8 // $Header: /afs/cern.ch/project/cvs/reps/lhcb/Online/RootCnv/src/RootAddress.h,v 1.8 2010-09-17 09:40:02 frankb Exp $
9 #ifndef GAUDIROOTCNV_ROOTADDRESS_H
10 #define GAUDIROOTCNV_ROOTADDRESS_H
11 
12 // Framework include files
14 #include "TTreeFormula.h"
15 
16 // Forward declaration
17 class TTree;
18 class TTreeFormula;
19 
20 /*
21  * Gaudi namespace declaration
22  */
23 namespace Gaudi {
24 
25  // Forward declarations
26  class RootDataConnection;
27 
38  class GAUDI_API RootAddress : virtual public GenericAddress {
39  public:
41  TTreeFormula* select;
43  TTree* section;
44 
45  public:
47  RootAddress( long svc,
48  const CLID& clid,
49  const std::string& p1="",
50  const std::string& p2="",
51  unsigned long ip1=0,
52  unsigned long ip2=0)
53  : GenericAddress(svc,clid,p1,p2,ip1,ip2), select(0), section(0) { }
55  virtual ~RootAddress() { if ( select ) delete select; select = 0; }
56  };
57 }
58 
59 #endif // GAUDIROOTCNV_ROOTADDRESS_H
Description:
Definition: RootAddress.h:38
TTree * section
Pointer to ROOT TTree (filled for N-tuples only)
Definition: RootAddress.h:43
Generic Transient Address.
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
TTreeFormula * select
Pointer to ROOT select statement (filled for N-tuples only)
Definition: RootAddress.h:41
This is a number of static methods for bootstrapping the Gaudi framework.
Definition: Bootstrap.h:14
#define GAUDI_API
Definition: Kernel.h:108
RootAddress(long svc, const CLID &clid, const std::string &p1="", const std::string &p2="", unsigned long ip1=0, unsigned long ip2=0)
Full constructor.
Definition: RootAddress.h:47
virtual ~RootAddress()
Standard Destructor.
Definition: RootAddress.h:55