ATLAS Offline Software
Loading...
Searching...
No Matches
jEmTOBArray.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5
6#ifndef JEMTOBARRAY_H
7#define JEMTOBARRAY_H
8
9#include <iostream>
12#include "L1TopoEvent/jEmTOB.h"
13#include <vector>
14
15namespace TCS {
16
17 class TOBArray;
18
19 class jEmTOBArray : public InputTOBArray, public DataArrayImpl<jEmTOB> {
20 public:
21 // default constructor
22 jEmTOBArray(const std::string & name, unsigned int reserve);
23
24 virtual unsigned int size() const { return DataArrayImpl<jEmTOB>::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
size_t size() const
DataArrayImpl(unsigned int reserve=0)
const std::string & name() const
Definition DataArray.h:20
InputTOBArray(const std::string &name)
TOBArray asTOBArray() const
virtual unsigned int size() const
Definition jEmTOBArray.h:24
virtual void print(std::ostream &) const
jEmTOBArray(const std::string &name, unsigned int reserve)