26 unsigned n()
const {
return _d.size(); }
39 void print(std::ostream&
o,
bool recursif=
false )
const;
49 std::vector< MEChannel* >
_d;
59 std::vector< int >
_id;
bool getListOfDescendants(std::vector< MEChannel * > &)
MEChannel * getChannel(int ix, int iy)
bool getListOfChannels(std::vector< MEChannel * > &)
const reco::GenParticle * mother(const reco::GenParticle &p, unsigned int imoth=0)
bool getListOfAncestors(std::vector< MEChannel * > &)
MEChannel * getDaughter(int ix, int iy, int ig)
MEChannel * getDescendant(int ig, int ii)
void print(std::ostream &o, bool recursif=false) const
MEChannel * addDaughter(int ix, int iy, int ii)
std::vector< MEChannel * > _d
MEChannel * getFirstDescendant(int ig)
MEChannel * getAncestor(int ig)
MEChannel(int ix, int iy, int ii, MEChannel *mother)
MEChannel * d(unsigned ii)