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