ATLAS Offline Software
CPBSCollectionV2.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_CPBSCOLLECTIONV2_H
5 #define TRIGT1CALO_CPBSCOLLECTIONV2_H
6 
9 
10 namespace LVL1 {
11 
12 class CPMTower;
13 class CMXCPTob;
14 class CMXCPHits;
15 
16 
25 
26  public:
27  CPBSCollectionV2(const DataVector<CPMTower>* ttCollection,
28  const DataVector<CMXCPTob>* tobCollection,
29  const DataVector<CMXCPHits>* hitCollection);
30 
32  const DataVector<CPMTower>* towers() const;
34  const DataVector<CMXCPTob>* tobs() const;
36  const DataVector<CMXCPHits>* hits() const;
37 
38  private:
39 
46 
47 };
48 
50 {
51  return m_ttCollection;
52 }
53 
55 {
56  return m_tobCollection;
57 }
58 
60 {
61  return m_hitCollection;
62 }
63 
64 } // end namespace
65 
66 CLASS_DEF(LVL1::CPBSCollectionV2, 1270847937, 1)
67 
68 #endif
xAOD::CMXCPTob
CMXCPTob_v1 CMXCPTob
Define the latest version of the CMXCPTob class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CMXCPTob.h:17
LVL1::CPBSCollectionV2::m_hitCollection
const DataVector< CMXCPHits > * m_hitCollection
CMX hits collection.
Definition: CPBSCollectionV2.h:45
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::CPBSCollectionV2::towers
const DataVector< CPMTower > * towers() const
Return pointer to CPM tower collection.
Definition: CPBSCollectionV2.h:49
xAOD::CMXCPHits
CMXCPHits_v1 CMXCPHits
Define the latest version of the CMMCPHits class.
Definition: Event/xAOD/xAODTrigL1Calo/xAODTrigL1Calo/CMXCPHits.h:17
LVL1::CPBSCollectionV2
Cluster Processor container for writing bytestream.
Definition: CPBSCollectionV2.h:24
LVL1::CPBSCollectionV2::tobs
const DataVector< CMXCPTob > * tobs() const
Return pointer to CMX TOB collection.
Definition: CPBSCollectionV2.h:54
LVL1::CPBSCollectionV2::hits
const DataVector< CMXCPHits > * hits() const
Return pointer to CMX hits collection.
Definition: CPBSCollectionV2.h:59
LVL1::CPBSCollectionV2::m_ttCollection
const DataVector< CPMTower > * m_ttCollection
CPM tower collection.
Definition: CPBSCollectionV2.h:41
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
LVL1::CPBSCollectionV2::CPBSCollectionV2
CPBSCollectionV2(const DataVector< CPMTower > *ttCollection, const DataVector< CMXCPTob > *tobCollection, const DataVector< CMXCPHits > *hitCollection)
Definition: CPBSCollectionV2.cxx:12
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
LVL1::CPBSCollectionV2::m_tobCollection
const DataVector< CMXCPTob > * m_tobCollection
CMX TOB collection.
Definition: CPBSCollectionV2.h:43
CLASS_DEF.h
macros to associate a CLID to a type