Opened 8 years ago
Closed 8 years ago
#1069 closed How to (fixed)
fUniqueID issue
Reported by: | namgyun | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description (last modified by )
Hello, I am Nam
Now I am trying to read fUniqueID.
Actually, I would like to read Mother particles information, in the macro, when I require like this
GenParticle *part = (GenParticle*) branchParticle->At(multi);) cout<<part.M1<<endl;
I receive the number or barcode, I guess, this is related with fUniqueID.
So, I would like to check GenParticles Mother particles.
Do you have any idea? Could you help me?
-Nam
Change History (3)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
comment:3 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Hello Nam,
part.M1 is an array index of the mother particle. So, accessing the mother particles can be done with the following code:
Best regards,
Pavel