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