ATLAS Offline Software
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 
17 namespace 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 
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
CutBookkeeper_v1.h
BaseInfo.h
xAOD::CutBookkeeperContainer_v1::merge
void merge(const CutBookkeeperContainer_v1 *otherCont)
Merge the content of another xAOD::CutBookkeeperContainer into this one.
Definition: CutBookkeeperContainer_v1.cxx:64
SG::DEFAULT_TRACK_INDICES
@ DEFAULT_TRACK_INDICES
Default value.
Definition: IndexTrackingPolicy.h:40
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition: ICaloAffectedTool.h:24
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
DataModel_detail::iterator
(Non-const) Iterator class for DataVector/DataList.
Definition: DVLIterator.h:184
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
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::CutBookkeeperContainer_v1
Container that holds the Container of all CutBookkeepers.
Definition: CutBookkeeperContainer_v1.h:27
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
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
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
DeMoScan.first
bool first
Definition: DeMoScan.py:534
DataVector< CutBookkeeper_v1 >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
SG_BASE
SG_BASE(xAOD::CutBookkeeperContainer_v1, DataVector< xAOD::CutBookkeeper_v1 >)
xAOD::CutBookkeeperContainer_v1::~CutBookkeeperContainer_v1
virtual ~CutBookkeeperContainer_v1()
Destructor.
Definition: CutBookkeeperContainer_v1.cxx:40
SG::IndexTrackingPolicy
IndexTrackingPolicy
Definition: IndexTrackingPolicy.h:37