ATLAS Offline Software
Loading...
Searching...
No Matches
Database
AthenaPOOL
AthenaPoolExample
AthenaPoolExampleData
AthenaPoolExampleData
versions
ExampleElectron_v1.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// $Id: ExampleElectron.h
6
#ifndef ATHENAPOOLEXAMPLEDATA_EXAMPLEELECTRON_V1_H
7
#define ATHENAPOOLEXAMPLEDATA_EXAMPLEELECTRON_V1_H
8
9
#include "
AthContainers/AuxElement.h
"
10
#include "
AthenaKernel/BaseInfo.h
"
11
12
namespace
xAOD
{
13
14
class
ExampleElectron_v1
:
public
SG::AuxElement
{
15
public
:
16
// getter
17
double
pt
()
const
;
18
float
charge
()
const
;
19
20
// setter
21
void
setPt
(
double
p);
22
void
setCharge
(
float
c);
23
24
};
// class
25
26
}
// namespace xAOD
27
28
// Declare inheritance to SG
29
SG_BASE
(
xAOD::ExampleElectron_v1
,
SG::AuxElement
);
30
31
#endif
// ATHENAPOOLEXAMPLEDATA_EXAMPLEELECTRON_V1_H
AuxElement.h
Base class for elements of a container that can have aux data.
BaseInfo.h
Provide an interface for finding inheritance information at run time.
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
xAOD::ExampleElectron_v1
Definition
ExampleElectron_v1.h:14
xAOD::ExampleElectron_v1::setCharge
void setCharge(float c)
xAOD::ExampleElectron_v1::setPt
void setPt(double p)
xAOD::ExampleElectron_v1::charge
float charge() const
xAOD::ExampleElectron_v1::pt
double pt() const
SG::AuxElement
AuxElement(SG::AuxVectorData *container, size_t index)
Base class for elements of a container that can have aux data.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.16.1