ATLAS Offline Software
Loading...
Searching...
No Matches
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
14
15
16
17namespace xAOD {
18
26 class CutBookkeeperContainer_v1: public DataVector<CutBookkeeper_v1>
27 {
28 public:
30 //CutBookkeeperContainer_v1();
31
35
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
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"
74
75
76#endif //> XAODCUTFLOW_VERSIONS_CUTBOOKKEEPERCONTAINER_V1_H
#define SG_BASE(D, B)
Declare that class D derives from class B.
An STL vector of pointers that by default owns its pointed-to elements.
Derived DataVector<T>.
Definition DataVector.h:795
DataModel_detail::iterator< DataVector > iterator
Definition DataVector.h:842
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
SG::OwnershipPolicy ownPolicy() const
Container that holds the Container of all CutBookkeepers.
CutBookkeeperContainer_v1(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
Default Constructor.
int minCycle() const
Get the minimum cycle number of any xAOD::CutBookkeepers in the container.
int maxCycle() const
Get the maximum cycle number of any xAOD::CutBookkeepers in the container.
Description of the class that is used to keep track of event counts.
@ DEFAULT_TRACK_INDICES
Default value.
OwnershipPolicy
@ OWN_ELEMENTS
this data object owns its elements
Definition merge.py:1
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.