Opened 7 years ago
Last modified 7 years ago
#1294 new Bug
how to find distance between two jets ?
Reported by: | Goko | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hello everyone,
I want to find distance between two jets.
I found MeanSqDeltaR in WorkBook/RootTreeDescription.
But ı dont know how to use it.
Can you please give the simplest example ?
Thank you.
Change History (4)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Thank you so much for your help.
With Example1.py it works very well.
I printed all DeltaR values and filled histo with this values.
But my Analyzer is C++. It's going to take time to write my analyzer again in python.
Can you help me to do this in C++ ?
Because i modified Example2.C to create myAnalyzer.C
if i would add DeltaR to my analzyer it would be great.
Thank you so much.
see examples/Example1.py.
You can change it to the following: