ATLAS Offline Software
CaloCalibrationHitContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // CaloCalibrationHitContainer
6 // 09-Feb-2004 William Seligman
7 
8 // This class exists to provides two features that an
9 // AthenaHitsVector<CaloCalibrationHit> does not provide on its own:
10 
11 // - a CLID for StoreGate
12 
13 // - a std::string method that can be used to examine the contents of
14 // the container.
15 
16 #ifndef CaloSimEvent_CaloCalibrationHitContainer_h
17 #define CaloSimEvent_CaloCalibrationHitContainer_h
18 
21 
22 #include "AthenaKernel/CLASS_DEF.h"
23 
24 class CaloCalibrationHitContainer:public AthenaHitsVector<CaloCalibrationHit>
25 {
26 public:
27 
29  CaloCalibrationHitContainer (const std::string& collectionName="DefaultCollectionName" );
30 
33 
40  virtual operator std::string () const;
41 
42 };
43 
44 CLASS_DEF (CaloCalibrationHitContainer, 1312841250 , 1 )
45 
48 {
49  public:
52  activeHitCollection(0),
53  inactiveHitCollection(0),
54  deadHitCollection(0)
55  {}
56 
59 
62 
65 };
66 
68 
69 #endif // CaloSimEvent_CaloCalibrationHitContainer_h
CaloCalibrationHitContainer
Definition: CaloCalibrationHitContainer.h:25
AthenaHitsVector.h
CaloCalibrationHit.h
StoredLArCalibHitContainers
store pointers to the different hit collections
Definition: CaloCalibrationHitContainer.h:48
StoredLArCalibHitContainers::StoredLArCalibHitContainers
StoredLArCalibHitContainers()
Constructor.
Definition: CaloCalibrationHitContainer.h:51
CaloCalibrationHitContainer::CaloCalibrationHitContainer
CaloCalibrationHitContainer(const std::string &collectionName="DefaultCollectionName")
Constructor of CaloCalibrationHitContainer.
Definition: CaloCalibrationHitContainer.cxx:18
StoredLArCalibHitContainers::inactiveHitCollection
CaloCalibrationHitContainer * inactiveHitCollection
Inactive calibration Hits.
Definition: CaloCalibrationHitContainer.h:61
StoredLArCalibHitContainers::activeHitCollection
CaloCalibrationHitContainer * activeHitCollection
Active calibration Hits.
Definition: CaloCalibrationHitContainer.h:58
CaloCalibrationHitContainer::~CaloCalibrationHitContainer
virtual ~CaloCalibrationHitContainer()
Destructor.
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
AthenaHitsVector
Definition: AthenaHitsVector.h:39
StoredLArCalibHitContainers::deadHitCollection
CaloCalibrationHitContainer * deadHitCollection
Dead calibration Hits.
Definition: CaloCalibrationHitContainer.h:64
CLASS_DEF.h
macros to associate a CLID to a type