ATLAS Offline Software
Loading...
Searching...
No Matches
BunchConf_v1.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6// xAOD include(s):
8
9// Local include(s):
11
12namespace xAOD {
13
18
20 setConfigID )
21
22
23 //
24 // Implementation of the basic configuration accessors
25 //
26
28 collidingBCIDs, setCollidingBCIDs )
29
31 intensitiesBeam1, setIntensitiesBeam1 )
32
34
35 static const Accessor< std::vector< float > > acc( "intensitiesBeam1" );
36 return acc.isAvailable( *this );
37 }
38
39 AUXSTORE_OBJECT_SETTER_AND_GETTER( BunchConf_v1, std::vector< float >,
40 intensitiesBeam2, setIntensitiesBeam2 )
41
43
44 static const Accessor< std::vector< float > > acc( "intensitiesBeam2" );
45 return acc.isAvailable( *this );
46 }
47
48 //
50
52 //
53 // Implementation of the detailed configuration accessors
54 //
55
57 unpairedBCIDsBeam1,
58 setUnpairedBCIDsBeam1 )
59
61
62 static const Accessor< std::vector< int > > acc( "unpairedBCIDsBeam1" );
63 return acc.isAvailable( *this );
64 }
65
67 unpairedBCIDsBeam2,
68 setUnpairedBCIDsBeam2 )
69
71
72 static const Accessor< std::vector< int > > acc( "unpairedBCIDsBeam2" );
73 return acc.isAvailable( *this );
74 }
75
77 unpairedIntensisitesBeam1,
78 setUnpairedIntensitiesBeam1 )
79
81
83 acc( "unpairedIntensisitesBeam1" );
84 return acc.isAvailable( *this );
85 }
86
88 unpairedIntensisitesBeam2,
89 setUnpairedIntensitiesBeam2 )
90
92
94 acc( "unpairedIntensisitesBeam2" );
95 return acc.isAvailable( *this );
96 }
97
98 //
100
101} // namespace xAOD
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
#define AUXSTORE_OBJECT_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of complex auxiliary properties.
SG::Accessor< T, ALLOC > Accessor
Definition AuxElement.h:572
AuxElement()
Default constructor.
Class holding one particular bunch configuration.
bool unpairedIntensitiesBeam2Available() const
Check if the unpaired beam2 intensities are available.
bool unpairedIntensitiesBeam1Available() const
Check if the unpaired beam1 intensities are available.
bool intensitiesBeam2Available() const
Check if the beam2 intensities are available.
bool intensitiesBeam1Available() const
Check if the beam1 intensities are available.
bool unpairedBCIDsBeam2Available() const
Check if the beam2 unpaired BCIDs are available.
bool unpairedBCIDsBeam1Available() const
Check if the beam1 unpaired BCIDs are available.
BunchConf_v1()
Default constructor.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static const SG::AuxElement::Accessor< ElementLink< IParticleContainer > > acc("originalObjectLink")
Object used for setting/getting the dynamic decoration in question.
setEventNumber uint32_t