ATLAS Offline Software
PADdata.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 #ifndef PADDATA_H
6 #define PADDATA_H
7 
8 #include <list>
10 
12 #include "TrigT1RPClogic/CMAdata.h"
13 
14 
15 class PADdata : public BaseObject
16 {
17  public:
18  typedef std::list < PADpatterns > PATTERNSlist;
19  typedef std::list < PADpatterns* > PatternsList;
20 
21  private:
22  unsigned long int m_debug;
24 
26  PADpatterns* find(const int,const int);
27 
28 
29  public:
30  PADdata(CMAdata*, unsigned long int );
31  PADdata(const PADdata&);
32  ~PADdata();
33 
34  PADdata operator=(const PADdata&);
35 
36 
37  unsigned long int debug(void) const {return m_debug;}
38 
39  const PATTERNSlist& pad_patterns(void) const {return m_pad_patterns;}
41 
42  void PrintElement(std::ostream&,std::string,bool) const;
43  void Print(std::ostream&,bool) const;
44 };
45 
46 template <class X> X& operator<<(X& stream,const PADdata& data)
47 {
48  std::ostringstream display;
49  data.Print(display,false);
50  stream << display.str();
51  return stream;
52 }
53 
54 
55 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
PADdata::m_pad_patterns
PATTERNSlist m_pad_patterns
Definition: PADdata.h:23
PADdata::PrintElement
void PrintElement(std::ostream &, std::string, bool) const
Definition: PADdata.cxx:93
BaseObject.h
PADdata::operator=
PADdata operator=(const PADdata &)
Definition: PADdata.cxx:37
CMAdata
Definition: CMAdata.h:19
AthenaPoolTestWrite.stream
string stream
Definition: AthenaPoolTestWrite.py:12
PADdata::PADdata
PADdata(CMAdata *, unsigned long int)
Definition: PADdata.cxx:9
Monitored::X
@ X
Definition: HistogramFillerUtils.h:24
PADpatterns
Definition: PADpatterns.h:20
CMAdata.h
PADdata::PatternsList
std::list< PADpatterns * > PatternsList
Definition: PADdata.h:19
PADdata::m_debug
unsigned long int m_debug
Definition: PADdata.h:22
PADdata
Definition: PADdata.h:16
PADdata::pad_patterns
const PATTERNSlist & pad_patterns(void) const
Definition: PADdata.h:39
PADdata::debug
unsigned long int debug(void) const
Definition: PADdata.h:37
PADdata::create_pad_patterns
void create_pad_patterns(CMApatterns *)
Definition: PADdata.cxx:47
pyroot.display
display
Definition: pyroot.py:44
PADdata::PATTERNSlist
std::list< PADpatterns > PATTERNSlist
Definition: PADdata.h:18
BaseObject
Definition: BaseObject.h:13
operator<<
X & operator<<(X &stream, const PADdata &data)
Definition: PADdata.h:46
PADpatterns.h
PADdata::Print
void Print(std::ostream &, bool) const
Definition: PADdata.cxx:121
PADdata::give_patterns
PatternsList give_patterns(void)
Definition: PADdata.cxx:77
CMApatterns
Definition: CMApatterns.h:21
PADdata::find
PADpatterns * find(const int, const int)
Definition: PADdata.cxx:62
PADdata::~PADdata
~PADdata()
Definition: PADdata.cxx:31