The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
RootAddress.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 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#pragma once
18
19// Framework include files
21#include <TTreeFormula.h>
22
23// Forward declaration
24class TTree;
25class TTreeFormula;
26
27/*
28 * Gaudi namespace declaration
29 */
30namespace Gaudi {
31
32 // Forward declarations
34
45 class GAUDI_API RootAddress : virtual public GenericAddress {
46 public:
48 TTreeFormula* select = nullptr;
50 TTree* section = nullptr;
51
52 public:
54 RootAddress( long svc, const CLID& clid, const std::string& p1 = "", const std::string& p2 = "",
55 unsigned long ip1 = 0, unsigned long ip2 = 0 )
56 : GenericAddress( svc, clid, p1, p2, ip1, ip2 ) {}
57
58 virtual ~RootAddress() { delete select; }
59 };
60} // namespace Gaudi
unsigned int CLID
Class ID definition.
Definition ClassID.h:16
#define GAUDI_API
Definition Kernel.h:49
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:54
TTreeFormula * select
Pointer to ROOT select statement (filled for N-tuples only)
Definition RootAddress.h:48
virtual ~RootAddress()
Standard Destructor.
Definition RootAddress.h:58
TTree * section
Pointer to ROOT TTree (filled for N-tuples only)
Definition RootAddress.h:50
Concrete implementation of the IDataConnection interface to access ROOT files.
GenericAddress()=default
Dummy constructor.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition __init__.py:1