The Gaudi Framework  master (37c0b60a)
RootAddress.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 //====================================================================
12 // RootAddress.h
13 //--------------------------------------------------------------------
14 //
15 // Author : M.Frank
16 //====================================================================
17 #ifndef GAUDIROOTCNV_ROOTADDRESS_H
18 #define GAUDIROOTCNV_ROOTADDRESS_H
19 
20 // Framework include files
22 #include <TTreeFormula.h>
23 
24 // Forward declaration
25 class TTree;
26 class TTreeFormula;
27 
28 /*
29  * Gaudi namespace declaration
30  */
31 namespace Gaudi {
32 
33  // Forward declarations
34  class RootDataConnection;
35 
46  class GAUDI_API RootAddress : virtual public GenericAddress {
47  public:
49  TTreeFormula* select = nullptr;
51  TTree* section = nullptr;
52 
53  public:
55  RootAddress( long svc, const CLID& clid, const std::string& p1 = "", const std::string& p2 = "",
56  unsigned long ip1 = 0, unsigned long ip2 = 0 )
57  : GenericAddress( svc, clid, p1, p2, ip1, ip2 ) {}
59  virtual ~RootAddress() { delete select; }
60  };
61 } // namespace Gaudi
62 
63 #endif // GAUDIROOTCNV_ROOTADDRESS_H
std::string
STL class.
AlgSequencer.p2
p2
Definition: AlgSequencer.py:30
GenericAddress.h
GenericAddress
Definition: GenericAddress.h:30
AlgSequencer.p1
p1
Definition: AlgSequencer.py:29
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:18
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
Gaudi::RootAddress::~RootAddress
virtual ~RootAddress()
Standard Destructor.
Definition: RootAddress.h:59
Gaudi::RootAddress::RootAddress
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:55
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81
Gaudi::RootAddress
Definition: RootAddress.h:46