ATLAS Offline Software
LArHitFloatContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LArSimEvent_LArHitFloatContainer_h
6 #define LArSimEvent_LArHitFloatContainer_h
7 
9 #include "AthenaKernel/CLASS_DEF.h"
10 #include <vector>
11 
17 class LArHitFloatContainer: public std::vector<LArHitFloat>
18 {
19 
20  public:
23 
25  virtual ~LArHitFloatContainer() {};
26 
27  inline void add (const LArHitFloat& hit)
28  {this->push_back(hit);}
29 
30 };
31 
32 CLASS_DEF(LArHitFloatContainer,1247689295,0)
33 
34 #endif
LArHitFloatContainer
Container for LArHitFloat.
Definition: LArHitFloatContainer.h:18
LArHitFloat
Class to store hit energy and time in LAr cell from G4 simulation.
Definition: LArHitFloat.h:18
LArHitFloatContainer::add
void add(const LArHitFloat &hit)
Definition: LArHitFloatContainer.h:27
LArHitFloatContainer::LArHitFloatContainer
LArHitFloatContainer()
constructor
Definition: LArHitFloatContainer.h:22
LArHitFloat.h
LArHitFloatContainer::~LArHitFloatContainer
virtual ~LArHitFloatContainer()
desctructor
Definition: LArHitFloatContainer.h:25
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
CLASS_DEF.h
macros to associate a CLID to a type