ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZdcEvent
ZdcEvent
ZdcDigitsCollection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ZdcDigitsCollection_H
6
#define ZdcDigitsCollection_H
7
8
// STL include
9
#include <vector>
10
11
// Lang include
12
#include <inttypes.h>
13
14
#include "
ZdcEvent/ZdcDigits.h
"
15
#include "
AthContainers/DataVector.h
"
16
17
#include "
AthenaKernel/CLASS_DEF.h
"
18
19
class
ZdcDigitsCollection
:
public
DataVector
<ZdcDigits>
20
{
21
22
//friend class ZdcDigitsContainerCnv;
23
public
:
24
25
ZdcDigitsCollection
(
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
)
26
:
DataVector
<
ZdcDigits
>(
ownPolicy
) {}
27
28
virtual
~ZdcDigitsCollection
() { }
29
33
//virtual void clear ();
34
35
void
print
();
36
37
private
:
38
39
};
40
41
SG_BASE
(
ZdcDigitsCollection
,
DataVector<ZdcDigits>
);
42
CLASS_DEF
(
ZdcDigitsCollection
,929261,0)
43
44
#endif
45
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
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:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
ZdcDigits.h
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< ZdcDigits >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
DataVector< ZdcDigits >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
ZdcDigitsCollection
Definition
ZdcDigitsCollection.h:20
ZdcDigitsCollection::print
void print()
Clear everything for next event.
Definition
ZdcDigitsCollection.cxx:9
ZdcDigitsCollection::ZdcDigitsCollection
ZdcDigitsCollection(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Definition
ZdcDigitsCollection.h:25
ZdcDigitsCollection::~ZdcDigitsCollection
virtual ~ZdcDigitsCollection()
Definition
ZdcDigitsCollection.h:28
ZdcDigits
Definition
ZdcDigits.h:28
SG::OwnershipPolicy
OwnershipPolicy
Definition
OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition
OwnershipPolicy.h:17
Generated on
for ATLAS Offline Software by
1.17.0