ATLAS Offline Software
CPBSCollectionV1.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef TRIGT1CALO_CPBSCOLLECTIONV1_H
5 #define TRIGT1CALO_CPBSCOLLECTIONV1_H
6 
9 
10 namespace LVL1 {
11 
12 class CPMTower;
13 class CPMHits;
14 class CMMCPHits;
15 
16 
25 
26  public:
27  CPBSCollectionV1(const DataVector<CPMTower>* ttCollection,
28  const DataVector<CPMHits>* hitCollection,
29  const DataVector<CMMCPHits>* cmmHitCollection);
30 
32  const DataVector<CPMTower>* towers() const;
34  const DataVector<CPMHits>* hits() const;
36  const DataVector<CMMCPHits>* cmmHits() const;
37 
38  private:
39 
46 
47 };
48 
50 {
51  return m_ttCollection;
52 }
53 
55 {
56  return m_hitCollection;
57 }
58 
60 {
61  return m_cmmHitCollection;
62 }
63 
64 } // end namespace
65 
66 CLASS_DEF(LVL1::CPBSCollectionV1, 1270847938, 1)
67 
68 #endif
LVL1::CPBSCollectionV1::cmmHits
const DataVector< CMMCPHits > * cmmHits() const
Return pointer to CMM hits collection.
Definition: CPBSCollectionV1.h:59
LVL1::CPBSCollectionV1::hits
const DataVector< CPMHits > * hits() const
Return pointer to CPM hits collection.
Definition: CPBSCollectionV1.h:54
xAOD::CPMTower
CPMTower_v2 CPMTower
Define the latest version of the CPMTower class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CPMTower.h:16
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::CPBSCollectionV1::m_hitCollection
const DataVector< CPMHits > * m_hitCollection
CPM hits collection.
Definition: CPBSCollectionV1.h:43
LVL1::CPBSCollectionV1::CPBSCollectionV1
CPBSCollectionV1(const DataVector< CPMTower > *ttCollection, const DataVector< CPMHits > *hitCollection, const DataVector< CMMCPHits > *cmmHitCollection)
Definition: CPBSCollectionV1.cxx:12
xAOD::CPMHits
CPMHits_v1 CPMHits
Define the latest version of the CPMHits class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CPMHits.h:14
LVL1::CPBSCollectionV1
Cluster Processor container for writing bytestream.
Definition: CPBSCollectionV1.h:24
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
LVL1::CPBSCollectionV1::m_cmmHitCollection
const DataVector< CMMCPHits > * m_cmmHitCollection
CMM hits collection.
Definition: CPBSCollectionV1.h:45
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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
xAOD::CMMCPHits
CMMCPHits_v1 CMMCPHits
Define the latest version of the CMMCPHits class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CMMCPHits.h:17
LVL1::CPBSCollectionV1::towers
const DataVector< CPMTower > * towers() const
Return pointer to CPM tower collection.
Definition: CPBSCollectionV1.h:49
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::CPBSCollectionV1::m_ttCollection
const DataVector< CPMTower > * m_ttCollection
CPM tower collection.
Definition: CPBSCollectionV1.h:41