ATLAS Offline Software
LArAccumulatedCalibDigitContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
15 #ifndef LARACCUMULATEDCDIGITCONTAINER_H
16 #define LARACCUMULATEDCDIGITCONTAINER_H
17 
19 #include "AthenaKernel/CLASS_DEF.h"
22 #include "CLHEP/Units/SystemOfUnits.h"
23 
24 
25 class LArAccumulatedCalibDigitContainer : public DataVector<LArAccumulatedCalibDigit> {
26 
27  public :
30  double delayScale = 1*CLHEP::ns);
33 
35  void setDelayScale(const double scale) {m_delayScale=scale;}
36 
38  inline double getDelayScale() const {return m_delayScale;}
39 
40  private:
42 
44  double m_delayScale;
45 };
46 
47 
49 
50 
51 #endif
LArAccumulatedCalibDigitContainer::setDelayScale
void setDelayScale(const double scale)
set the delay Scale
Definition: LArAccumulatedCalibDigitContainer.h:35
LArAccumulatedCalibDigitContainer::LArAccumulatedCalibDigitContainer
LArAccumulatedCalibDigitContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, double delayScale=1 *CLHEP::ns)
Default Constructor.
Definition: LArAccumulatedCalibDigitContainer.cxx:8
ConstDataVector.h
DataVector adapter that acts like it holds const pointers.
LArAccumulatedCalibDigitContainer::m_delayScale
double m_delayScale
delayScale
Definition: LArAccumulatedCalibDigitContainer.h:44
yodamerge_tmp.scale
scale
Definition: yodamerge_tmp.py:138
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
LArAccumulatedCalibDigit.h
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
LArAccumulatedCalibDigitContainer::~LArAccumulatedCalibDigitContainer
virtual ~LArAccumulatedCalibDigitContainer()
destructor
LArAccumulatedCalibDigitContainer::getDelayScale
double getDelayScale() const
get the delay Scale
Definition: LArAccumulatedCalibDigitContainer.h:38
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:64
DataVector< LArAccumulatedCalibDigit >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
python.SystemOfUnits.ns
int ns
Definition: SystemOfUnits.py:130
LArAccumulatedCalibDigitContainer
Container class for LArAccumulatedCalibDigit.
Definition: LArAccumulatedCalibDigitContainer.h:25
CLASS_DEF.h
macros to associate a CLID to a type
LArAccumulatedCalibDigitContainer::LArAccumulatedConstCalibDigitContainer
friend class LArAccumulatedConstCalibDigitContainer
Definition: LArAccumulatedCalibDigitContainer.h:41