ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Event
xAOD
xAODCutFlow
xAODCutFlow
versions
CutBookkeeperContainer_v1.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
3
/*
4
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// $Id$
8
#ifndef XAODCUTFLOW_VERSIONS_CUTBOOKKEEPERCONTAINER_V1_H
9
#define XAODCUTFLOW_VERSIONS_CUTBOOKKEEPERCONTAINER_V1_H
10
11
// DataModel includes
12
#include "
AthContainers/DataVector.h
"
13
#include "
xAODCutFlow/versions/CutBookkeeper_v1.h
"
14
15
16
17
namespace
xAOD
{
18
26
class
CutBookkeeperContainer_v1
:
public
DataVector
<CutBookkeeper_v1>
27
{
28
public
:
30
//CutBookkeeperContainer_v1();
31
33
CutBookkeeperContainer_v1
(
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
,
34
SG::IndexTrackingPolicy
trackIndices =
SG::DEFAULT_TRACK_INDICES
);
35
37
CutBookkeeperContainer_v1
(
CutBookkeeperContainer_v1::iterator
first,
38
CutBookkeeperContainer_v1::iterator
last,
39
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
,
40
SG::IndexTrackingPolicy
trackIndices =
SG::DEFAULT_TRACK_INDICES
);
41
42
// /// Copy constructor:
43
// CutBookkeeperContainer_v1( const CutBookkeeperContainer_v1& rhs );
44
//
45
// /// Assignment operator:
46
// CutBookkeeperContainer_v1& operator=( const CutBookkeeperContainer_v1& rhs );
47
//
48
// /// Constructor with parameters: to setup the ownership policy
49
// CutBookkeeperContainer_v1( const SG::OwnershipPolicy own );
50
52
virtual
~CutBookkeeperContainer_v1
();
53
55
using
DataVector
<
CutBookkeeper_v1
>::operator[];
56
58
void
merge
(
const
CutBookkeeperContainer_v1
* otherCont );
59
61
int
minCycle
()
const
;
62
64
int
maxCycle
()
const
;
65
66
};
67
68
}
// namespace xAOD
69
70
71
// Set up the StoreGate inheritance for the class:
72
#include "
xAODCore/BaseInfo.h
"
73
SG_BASE
(
xAOD::CutBookkeeperContainer_v1
,
DataVector<xAOD::CutBookkeeper_v1>
);
74
75
76
#endif
//> XAODCUTFLOW_VERSIONS_CUTBOOKKEEPERCONTAINER_V1_H
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CutBookkeeper_v1.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
BaseInfo.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< CutBookkeeper_v1 >::iterator
DataModel_detail::iterator< DataVector > iterator
Definition
DataVector.h:842
DataVector< CutBookkeeper_v1 >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
DataVector< CutBookkeeper_v1 >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
xAOD::CutBookkeeperContainer_v1
Container that holds the Container of all CutBookkeepers.
Definition
CutBookkeeperContainer_v1.h:27
xAOD::CutBookkeeperContainer_v1::~CutBookkeeperContainer_v1
virtual ~CutBookkeeperContainer_v1()
Destructor.
Definition
CutBookkeeperContainer_v1.cxx:40
xAOD::CutBookkeeperContainer_v1::CutBookkeeperContainer_v1
CutBookkeeperContainer_v1(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
Default Constructor.
Definition
CutBookkeeperContainer_v1.cxx:25
xAOD::CutBookkeeperContainer_v1::minCycle
int minCycle() const
Get the minimum cycle number of any xAOD::CutBookkeepers in the container.
Definition
CutBookkeeperContainer_v1.cxx:184
xAOD::CutBookkeeperContainer_v1::maxCycle
int maxCycle() const
Get the maximum cycle number of any xAOD::CutBookkeepers in the container.
Definition
CutBookkeeperContainer_v1.cxx:200
xAOD::CutBookkeeper_v1
Description of the class that is used to keep track of event counts.
Definition
CutBookkeeper_v1.h:29
SG::IndexTrackingPolicy
IndexTrackingPolicy
Definition
IndexTrackingPolicy.h:37
SG::DEFAULT_TRACK_INDICES
@ DEFAULT_TRACK_INDICES
Default value.
Definition
IndexTrackingPolicy.h:40
SG::OwnershipPolicy
OwnershipPolicy
Definition
OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
merge
Definition
merge.py:1
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
Generated on
for ATLAS Offline Software by
1.17.0