ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawEvent
LArRawEvent
LArAccumulatedDigitContainer.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
12
13
#ifndef LARACCUMULATEDDIGITCONTAINER_H
14
#define LARACCUMULATEDDIGITCONTAINER_H
15
16
#include "
AthContainers/DataVector.h
"
17
#include "
AthenaKernel/CLASS_DEF.h
"
18
#include "CLHEP/Units/SystemOfUnits.h"
19
#include "
LArRawEvent/LArAccumulatedDigit.h
"
20
21
22
class
LArAccumulatedDigitContainer
:
public
DataVector
<LArAccumulatedDigit> {
23
24
public :
26
LArAccumulatedDigitContainer
(
SG::OwnershipPolicy
ownPolicy
=
SG::OWN_ELEMENTS
) ;
28
virtual
~LArAccumulatedDigitContainer
();
29
30
inline
void
setNStep
(
unsigned
int
NStep) {
m_NStep
=NStep; }
31
inline
void
setStepIndex
(
unsigned
int
StepIndex) {
m_StepIndex
=StepIndex; }
32
inline
unsigned
int
getNStep
()
const
{
return
m_NStep
; }
33
inline
unsigned
int
getStepIndex
()
const
{
return
m_StepIndex
; }
34
inline
int
isLastStep
()
const
{
return
(
m_StepIndex
==
m_NStep
-1); }
35
//private:
36
37
unsigned
int
m_NStep
,
m_StepIndex
;
38
};
39
40
41
CLASS_DEF
(
LArAccumulatedDigitContainer
,1185131589,0)
42
43
#endif
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.
LArAccumulatedDigit.h
DataVector< LArAccumulatedDigit >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
DataVector< LArAccumulatedDigit >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
LArAccumulatedDigitContainer
Container class for LArAccumulatedDigit.
Definition
LArAccumulatedDigitContainer.h:22
LArAccumulatedDigitContainer::m_StepIndex
unsigned int m_StepIndex
Definition
LArAccumulatedDigitContainer.h:37
LArAccumulatedDigitContainer::setNStep
void setNStep(unsigned int NStep)
Definition
LArAccumulatedDigitContainer.h:30
LArAccumulatedDigitContainer::getNStep
unsigned int getNStep() const
Definition
LArAccumulatedDigitContainer.h:32
LArAccumulatedDigitContainer::isLastStep
int isLastStep() const
Definition
LArAccumulatedDigitContainer.h:34
LArAccumulatedDigitContainer::~LArAccumulatedDigitContainer
virtual ~LArAccumulatedDigitContainer()
destructor
LArAccumulatedDigitContainer::getStepIndex
unsigned int getStepIndex() const
Definition
LArAccumulatedDigitContainer.h:33
LArAccumulatedDigitContainer::LArAccumulatedDigitContainer
LArAccumulatedDigitContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Default Constructor.
Definition
LArAccumulatedDigitContainer.cxx:8
LArAccumulatedDigitContainer::m_NStep
unsigned int m_NStep
Definition
LArAccumulatedDigitContainer.h:37
LArAccumulatedDigitContainer::setStepIndex
void setStepIndex(unsigned int StepIndex)
Definition
LArAccumulatedDigitContainer.h:31
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