#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 27 of file MEChannel.cc.
|
private |
Definition at line 42 of file MEChannel.cc.
References _d, d(), and MEChannel().
Referenced by getDaughter().
|
inline |
Definition at line 23 of file MEChannel.h.
References _d, cuy::ii, and n().
Referenced by addDaughter().
MEChannel * MEChannel::getAncestor | ( | int | ig | ) |
Definition at line 71 of file MEChannel.cc.
References _ig, getAncestor(), and m().
Referenced by getAncestor(), and ig().
MEChannel * MEChannel::getChannel | ( | int | ix, |
int | iy | ||
) |
Definition at line 136 of file MEChannel.cc.
References _d, _ix, _iy, cuy::ii, and n().
Referenced by getChannel(), and ig().
MEChannel * MEChannel::getChannel | ( | int | ig, |
int | ix, | ||
int | iy | ||
) |
Definition at line 125 of file MEChannel.cc.
References _ig, _m, and getChannel().
MEChannel * MEChannel::getDaughter | ( | int | ix, |
int | iy, | ||
int | ig | ||
) |
Definition at line 33 of file MEChannel.cc.
References _d, addDaughter(), and cuy::ii.
Referenced by iy(), and ME::regTree().
MEChannel * MEChannel::getDescendant | ( | int | ig, |
int | ii | ||
) |
Definition at line 103 of file MEChannel.cc.
References getListOfDescendants(), id(), and cuy::ii.
Referenced by ig(), and ME::lmrTree().
MEChannel * MEChannel::getFirstDescendant | ( | int | ig | ) |
Definition at line 117 of file MEChannel.cc.
References getListOfDescendants().
Referenced by ig().
bool MEChannel::getListOfAncestors | ( | std::vector< MEChannel * > & | vec | ) |
Definition at line 62 of file MEChannel.cc.
References getListOfAncestors(), and m().
Referenced by getListOfAncestors(), and ig().
bool MEChannel::getListOfChannels | ( | std::vector< MEChannel * > & | vec | ) |
Definition at line 50 of file MEChannel.cc.
References _d, cuy::ii, n(), and convertSQLiteXML::ok.
Referenced by ig(), and oneLine().
bool MEChannel::getListOfDescendants | ( | std::vector< MEChannel * > & | vec | ) |
Definition at line 85 of file MEChannel.cc.
References _d, cuy::ii, and n().
Referenced by getDescendant(), getFirstDescendant(), getListOfDescendants(), and ig().
bool MEChannel::getListOfDescendants | ( | int | ig, |
std::vector< MEChannel * > & | vec | ||
) |
Definition at line 93 of file MEChannel.cc.
References _d, _ig, getListOfDescendants(), cuy::ii, and n().
int MEChannel::id | ( | ) | const |
|
inline |
Definition at line 29 of file MEChannel.h.
References _ig, getAncestor(), getChannel(), getDescendant(), getFirstDescendant(), getListOfAncestors(), getListOfChannels(), getListOfDescendants(), EcalTangentSkim_cfg::o, oneLine(), and print().
Referenced by iy().
|
inline |
Definition at line 18 of file MEChannel.h.
References _ix.
Referenced by MEChannel(), oneLine(), and oneWord().
|
inline |
Definition at line 19 of file MEChannel.h.
References _iy, getDaughter(), and ig().
Referenced by MEChannel(), oneLine(), and oneWord().
|
inline |
Definition at line 22 of file MEChannel.h.
References _m.
Referenced by getAncestor(), and getListOfAncestors().
|
inline |
Definition at line 28 of file MEChannel.h.
References _d.
Referenced by d(), getChannel(), getListOfChannels(), getListOfDescendants(), and print().
TString MEChannel::oneLine | ( | int | ig | ) |
Definition at line 170 of file MEChannel.cc.
References _id, _ig, 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, MillePedeFileConverter_cfg::out, ME::region, and ME::smName().
|
inline |
TString MEChannel::oneWord | ( | int | ig | ) |
Definition at line 249 of file MEChannel.cc.
References _id, _ig, ME::granularity, ME::iCrystal, ME::iEBM, ME::iEBP, ME::iEcalRegion, ME::iLMModule, ME::iLMRegion, ME::iSector, ME::iSuperCrystal, ix(), iy(), MEEBGeom::localCoord(), MillePedeFileConverter_cfg::out, and ME::region.
|
inline |
void MEChannel::print | ( | std::ostream & | o, |
bool | recursif = false |
||
) | const |
Definition at line 152 of file MEChannel.cc.
References _d, _id, _ig, _ix, _iy, ME::granularity, cuy::ii, findQualityFiles::jj, and n().
Referenced by ig().
|
private |
Definition at line 50 of file MEChannel.h.
Referenced by addDaughter(), d(), getChannel(), getDaughter(), getListOfChannels(), getListOfDescendants(), n(), print(), and ~MEChannel().
|
private |
Definition at line 60 of file MEChannel.h.
Referenced by id(), MEChannel(), oneLine(), oneWord(), and print().
|
private |
Definition at line 53 of file MEChannel.h.
Referenced by getAncestor(), getChannel(), getListOfDescendants(), id(), ig(), MEChannel(), oneLine(), oneWord(), and print().
|
private |
Definition at line 56 of file MEChannel.h.
Referenced by getChannel(), ix(), MEChannel(), and print().
|
private |
Definition at line 57 of file MEChannel.h.
Referenced by getChannel(), iy(), MEChannel(), and print().
|
private |
Definition at line 49 of file MEChannel.h.
Referenced by getChannel(), m(), and MEChannel().