ATLAS Offline Software
Event
EventBookkeeperMetaData
EventBookkeeperMetaData
EventBookkeeperCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// Header file for class EventBookkeeperCollection
7
// Author: David Cote, September 2008. <david.cote@cern.ch>
9
#ifndef EVENTBOOKKEEPERCOLLECTION_H
10
#define EVENTBOOKKEEPERCOLLECTION_H
11
12
// STL includes
13
#include <iostream>
14
15
// DataModel includes
16
#include "
AthContainers/DataVector.h
"
17
#include "
EventBookkeeperMetaData/EventBookkeeper.h
"
18
#include "
AthenaKernel/CLASS_DEF.h
"
19
20
class
EventBookkeeperCollection
:
public
DataVector
<EventBookkeeper>
21
{
22
public
:
23
//Default Constructor
24
EventBookkeeperCollection
();
25
26
//Copy constructor:
27
EventBookkeeperCollection
(
const
EventBookkeeperCollection
& rhs );
28
29
//Assignment operator:
30
EventBookkeeperCollection
&
operator=
(
const
EventBookkeeperCollection
& rhs );
31
32
//Constructor with parameters: to setup the ownership policy
33
EventBookkeeperCollection
(
const
SG::OwnershipPolicy
own );
34
35
//Normal Destructor for StoreGate
36
~EventBookkeeperCollection
();
37
38
//Helper functions
39
EventBookkeeper
*
GetElement
(
const
EventBookkeeper
*
book
);
40
void
UpdateFromColl
(
const
EventBookkeeperCollection
* coll );
41
42
43
private
:
44
//Additional functions and data for EventBookkeeperCollection with flat structure
45
//This special mode is only foreseen for dumping in a TTree, please don't use it otherwise
46
friend
class
CutFlowSvc
;
47
EventBookkeeperCollection
*
GetCopyWithFlatStructure
();
48
};
49
50
inline
51
EventBookkeeperCollection::~EventBookkeeperCollection
()
52
{}
53
54
//this is automatically generated by: 'clid -m EventBookkeeperCollection'
55
CLASS_DEF
(
EventBookkeeperCollection
, 1094136276 , 1 )
56
57
#endif //> EVENTBOOKKEEPERCOLLECTION_H
EventBookkeeperCollection::GetElement
EventBookkeeper * GetElement(const EventBookkeeper *book)
Definition:
EventBookkeeperCollection.cxx:32
EventBookkeeperCollection
Definition:
EventBookkeeperCollection.h:21
EventBookkeeper.h
EventBookkeeperCollection::operator=
EventBookkeeperCollection & operator=(const EventBookkeeperCollection &rhs)
Definition:
EventBookkeeperCollection.cxx:20
EventBookkeeperCollection::UpdateFromColl
void UpdateFromColl(const EventBookkeeperCollection *coll)
Definition:
EventBookkeeperCollection.cxx:41
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition:
OwnershipPolicy.h:16
book
T * book(const std::string &n, const std::string &t, unsigned nbins)
Definition:
main_benchmark.cxx:138
EventBookkeeperCollection::EventBookkeeperCollection
EventBookkeeperCollection()
Constructors.
Definition:
EventBookkeeperCollection.cxx:15
EventBookkeeperCollection::~EventBookkeeperCollection
~EventBookkeeperCollection()
Definition:
EventBookkeeperCollection.h:51
CutFlowSvc
This implements the methods for ICutFlowSvc.
Definition:
CutFlowSvc.h:47
EventBookkeeperCollection::GetCopyWithFlatStructure
EventBookkeeperCollection * GetCopyWithFlatStructure()
Definition:
EventBookkeeperCollection.cxx:57
EventBookkeeper
Definition:
EventBookkeeper.h:24
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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:64
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Tue Jul 2 2024 21:15:16 for ATLAS Offline Software by
1.8.18