ATLAS Offline Software
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 
12 namespace xAOD {
13 
15  : SG::AuxElement() {
16 
17  }
18 
20  setConfigID )
21 
22 
23  //
24  // Implementation of the basic configuration accessors
25  //
26 
28  collidingBCIDs, setCollidingBCIDs )
29 
30  AUXSTORE_OBJECT_SETTER_AND_GETTER( BunchConf_v1, std::vector< float >,
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 
56  AUXSTORE_OBJECT_SETTER_AND_GETTER( BunchConf_v1, std::vector< int >,
57  unpairedBCIDsBeam1,
58  setUnpairedBCIDsBeam1 )
59 
61 
62  static const Accessor< std::vector< int > > acc( "unpairedBCIDsBeam1" );
63  return acc.isAvailable( *this );
64  }
65 
66  AUXSTORE_OBJECT_SETTER_AND_GETTER( BunchConf_v1, std::vector< int >,
67  unpairedBCIDsBeam2,
68  setUnpairedBCIDsBeam2 )
69 
71 
72  static const Accessor< std::vector< int > > acc( "unpairedBCIDsBeam2" );
73  return acc.isAvailable( *this );
74  }
75 
76  AUXSTORE_OBJECT_SETTER_AND_GETTER( BunchConf_v1, std::vector< float >,
77  unpairedIntensisitesBeam1,
78  setUnpairedIntensitiesBeam1 )
79 
81 
82  static const Accessor< std::vector< float > >
83  acc( "unpairedIntensisitesBeam1" );
84  return acc.isAvailable( *this );
85  }
86 
87  AUXSTORE_OBJECT_SETTER_AND_GETTER( BunchConf_v1, std::vector< float >,
88  unpairedIntensisitesBeam2,
89  setUnpairedIntensitiesBeam2 )
90 
92 
93  static const Accessor< std::vector< float > >
94  acc( "unpairedIntensisitesBeam2" );
95  return acc.isAvailable( *this );
96  }
97 
98  //
100 
101 } // namespace xAOD
xAOD::AUXSTORE_PRIMITIVE_SETTER_AND_GETTER
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
xAOD::BunchConf_v1::unpairedBCIDsBeam2Available
bool unpairedBCIDsBeam2Available() const
Check if the beam2 unpaired BCIDs are available.
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD::BunchConf_v1::unpairedIntensitiesBeam2Available
bool unpairedIntensitiesBeam2Available() const
Check if the unpaired beam2 intensities are available.
xAOD::BunchConf_v1::unpairedBCIDsBeam1Available
bool unpairedBCIDsBeam1Available() const
Check if the beam1 unpaired BCIDs are available.
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::BunchConf_v1::intensitiesBeam2Available
bool intensitiesBeam2Available() const
Check if the beam2 intensities are available.
xAOD::BunchConf_v1::unpairedIntensitiesBeam1Available
bool unpairedIntensitiesBeam1Available() const
Check if the unpaired beam1 intensities are available.
BunchConf_v1.h
xAOD::BunchConf_v1
Class holding one particular bunch configuration.
Definition: BunchConf_v1.h:33
xAOD::BunchConf_v1::intensitiesBeam1Available
bool intensitiesBeam1Available() const
Check if the beam1 intensities are available.
AthenaPoolTestRead.acc
acc
Definition: AthenaPoolTestRead.py:16
xAOD::BunchConf_v1::BunchConf_v1
BunchConf_v1()
Default constructor.
Definition: BunchConf_v1.cxx:14
xAOD::collidingBCIDs
collidingBCIDs
Definition: BunchConf_v1.cxx:28
xAOD::AUXSTORE_OBJECT_SETTER_AND_GETTER
AUXSTORE_OBJECT_SETTER_AND_GETTER(CaloRings_v1, RingSetLinks, ringSetLinks, setRingSetLinks) unsigned CaloRings_v1
Definition: CaloRings_v1.cxx:27