ATLAS Offline Software
xAODBranchAddress.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // XAODBranchAddress.h
8 // Header file for class Athena::XAODBranchAddress
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHENAROOTCOMPS_ATHENAXAODBRANCHADDRESS_H
12 #define ATHENAROOTCOMPS_ATHENAXAODBRANCHADDRESS_H 1
13 
14 // STL includes
15 #include <string>
16 
17 // Gaudi includes
18 #include "GaudiKernel/GenericAddress.h"
19 
20 #include "DataModelRoot/RootType.h"
21 
22 #include "xAODTEvent.h"
23 
24 namespace Athena {
25 
30  : public GenericAddress
31 {
32 
34  // Public methods:
36  public:
37 
40 
43 
46 
49  const CLID& clid,
50  const std::string& p1="",
51  const std::string& p2="",
52  unsigned long ip1=0,
53  unsigned long ip2=0);
54 
56  virtual ~xAODBranchAddress();
57 
58 
59 
61  void setTEventAddress();
62 
63 
64  //the data we get from the TEvent
65  void* m_ptr;
66 
67 
68 };
69 
70 
71 
72 } //> end namespace Athena
73 
74 #endif //> !ATHENAROOTCOMPS_XAODBRANCHADDRESS_H
Athena::xAODBranchAddress
Definition: xAODBranchAddress.h:31
Athena::xAODBranchAddress::setTEventAddress
void setTEventAddress()
Definition: xAODBranchAddress.cxx:93
Athena::xAODBranchAddress::~xAODBranchAddress
virtual ~xAODBranchAddress()
Destructor:
Definition: xAODBranchAddress.cxx:78
Athena
Some weak symbol referencing magic...
Definition: AthLegacySequence.h:21
xAODTEvent.h
xAOD::xAODTEvent
Definition: xAODTEvent.h:23
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
Athena::xAODBranchAddress::tevent
xAOD::xAODTEvent * tevent()
Definition: xAODBranchAddress.cxx:86
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
Athena::xAODBranchAddress::operator=
xAODBranchAddress & operator=(const xAODBranchAddress &rhs)
Assignment operator:
Definition: xAODBranchAddress.cxx:54
Athena::xAODBranchAddress::xAODBranchAddress
xAODBranchAddress()
Default constructor:
Definition: xAODBranchAddress.cxx:41
RootType.h
Athena::xAODBranchAddress::m_ptr
void * m_ptr
Definition: xAODBranchAddress.h:65