ATLAS Offline Software
Loading...
Searching...
No Matches
RingerRings.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef RINGERRINGS_H
6#define RINGERRINGS_H
7
8
9#include <vector>
10
12#include "GaudiKernel/MsgStream.h"
13
17
19
20private:
21 std::vector<float> m_rings; //< Holds the generated rings.
22
23public:
24
29
35 RingerRings(const std::vector<float> &rings);
36
37
44 RingerRings(const unsigned int nRings, const float *rings);
45
47 std::vector<float> &rings();
48 const std::vector<float> &rings() const;
49 void rings(const std::vector<float> &r);
50 float &at(const unsigned int i);
51 const float &at(const unsigned int i) const;
52 unsigned int size() const;
53 const float &operator [](const unsigned int i) const;
54 float &operator [](const unsigned int i);
55
60 void print ( MsgStream& log ) const;
61};
62
63CLASS_DEF( RingerRings , 169208235 , 1 )
64
65#endif
66
67
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
This class carries the generated Rings.
Definition RingerRings.h:18
RingerRings()
Class default constructor.
std::vector< float > & rings()
Acessor methods.
unsigned int size() const
void print(MsgStream &log) const
Prints some debug message.
const float & operator[](const unsigned int i) const
float & at(const unsigned int i)
std::vector< float > m_rings
Definition RingerRings.h:21
int r
Definition globals.cxx:22