ATLAS Offline Software
Loading...
Searching...
No Matches
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
13namespace xAOD {
14
19
21 : SG::AuxElement(parent) {
22
23 // Create a private store with the parent's payload:
24 makePrivateStore( parent );
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
#define AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(CL, TYPE, NAME, SETTER)
Macro creating the accessors of primitive auxiliary properties.
void makePrivateStore()
Create a new (empty) private store for this object.
AuxElement & operator=(const AuxElement &other)
Assignment.
bool hasStore() const
Return true if this object has an associated store.
const SG::AuxVectorData * container() const
Return the container holding this element.
AuxElement()
Default constructor.
Class describing a luminosity block range.
LumiBlockRange_v1 & operator=(const LumiBlockRange_v1 &rhs)
Assignment operator.
LumiBlockRange_v1()
Default constructor.
Forward declaration.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
setStartLumiBlockNumber setStopLumiBlockNumber eventsSeen
AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1, float, IP2D_pb, setIP2D_pb) AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(BTagging_v1
setStartLumiBlockNumber stopLumiBlockNumber
setEventNumber uint32_t