22 fBranchingRatio = 0.0;
38 fBranchingRatio = branching;
40 for(
int i=0;
i<nDaughters;
i++) {
42 edm::LogError(
"DecayChannel")<<
"From explicit constructor: Number of daughters bigger than the maximum allowed one (" <<
kMaxDaughters <<
") !!";
49 for(
int i=0;
i<
n;
i++) {
51 edm::LogError(
"DecayChannel")<<
"From SetDaughters(): Number of daughters bigger than the maximum allowed one (" <<
kMaxDaughters <<
") !!";
59 edm::LogError(
"DecayChannel")<<
"From AddDaughter(): Number of daughters is already >= than the maximum allowed one (" <<
kMaxDaughters <<
") !!";
66 edm::LogError(
"DecayChannel")<<
"From GetDaughterPDG(): Daughter index required is too big or less than zero!! There are only " <<
fNDaughters <<
" secondaries in this channel !!";
69 return fDaughtersPDG[
i];
int fDaughtersPDG[kMaxDaughters]
const reco::GenParticle * mother(const reco::GenParticle &p, unsigned int imoth=0)
int GetDaughterPDG(int i)
void SetDaughters(int *values, int n)
void AddDaughter(int pdg)