#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(), ix(), iy(), 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, g, getAncestor(), and m().
Referenced by getAncestor().
MEChannel * MEChannel::getChannel | ( | int | ix, |
int | iy | ||
) |
Definition at line 136 of file MEChannel.cc.
References _d, _ix, _iy, cuy::ii, ix(), iy(), and n().
Referenced by getChannel().
MEChannel * MEChannel::getChannel | ( | int | ig, |
int | ix, | ||
int | iy | ||
) |
Definition at line 125 of file MEChannel.cc.
References _ig, _m, cms::cuda::assert(), getChannel(), ig(), ix(), and iy().
MEChannel * MEChannel::getDaughter | ( | int | ix, |
int | iy, | ||
int | ig | ||
) |
Definition at line 33 of file MEChannel.cc.
References _d, addDaughter(), cuy::ii, ix(), and iy().
Referenced by ME::regTree().
MEChannel * MEChannel::getDescendant | ( | int | ig, |
int | ii | ||
) |
Definition at line 103 of file MEChannel.cc.
References getListOfDescendants(), id(), ig(), and cuy::ii.
Referenced by ME::lmrTree().
MEChannel * MEChannel::getFirstDescendant | ( | int | ig | ) |
Definition at line 117 of file MEChannel.cc.
References getListOfDescendants(), and ig().
bool MEChannel::getListOfAncestors | ( | std::vector< MEChannel *> & | vec | ) |
Definition at line 62 of file MEChannel.cc.
References getListOfAncestors(), and m().
Referenced by getListOfAncestors().
bool MEChannel::getListOfChannels | ( | std::vector< MEChannel *> & | vec | ) |
Definition at line 50 of file MEChannel.cc.
References _d, cms::cuda::assert(), cuy::ii, n(), and convertSQLiteXML::ok.
Referenced by 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(), and getListOfDescendants().
bool MEChannel::getListOfDescendants | ( | int | ig, |
std::vector< MEChannel *> & | vec | ||
) |
Definition at line 93 of file MEChannel.cc.
References _d, _ig, getListOfDescendants(), ig(), cuy::ii, and n().
int MEChannel::id | ( | ) | const |
|
inline |
Definition at line 29 of file MEChannel.h.
References _ig.
Referenced by getChannel(), getDescendant(), getFirstDescendant(), getListOfDescendants(), oneLine(), and oneWord().
|
inline |
Definition at line 18 of file MEChannel.h.
References _ix.
Referenced by addDaughter(), getChannel(), getDaughter(), MEChannel(), oneLine(), and oneWord().
|
inline |
Definition at line 19 of file MEChannel.h.
References _iy.
Referenced by addDaughter(), getChannel(), getDaughter(), 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, cms::cuda::assert(), ME::dccAndSide(), getListOfChannels(), ME::granularity, ME::iCrystal, ME::iEBM, ME::iEBP, ME::iEcalRegion, ig(), ME::iLMModule, ME::iLMRegion, ME::iSector, ME::iSuperCrystal, ix(), iy(), MEEBGeom::localCoord(), 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, cms::cuda::assert(), ME::granularity, ME::iCrystal, ME::iEBM, ME::iEBP, ME::iEcalRegion, ig(), 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, n(), and EcalTangentSkim_cfg::o.
|
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().