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) {
138 if (ix ==
_ix && iy ==
_iy) {
144 for (
unsigned ii = 0;
ii <
n();
ii++) {
145 leaf =
_d[
ii]->getChannel(ix, iy);
155 o << ME::granularity[
ii] <<
"=" <<
_id[
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)
bool getListOfDescendants(std::vector< MEChannel * > &)
MEChannel * getChannel(int ix, int iy)
bool getListOfChannels(std::vector< MEChannel * > &)
static TString granularity[iSizeG]
bool getListOfAncestors(std::vector< MEChannel * > &)
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
MEChannel * getDescendant(int ig, int ii)
void print(std::ostream &o, bool recursif=false) const
static std::pair< int, int > dccAndSide(int ilmr)
std::vector< MEChannel * > _d
MEChannel * addDaughter(int ix, int iy, int ii)
std::pair< EBLocalCoord, EBLocalCoord > XYCoord
std::pair< int, edm::FunctionWithDict > OK
side_(iConfig.getUntrackedParameter< int >("side", 3))
MEChannel * getFirstDescendant(int ig)
MEChannel * getAncestor(int ig)
static TString smName(int ilmr)
MEChannel(int ix, int iy, int ii, MEChannel *mother)
MEChannel * d(unsigned ii)