what is the value that Particle_Mother1 return?
This bug report was converted into a question: question #219978: what is the value that Particle_Mother1 return?.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MadGraph5_aMC@NLO |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hello,
Right now I am trying to identity B_jet from Higgs. So first I need to choose B_jets, then to check whether the B_jet comes from Higgs or not. Here is my code:
std:
std:
std:
std:
for(int i = 0; i < Particle_size; i++){
if (abs(Particle_
}
}
for(int i = 0; i < B_Jet_PT.size(); i++){
int a = Particle_
if (Particle_PID[a] == 25) {
}
}
But there are some wired things. First the value of a is 0 0 2 3, I do not know what exactly that means. Then the value of Particle_PID[a] is 21 21 21 1000023, it is not Higgs. Could you tell me HOW I can modify the code. Thank you very much. Have a nice night.
Convert this to a question since this is clearly not a bug of MG5.