ATLAS Offline Software
LumiBlockRange_v1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Id: LumiBlockRange_v1.cxx 647501 2015-02-17 14:22:33Z krasznaa $
6 
7 // xAOD include(s):
9 
10 // Local include(s):
12 
13 namespace xAOD {
14 
16  : SG::AuxElement() {
17 
18  }
19 
21  : SG::AuxElement(parent) {
22 
23  // Create a private store with the parent's payload:
25  }
26 
29 
30  // Protect against self-assignment:
31  if( this == &rhs ) {
32  return *this;
33  }
34 
35  // If the object is not part of a container, and it doesn't have a private
36  // store, then let's make one now. Otherwise the code would throw an
37  // exception at this point.
38  if( ( ! container() ) && ( ! hasStore() ) ) {
39  makePrivateStore( rhs );
40  return *this;
41  }
42 
43  // If it is connected to some store already, then let's use the assignment
44  // operator of the base class to do the heavy lifting:
46 
47  // Return this object:
48  return *this;
49  }
50 
52  //
53  // Implementation for the start time functions
54 
56  startRunNumber, setStartRunNumber )
59  setStartLumiBlockNumber )
60 
61  //
63 
65  //
66  // Implementation for the stop time functions
67 
69  stopRunNumber, setStopRunNumber )
72  setStopLumiBlockNumber )
73 
74  //
76 
78  //
79  // Implementation for the event number accessors
80 
82  eventsExpected, setEventsExpected )
84  eventsSeen, setEventsSeen )
85 
86  //
88 
89 } // 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
SG
Forward declaration.
Definition: CaloCellPacker_400_500.h:32
xAOD::startLumiBlockNumber
startLumiBlockNumber
Definition: LumiBlockRange_v1.cxx:58
AuxStoreAccessorMacros.h
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
xAOD::LumiBlockRange_v1::operator=
LumiBlockRange_v1 & operator=(const LumiBlockRange_v1 &rhs)
Assignment operator.
Definition: LumiBlockRange_v1.cxx:28
xAOD::eventsSeen
setStartLumiBlockNumber setStopLumiBlockNumber eventsSeen
Definition: LumiBlockRange_v1.cxx:84
xAOD::LumiBlockRange_v1::LumiBlockRange_v1
LumiBlockRange_v1()
Default constructor.
Definition: LumiBlockRange_v1.cxx:15
xAOD::stopLumiBlockNumber
setStartLumiBlockNumber stopLumiBlockNumber
Definition: LumiBlockRange_v1.cxx:71
test_pyathena.parent
parent
Definition: test_pyathena.py:15
SG::AuxElement::makePrivateStore
void makePrivateStore()
Create a new (empty) private store for this object.
Definition: AuxElement.cxx:172
SG::AuxElement::operator=
AuxElement & operator=(const AuxElement &other)
Assignment.
SG::AuxElement::hasStore
bool hasStore() const
Return true if this object has an associated store.
Definition: AuxElement.cxx:355
xAOD::LumiBlockRange_v1
Class describing a luminosity block range.
Definition: LumiBlockRange_v1.h:33
LumiBlockRange_v1.h
SG::AuxElement::container
const SG::AuxVectorData * container() const
Return the container holding this element.