ATLAS Offline Software
Loading...
Searching...
No Matches
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
17namespace 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
size_t size() const
DataArrayImpl(unsigned int reserve=0)
const std::string & name() const
Definition DataArray.h:20
InputTOBArray(const std::string &name)
virtual unsigned int size() const
Definition JetTOBArray.h:26
JetTOBArray(const std::string &name, unsigned int reserve)
virtual void print(std::ostream &) const
TOBArray asTOBArray(JetTOB::JetSize jetsize) const