#include <SLdata.h>
Definition at line 15 of file SLdata.h.
◆ PATTERNSlist
◆ PatternsList
◆ SLdata() [1/2]
| SLdata::SLdata |
( |
PADdata * | pad_data, |
|
|
unsigned long int | debug ) |
Definition at line 8 of file SLdata.cxx.
8 :
10{
12
14 PADdata::PatternsList::const_iterator PADpatterns = pad_patterns.begin();
15
16 while(PADpatterns != pad_patterns.end())
17 {
19 ++PADpatterns;
20 }
21}
BaseObject(ObjectType, const std::string &)
PatternsList give_patterns(void)
std::list< PADpatterns * > PatternsList
void create_sl_patterns(PADpatterns *)
unsigned long int m_debug
PATTERNSlist m_sl_patterns
unsigned long int debug(void) const
◆ SLdata() [2/2]
| SLdata::SLdata |
( |
const SLdata & | sl_data | ) |
|
Definition at line 23 of file SLdata.cxx.
23 :
27{
28}
const std::string & name() const
const PATTERNSlist & sl_patterns(void) const
◆ ~SLdata()
◆ create_sl_patterns()
| void SLdata::create_sl_patterns |
( |
PADpatterns * | pad_patterns | ) |
|
|
private |
Definition at line 46 of file SLdata.cxx.
47{
49
50 const int sector = pad_patterns->
sector();
51
53 patterns->load_pad_patterns(pad_patterns);
54 else
55 {
57 patterns.load_pad_patterns(pad_patterns);
59 }
60}
SLpatterns * find(const int)
std::vector< std::string > patterns
◆ debug()
| unsigned long int SLdata::debug |
( |
void | | ) |
const |
|
inline |
◆ find()
Definition at line 64 of file SLdata.cxx.
65{
68 {
69 if((*it).sector() == sector ) return &(*it);
71 }
72
73 return 0;
74}
◆ give_patterns()
Definition at line 78 of file SLdata.cxx.
79{
81
83
85 {
87 ++sl;
88 }
89
91}
std::list< SLpatterns * > PatternsList
◆ name()
| const std::string & BaseObject::name |
( |
| ) |
const |
|
inlineinherited |
◆ operator=()
◆ Print()
| void SLdata::Print |
( |
std::ostream & | stream, |
|
|
bool | detail ) const |
|
virtual |
Reimplemented from BaseObject.
Definition at line 122 of file SLdata.cxx.
123{
126 << " Sector Logic patterns " << std::endl;
127
128 PATTERNSlist::const_iterator sl =
sl_patterns().begin();
129
131 {
132 (*sl).Print(stream,detail);
133 ++sl;
134 }
135}
◆ PrintElement()
| void SLdata::PrintElement |
( |
std::ostream & | stream, |
|
|
std::string | element, |
|
|
bool | detail ) const |
Definition at line 94 of file SLdata.cxx.
96{
97 bool all = (element ==
name() || element ==
"")?
true : false;
99 bool printed = false;
100
101 if(nSL && (element == (*
m_sl_patterns.begin()).name() || all))
102 {
104 << " Sector Logic patterns:" << std::endl;
105 printed = true;
108 {
109 it->Print(stream,detail);
111 }
112 }
113
114 if(!printed)
115 {
116 if (element == "") element = "Sectors";
117 stream <<
name() <<
" contains no " << element <<
"!" << std::endl;
118 }
119}
◆ sl_patterns()
◆ tag()
◆ m_debug
| unsigned long int SLdata::m_debug |
|
private |
◆ m_name
| std::string BaseObject::m_name |
|
privateinherited |
◆ m_sl_patterns
◆ m_tag
The documentation for this class was generated from the following files: