#include <PADdata.h>
Definition at line 15 of file PADdata.h.
◆ PATTERNSlist
◆ PatternsList
◆ PADdata() [1/2]
| PADdata::PADdata |
( |
CMAdata * | cma_data, |
|
|
unsigned long int | debug ) |
Definition at line 9 of file PADdata.cxx.
9 :
11{
13
15 CMAdata::PatternsList::const_iterator CMApatterns = cma_patterns.begin();
16
17 while(CMApatterns != cma_patterns.end())
18 {
20 ++CMApatterns;
21 }
22}
BaseObject(ObjectType, const std::string &)
PatternsList give_patterns(void)
std::list< CMApatterns * > PatternsList
PATTERNSlist m_pad_patterns
void create_pad_patterns(CMApatterns *)
unsigned long int m_debug
unsigned long int debug(void) const
◆ PADdata() [2/2]
| PADdata::PADdata |
( |
const PADdata & | pad_data | ) |
|
Definition at line 24 of file PADdata.cxx.
24 :
28{
29}
const std::string & name() const
const PATTERNSlist & pad_patterns(void) const
◆ ~PADdata()
◆ create_pad_patterns()
| void PADdata::create_pad_patterns |
( |
CMApatterns * | cma_patterns | ) |
|
|
private |
Definition at line 47 of file PADdata.cxx.
48{
50 const int sector = cma_patterns->
sector();
53 else {
54 PADpatterns thePatterns(sector,pad_id,
m_debug);
55 thePatterns.load_cma_patterns(cma_patterns);
57 }
58}
const CMAidentity & id() const
const CMAparameters & cma_parameters(void) const
PADpatterns * find(const int, const int)
std::vector< std::string > patterns
◆ debug()
| unsigned long int PADdata::debug |
( |
void | | ) |
const |
|
inline |
◆ find()
| PADpatterns * PADdata::find |
( |
const int | sector, |
|
|
const int | pad_id ) |
|
private |
Definition at line 62 of file PADdata.cxx.
63{
66 {
67 if((*it).pad_id() == pad_id &&
68 (*it).sector() == sector ) return &(*it);
70 }
71
72 return 0;
73}
◆ give_patterns()
Definition at line 77 of file PADdata.cxx.
78{
80
82
84 {
86 ++pad;
87 }
88
90}
std::list< PADpatterns * > PatternsList
◆ name()
| const std::string & BaseObject::name |
( |
| ) |
const |
|
inlineinherited |
◆ operator=()
◆ pad_patterns()
◆ Print()
| void PADdata::Print |
( |
std::ostream & | stream, |
|
|
bool | detail ) const |
|
virtual |
Reimplemented from BaseObject.
Definition at line 121 of file PADdata.cxx.
122{
125 << " pad patterns " << std::endl;
126
127 PATTERNSlist::const_iterator pad =
pad_patterns().begin();
128
130 {
131 (*pad).Print(stream,detail);
132 ++pad;
133 }
134}
◆ PrintElement()
| void PADdata::PrintElement |
( |
std::ostream & | stream, |
|
|
std::string | element, |
|
|
bool | detail ) const |
Definition at line 93 of file PADdata.cxx.
95{
96 bool all = (element ==
name() || element ==
"")?
true : false;
98 bool printed = false;
99
101 {
103 << " pad patterns:" << std::endl;
104 printed = true;
107 {
108 it->Print(stream,detail);
110 }
111 }
112
113 if(!printed)
114 {
115 if (element == "") element = "PADs";
116 stream <<
name() <<
" contains no " << element <<
"!" << std::endl;
117 }
118}
◆ tag()
◆ m_debug
| unsigned long int PADdata::m_debug |
|
private |
◆ m_name
| std::string BaseObject::m_name |
|
privateinherited |
◆ m_pad_patterns
◆ m_tag
The documentation for this class was generated from the following files: