ATLAS Offline Software
JetTOBArray.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 // JetTOBArray.h
5 // TopoCore
6 // Created by Joerg Stelzer on 11/17/12.
7 
8 #ifndef __TopoCore__JetTOBArray__
9 #define __TopoCore__JetTOBArray__
10 
11 #include <iostream>
14 #include "L1TopoEvent/JetTOB.h"
15 #include <vector>
16 
17 namespace TCS {
18 
19  class TOBArray;
20 
21  class JetTOBArray : public InputTOBArray, public DataArrayImpl<JetTOB> {
22  public:
23  // default constructor
24  JetTOBArray(const std::string & name, unsigned int reserve);
25 
26  virtual unsigned int size() const { return DataArrayImpl<JetTOB>::size(); }
27 
28  TOBArray asTOBArray(JetTOB::JetSize jetsize) const;
29 
30  private:
31  // print method can be invoked via <<
32  virtual void print(std::ostream&) const;
33  };
34 
35 }
36 
37 #endif
TCS::JetTOBArray::asTOBArray
TOBArray asTOBArray(JetTOB::JetSize jetsize) const
Definition: JetTOBArray.cxx:21
TCS::JetTOB::JetSize
JetSize
Definition: JetTOB.h:21
InputTOBArray.h
TCS::JetTOBArray::print
virtual void print(std::ostream &) const
Definition: JetTOBArray.cxx:29
TCS::DataArray::name
const std::string & name() const
Definition: DataArray.h:20
TCS::DataArrayImpl
Definition: DataArrayImpl.h:13
TCS::DataArrayImpl::size
size_t size() const
Definition: DataArrayImpl.h:30
TCS::InputTOBArray
Definition: InputTOBArray.h:15
TCS::TOBArray
Definition: TOBArray.h:24
TCS::JetTOBArray::size
virtual unsigned int size() const
Definition: JetTOBArray.h:26
DataArrayImpl.h
TCS::JetTOBArray::JetTOBArray
JetTOBArray(const std::string &name, unsigned int reserve)
Definition: JetTOBArray.cxx:14
TCS
Definition: Global/GlobalSimulation/src/IO/Decision.h:18
TCS::JetTOBArray
Definition: JetTOBArray.h:21
JetTOB.h