ATLAS Offline Software
Loading...
Searching...
No Matches
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
18#include "CLHEP/Units/SystemOfUnits.h"
20
21
22class LArAccumulatedDigitContainer : public DataVector<LArAccumulatedDigit> {
23
24 public :
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
42
43#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
An STL vector of pointers that by default owns its pointed-to elements.
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
SG::OwnershipPolicy ownPolicy() const
Container class for LArAccumulatedDigit.
virtual ~LArAccumulatedDigitContainer()
destructor
LArAccumulatedDigitContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Default Constructor.
void setStepIndex(unsigned int StepIndex)
OwnershipPolicy
@ OWN_ELEMENTS
this data object owns its elements