ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExThinning
AthExThinning
AthExDecay.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// Decay.h
8
// Header file for class Decay
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef ATHEXTHINNING_ATHEXDECAY_H
12
#define ATHEXTHINNING_ATHEXDECAY_H
13
14
// STL includes
15
16
17
#include "
AthenaKernel/CLASS_DEF.h
"
18
19
// DataModel includes
20
#include "AthLinks/ElementLink.h"
21
22
// AthExThinning includes
23
#include "
AthExThinning/AthExParticles.h
"
24
25
// Forward declaration
26
27
class
AthExDecay
28
{
29
// Make the AthenaPoolCnv class our friend
30
friend
class
AthExDecayCnv_p1
;
31
33
// Public methods:
35
public
:
36
39
AthExDecay
();
40
43
AthExDecay
(
const
AthExDecay
& rhs );
44
47
AthExDecay
&
operator=
(
const
AthExDecay
& rhs );
48
51
54
virtual
~AthExDecay
();
55
57
// Const methods:
59
const
AthExParticle
*
p1
()
const
;
// kept
60
const
AthExParticle
*
p2
()
const
;
// kept
61
const
AthExParticle
*
l1
()
const
;
// lost
62
const
AthExParticle
*
l2
()
const
;
// lost
63
65
// Non-const methods:
67
68
void
setDecay
(
const
ElementLink<AthExParticles>
&
p1
,
69
const
ElementLink<AthExParticles>
&
p2
,
70
const
ElementLink<AthExParticles>
&
l1
,
71
const
ElementLink<AthExParticles>
&
l2
);
72
74
// Protected data:
76
protected
:
77
78
ElementLink<AthExParticles>
m_p1
;
79
ElementLink<AthExParticles>
m_p2
;
80
ElementLink<AthExParticles>
m_l1
;
81
ElementLink<AthExParticles>
m_l2
;
82
83
};
84
85
CLASS_DEF
(
AthExDecay
, 21767618, 1 )
86
#endif
//> ATHEXTHINNING_ATHEXDECAY_H
AthExParticles.h
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
AthExDecay
Definition
AthExDecay.h:28
AthExDecay::l1
const AthExParticle * l1() const
Definition
AthExDecay.cxx:73
AthExDecay::l2
const AthExParticle * l2() const
Definition
AthExDecay.cxx:80
AthExDecay::m_p1
ElementLink< AthExParticles > m_p1
Definition
AthExDecay.h:78
AthExDecay::m_l1
ElementLink< AthExParticles > m_l1
Definition
AthExDecay.h:80
AthExDecay::setDecay
void setDecay(const ElementLink< AthExParticles > &p1, const ElementLink< AthExParticles > &p2, const ElementLink< AthExParticles > &l1, const ElementLink< AthExParticles > &l2)
Definition
AthExDecay.cxx:91
AthExDecay::m_l2
ElementLink< AthExParticles > m_l2
Definition
AthExDecay.h:81
AthExDecay::AthExDecay
AthExDecay()
Default constructor:
Definition
AthExDecay.cxx:25
AthExDecay::p1
const AthExParticle * p1() const
Definition
AthExDecay.cxx:59
AthExDecay::m_p2
ElementLink< AthExParticles > m_p2
Definition
AthExDecay.h:79
AthExDecay::AthExDecayCnv_p1
friend class AthExDecayCnv_p1
Definition
AthExDecay.h:30
AthExDecay::~AthExDecay
virtual ~AthExDecay()
Constructor with parameters:
Definition
AthExDecay.cxx:52
AthExDecay::operator=
AthExDecay & operator=(const AthExDecay &rhs)
Assignment operator:
Definition
AthExDecay.cxx:39
AthExDecay::p2
const AthExParticle * p2() const
Definition
AthExDecay.cxx:66
AthExParticle
Definition
AthExParticle.h:24
ElementLink
ElementLink implementation for ROOT usage.
Definition
A/AthLinks/ElementLink.h:40
Generated on
for ATLAS Offline Software by
1.17.0