New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dijet Prompt DQM for JEC #19873
Dijet Prompt DQM for JEC #19873
Conversation
A new Pull Request was created by @bobaekim (Bobae Kim) for master. It involves the following packages: DQMOffline/Trigger @vazzolini, @kmaeshima, @dmitrijus, @cmsbuild, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
couldn't you make use of the generic |
return; | ||
} | ||
for ( reco::PFJetCollection::const_iterator ibegin = offjets->begin(), iend = offjets->end(), ijet = ibegin; ijet != iend; ++ijet ) { | ||
if (ijet->pt()< 20) {continue;} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why don't you make use of a jetSelector ?
//---- Additional DiJet offline selection------ | ||
bool DiJetMonitor::dijet_selection(double eta_1, double phi_1, double eta_2, double phi_2, double pt_1, double pt_2, int &tag_id, int &probe_id){ | ||
bool passeta; //check that one of the jets in the barrel | ||
if (abs(eta_1)< 1.3 || abs(eta_2) < 1.3 ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, do not use hard coded / magic numbers
|
||
float delta_phi_1_2= (phi_1 - phi_2); | ||
bool other_cuts;//check that jets are back to back | ||
if (abs(delta_phi_1_2) >= 2.7) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no magic number w/in the code, please
# DiPFjetAve320 | ||
DiPFjetAve320_Prommonitoring = DiPFjetAve40_Prommonitoring.clone() | ||
DiPFjetAve320_Prommonitoring.FolderName = cms.string('HLT/JetMET/HLT_DiPFJetAve320/') | ||
DiPFjetAve320_Prommonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_DiPFJetAve320_v*") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to make use of the variable binning for the pt distribution
shouldn't you need the eta-phi plot as well ? |
Dear mia,
Thank you for your comments.
- I'm modifying code using generic code.
- About dijet offline selection, when Anastasia asked me to make a code,
she gave me this selection code.
So I used it.
I don't understand 'magic number in code' about dijet offline selection.
If you don't mind, could you let me know ?
- About the eta-phi plot, when Anastasia asked me to make histograms,
eta-phi plot isn't included.
So I didn't make eta-phi plot.
Thank you.
Bobae
2017-07-24 12:56 GMT+02:00 mia tosi <notifications@github.com>:
… shouldn't you need the eta-phi plot as well ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19873 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARJbYwSziP06azjlHI6WhP9bBonNkg9Zks5sRHhRgaJpZM4Ogtf1>
.
|
ciao
On Tue, Jul 25, 2017 at 9:34 AM, Bobae Kim ***@***.***> wrote:
Dear mia,
Thank you for your comments.
- I'm modifying code using generic code.
thanks
- About dijet offline selection, when Anastasia asked me to make a code,
she gave me this selection code.
So I used it.
I don't understand 'magic number in code' about dijet offline selection.
If you don't mind, could you let me know ?
I think it is not good practice having hard-coded numbers in the code
- About the eta-phi plot, when Anastasia asked me to make histograms,
eta-phi plot isn't included.
So I didn't make eta-phi plot.
it is a request of TSG coordinators and STEAM group ;)
…
Thank you.
Bobae
2017-07-24 12:56 GMT+02:00 mia tosi ***@***.***>:
> shouldn't you need the eta-phi plot as well ?
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#19873 (comment)>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
ARJbYwSziP06azjlHI6WhP9bBonNkg9Zks5sRHhRgaJpZM4Ogtf1>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19873 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AEt58xnaMgW5rhYBdx05UJEZrkXZZCauks5sRZppgaJpZM4Ogtf1>
.
|
tracked by #19142 |
Dear mia,
Thank you for your reply fast and letting me know those.
As your comment, I'll also add eta-phi plot.
Thank you a lot.
Bobae
2017-07-25 10:25 GMT+02:00 mia tosi <notifications@github.com>:
… ciao
On Tue, Jul 25, 2017 at 9:34 AM, Bobae Kim ***@***.***>
wrote:
> Dear mia,
>
> Thank you for your comments.
>
> - I'm modifying code using generic code.
>
> thanks
> - About dijet offline selection, when Anastasia asked me to make a code,
> she gave me this selection code.
> So I used it.
> I don't understand 'magic number in code' about dijet offline selection.
> If you don't mind, could you let me know ?
>
I think it is not good practice having hard-coded numbers in the code
>
> - About the eta-phi plot, when Anastasia asked me to make histograms,
> eta-phi plot isn't included.
> So I didn't make eta-phi plot.
>
it is a request of TSG coordinators and STEAM group ;)
>
> Thank you.
> Bobae
>
>
> 2017-07-24 12:56 GMT+02:00 mia tosi ***@***.***>:
>
> > shouldn't you need the eta-phi plot as well ?
> >
> > —
> > You are receiving this because you were mentioned.
> > Reply to this email directly, view it on GitHub
> > <#19873 (comment)>,
or
> mute
> > the thread
> > <https://github.com/notifications/unsubscribe-auth/
> ARJbYwSziP06azjlHI6WhP9bBonNkg9Zks5sRHhRgaJpZM4Ogtf1>
> > .
>
> >
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#19873 (comment)>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AEt58xnaMgW5rhYBdx05UJEZrkXZZCauks5sRZppgaJpZM4Ogtf1>
> .
>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19873 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARJbYyV44_1q6Gc_24ksHQ6kPzXuUzFYks5sRaGQgaJpZM4Ogtf1>
.
|
It's been over a week, please post the update to the code ASAP. |
Dear Bocci,
Sorry for late replying.
I'm testing this code.
I'll update soon.
Thank you.
2017-08-04 0:31 GMT+09:00 Andrea Bocci <notifications@github.com>:
… It's been over a week, please post the update to the code ASAP.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#19873 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ARJbY27HVeujRoN3hKAR0_EQLbuZsPBwks5sUefdgaJpZM4Ogtf1>
.
|
-1 I think we can afford a 1mb of memory. But not the printouts...
|
@bobaekim is this PR still needed? |
Dear all, |
please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
Dear all, Best regards, |
@bobaekim thanks, please also check the output messages, according to the test lots of lines are added to the log files... |
Dear all, I'll update PR here. Best regards, |
Update dijet prompt dqm (#19873)
///Trigger Paths///
HLT_DiPFJetAve40
HLT_DiPFJetAve60
HLT_DiPFJetAve80
HLT_DiPFJetAve140
HLT_DiPFJetAve200
HLT_DiPFJetAve260
HLT_DiPFJetAve320
HLT_DiPFJetAve400
HLT_DiPFJetAve500
HLT_DiPFJetAve60_HFJEC
HLT_DiPFJetAve80_HFJEC
HLT_DiPFJetAve100_HFJEC
HLT_DiPFJetAve160_HFJEC
HLT_DiPFJetAve220_HFJEC
HLT_DiPFJetAve300_HFJEC
///Histograms///
pt_1 : pt of leading jet passed trigger and w/o offline selection
pt_2 : pt of second leading jet passed trigger and w/o offline selection
pt_avg_b : using (pt_1 + pt_2) * 0.5 , pt average before offline selection
pt_tag : tag jet passed trigger and offline selection satisfied with fabs(eta) < 1.3
pt_prb : probe jet passed trigger and offline selection, satisfied with fabs(eta) > 1.3 among pt_1 and pt_2
(If both pt_1 and pt_2 are satisfied with fabs(eta) < 1.3, tag and probe are randomly selected.)
pt_asym : using (pt_prb - pt_tag)/(pt_tag + pt_prb), asymmetry of pt_tag and pt_prb
pt_avg_a : using (pt_tab + pt_prb) * 0.5 , pt average after offline selection
eta_prb : eta of probe jet
pt_Asym_VS_eta_prb : 2D historgram of pt_asym and eta_prb
Anastasia asked.