28 for (
unsigned ii = 0;
ii <
_d.size();
ii++) {
34 for (
unsigned ii = 0;
ii <
_d.size();
ii++) {
35 if (
_d[
ii]->
id() == id_) {
55 for (
unsigned ii = 0;
ii <
n();
ii++) {
56 bool ok =
_d[
ii]->getListOfChannels(vec);
64 if (mother !=
nullptr) {
65 vec.push_back(mother);
76 if (mother !=
nullptr) {
86 for (
unsigned ii = 0;
ii <
n();
ii++) {
87 vec.push_back(
_d[
ii]);
88 _d[
ii]->getListOfDescendants(vec);
94 for (
unsigned ii = 0;
ii <
n();
ii++) {
96 if (curLeaf->
_ig ==
ig)
97 vec.push_back(curLeaf);
104 std::vector<MEChannel*> vec;
109 for (
unsigned int ii = 0;
ii < vec.size();
ii++) {
111 if (leaf->
id() == id_)
118 std::vector<MEChannel*> vec;
130 while (
ig != leaf->
_ig) {
144 for (
unsigned ii = 0;
ii <
n();
ii++) {
158 o <<
"NDau=" <<
n() <<
" ";
160 o <<
"ix=" <<
_ix <<
" iy=" <<
_iy <<
" ";
164 for (
unsigned jj = 0;
jj <
n();
jj++) {
165 _d[
jj]->print(
o,
true);
188 int side_ = p_.second;
237 std::vector<MEChannel*> _channels;
239 int nchan = _channels.size();
static XYCoord localCoord(int icr)
MEChannel * getChannel(int ix, int iy)
static const TString region[iSizeE]
MEChannel * getDaughter(int ix, int iy, int ig)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
bool getListOfAncestors(std::vector< MEChannel *> &)
MEChannel * getDescendant(int ig, int ii)
static const TString granularity[iSizeG]
static std::pair< int, int > dccAndSide(int ilmr)
std::vector< MEChannel * > _d
void print(std::ostream &o, bool recursif=false) const
MEChannel * addDaughter(int ix, int iy, int ii)
std::pair< EBLocalCoord, EBLocalCoord > XYCoord
std::pair< int, edm::FunctionWithDict > OK
MEChannel * getFirstDescendant(int ig)
bool getListOfChannels(std::vector< MEChannel *> &)
MEChannel * getAncestor(int ig)
static TString smName(int ilmr)
MEChannel(int ix, int iy, int ii, MEChannel *mother)
bool getListOfDescendants(std::vector< MEChannel *> &)
MEChannel * d(unsigned ii)