#include <MEChannel.h>
Public Member Functions | |
MEChannel * | d (unsigned ii) |
MEChannel * | getAncestor (int ig) |
MEChannel * | getChannel (int ix, int iy) |
MEChannel * | getChannel (int ig, int ix, int iy) |
MEChannel * | getDaughter (int ix, int iy, int ig) |
MEChannel * | getDescendant (int ig, int ii) |
MEChannel * | getFirstDescendant (int ig) |
bool | getListOfAncestors (std::vector< MEChannel * > &) |
bool | getListOfChannels (std::vector< MEChannel * > &) |
bool | getListOfDescendants (std::vector< MEChannel * > &) |
bool | getListOfDescendants (int ig, std::vector< MEChannel * > &) |
int | id () const |
int | ig () const |
int | ix () const |
int | iy () const |
MEChannel * | m () |
MEChannel (int ix, int iy, int ii, MEChannel *mother) | |
unsigned | n () const |
TString | oneLine (int ig) |
TString | oneLine () |
TString | oneWord (int ig) |
TString | oneWord () |
void | print (std::ostream &o, bool recursif=false) const |
virtual | ~MEChannel () |
Private Member Functions | |
MEChannel * | addDaughter (int ix, int iy, int ii) |
Private Attributes | |
std::vector< MEChannel * > | _d |
std::vector< int > | _id |
int | _ig |
int | _ix |
int | _iy |
MEChannel * | _m |
Definition at line 12 of file MEChannel.h.
MEChannel::MEChannel | ( | int | ix, |
int | iy, | ||
int | ii, | ||
MEChannel * | mother | ||
) |
|
virtual |
Definition at line 33 of file MEChannel.cc.
|
private |
Definition at line 55 of file MEChannel.cc.
References _d, d(), and MEChannel().
Referenced by getDaughter().
|
inline |
Definition at line 25 of file MEChannel.h.
References _d, cuy::ii, and n().
Referenced by addDaughter().
MEChannel * MEChannel::getAncestor | ( | int | ig | ) |
Definition at line 97 of file MEChannel.cc.
References _ig, getAncestor(), and m().
Referenced by getAncestor().
MEChannel * MEChannel::getChannel | ( | int | ix, |
int | iy | ||
) |
Definition at line 172 of file MEChannel.cc.
References _d, _ix, _iy, cuy::ii, python.Node::leaf, and n().
Referenced by getChannel().
MEChannel * MEChannel::getChannel | ( | int | ig, |
int | ix, | ||
int | iy | ||
) |
Definition at line 159 of file MEChannel.cc.
References _ig, _m, assert(), getChannel(), and python.Node::leaf.
MEChannel * MEChannel::getDaughter | ( | int | ix, |
int | iy, | ||
int | ig | ||
) |
Definition at line 42 of file MEChannel.cc.
References _d, addDaughter(), and cuy::ii.
Referenced by ME::regTree().
MEChannel * MEChannel::getDescendant | ( | int | ig, |
int | ii | ||
) |
Definition at line 135 of file MEChannel.cc.
References getListOfDescendants(), id(), cuy::ii, and python.Node::leaf.
Referenced by ME::lmrTree().
MEChannel * MEChannel::getFirstDescendant | ( | int | ig | ) |
Definition at line 150 of file MEChannel.cc.
References getListOfDescendants().
bool MEChannel::getListOfAncestors | ( | std::vector< MEChannel * > & | vec | ) |
Definition at line 85 of file MEChannel.cc.
References getListOfAncestors(), and m().
Referenced by getListOfAncestors().
bool MEChannel::getListOfChannels | ( | std::vector< MEChannel * > & | vec | ) |
Definition at line 69 of file MEChannel.cc.
References _d, assert(), cuy::ii, n(), and convertSQLiteXML::ok.
Referenced by oneLine().
bool MEChannel::getListOfDescendants | ( | std::vector< MEChannel * > & | vec | ) |
Definition at line 112 of file MEChannel.cc.
References _d, cuy::ii, and n().
Referenced by getDescendant(), getFirstDescendant(), and getListOfDescendants().
bool MEChannel::getListOfDescendants | ( | int | ig, |
std::vector< MEChannel * > & | vec | ||
) |
Definition at line 123 of file MEChannel.cc.
References _d, _ig, getListOfDescendants(), cuy::ii, and n().
int MEChannel::id | ( | ) | const |
|
inline |
|
inline |
Definition at line 20 of file MEChannel.h.
References _ix.
Referenced by MEChannel(), oneLine(), and oneWord().
|
inline |
Definition at line 21 of file MEChannel.h.
References _iy.
Referenced by MEChannel(), oneLine(), and oneWord().
|
inline |
Definition at line 24 of file MEChannel.h.
References _m.
Referenced by getAncestor(), and getListOfAncestors().
|
inline |
Definition at line 26 of file MEChannel.h.
References _d.
Referenced by d(), getChannel(), getListOfChannels(), getListOfDescendants(), and print().
TString MEChannel::oneLine | ( | int | ig | ) |
Definition at line 219 of file MEChannel.cc.
References _id, _ig, assert(), ME::dccAndSide(), getListOfChannels(), ME::granularity, ME::iCrystal, ME::iEBM, ME::iEBP, ME::iEcalRegion, ME::iLMModule, ME::iLMRegion, ME::iSector, ME::iSuperCrystal, ix(), iy(), MEEBGeom::localCoord(), nchan, dbtoconf::out, ME::region, and ME::smName().
|
inline |
TString MEChannel::oneWord | ( | int | ig | ) |
Definition at line 295 of file MEChannel.cc.
References _id, _ig, assert(), ME::granularity, ME::iCrystal, ME::iEBM, ME::iEBP, ME::iEcalRegion, ME::iLMModule, ME::iLMRegion, ME::iSector, ME::iSuperCrystal, ix(), iy(), MEEBGeom::localCoord(), dbtoconf::out, and ME::region.
|
inline |
void MEChannel::print | ( | std::ostream & | o, |
bool | recursif = false |
||
) | const |
Definition at line 193 of file MEChannel.cc.
References _d, _id, _ig, _ix, _iy, ME::granularity, cuy::ii, findQualityFiles::jj, and n().
|
private |
Definition at line 49 of file MEChannel.h.
Referenced by addDaughter(), d(), getChannel(), getDaughter(), getListOfChannels(), getListOfDescendants(), n(), print(), and ~MEChannel().
|
private |
Definition at line 59 of file MEChannel.h.
Referenced by id(), MEChannel(), oneLine(), oneWord(), and print().
|
private |
Definition at line 52 of file MEChannel.h.
Referenced by getAncestor(), getChannel(), getListOfDescendants(), id(), ig(), MEChannel(), oneLine(), oneWord(), and print().
|
private |
Definition at line 55 of file MEChannel.h.
Referenced by getChannel(), ix(), MEChannel(), and print().
|
private |
Definition at line 56 of file MEChannel.h.
Referenced by getChannel(), iy(), MEChannel(), and print().
|
private |
Definition at line 48 of file MEChannel.h.
Referenced by getChannel(), m(), and MEChannel().