The Gaudi Framework  master (e98cfcff)
Loading...
Searching...
No Matches
RootAddress.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2026 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
42 class GAUDI_API RootAddress : virtual public GenericAddress {
43 public:
45 TTreeFormula* select = nullptr;
47 TTree* section = nullptr;
48
49 public:
51 RootAddress( long svc, const CLID& clid, const std::string& p1 = "", const std::string& p2 = "",
52 unsigned long ip1 = 0, unsigned long ip2 = 0 )
53 : GenericAddress( svc, clid, p1, p2, ip1, ip2 ) {}
54
55 virtual ~RootAddress() { delete select; }
56
57 RootAddress( const RootAddress& ) = delete;
58 RootAddress& operator=( const RootAddress& ) = delete;
59 };
60} // namespace Gaudi
unsigned int CLID
Class ID definition.
Definition ClassID.h:16
#define GAUDI_API
Definition Kernel.h:49
RootAddress(const RootAddress &)=delete
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:51
TTreeFormula * select
Pointer to ROOT select statement (filled for N-tuples only)
Definition RootAddress.h:45
virtual ~RootAddress()
Standard Destructor.
Definition RootAddress.h:55
TTree * section
Pointer to ROOT TTree (filled for N-tuples only)
Definition RootAddress.h:47
RootAddress & operator=(const RootAddress &)=delete
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