-
Notifications
You must be signed in to change notification settings - Fork 81
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
Tidying up Offline Event Display #460
Conversation
Hi @sophiemiddleton,
which require these tests: build. @Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on master. The following users requested to be notified about changes to these packages: ⌛ The following tests have been triggered for 95c4258: build (Build queue has 2 jobs) |
Sophie: When you say "Dave's PR" you mean 455, right I see that you already merged in Dave's branch for 455 into your PR. This creates a situation that I don't think that I have seen before and there is something that I don't understand. Maybe its perfectly OK or maybe it's not - I just don't know. I have added Richie and Andrei as reviewers in the hope that one of them knows the answer. The issue is that your branch was branched from master 10 PR merges after Dave branch was. So when you merged Dave's branch into yours, did that undo some or all of the intervening ten merges? For the record here is the PR merge history:
I have some ideas on how to start answer the question but I hope someone has already encountered this and knows the answer. |
Ok. That was really dumb on my part. I left in the --dry-run. So it was not supposed to do anything. Did you try it after removing --dry-run You can remove the parti file - it's nothing. |
bash-4.2$ git mv CRVResponse/efficiencyCheck/CRV_Efficiency_check.fcl CRVResponse/test/efficiencyCheck/CRV_Efficiency_check.fcl |
Before you do the git mv you need to mkdir the output directory
mkdir -p CRVResponse/test/efficiencyCheck
Rob
Ok. That was really dumb on my part. I left in the --dry-run. So it was not supposed to do anything.
Did you try it after removing --dry-run
You can remove the parti file - it's nothing.
bash-4.2$ git mv CRVResponse/efficiencyCheck/CRV_Efficiency_check.fcl CRVResponse/test/efficiencyCheck/CRV_Efficiency_check.fcl
fatal: renaming 'CRVResponse/efficiencyCheck/CRV_Efficiency_check.fcl' failed: No such file or directory
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mu2e_Offline_pull_460-23issuecomment-2D850545739&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=R3Ly93RqC8WKKag2VGwhpS_8d2F6eh8mh-4YtW_XDOw&s=gjpf5LPC7Akqcx7YotbKxvwUfe-QNKviyXoEA5SQo7Y&e=>, or unsubscribe<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABHY5ZWRBT37T2XRQUSOLIDTP7C35ANCNFSM45OBAQHA&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=R3Ly93RqC8WKKag2VGwhpS_8d2F6eh8mh-4YtW_XDOw&s=zd3CQoj20kUW8AjM2z--JnTR-bgq2Xm2DUzwET43Hig&e=>.
|
This worked |
What is the plan for merging the current head of Offline into this PR? I'd
like to verify that JobConfig and Mu2eKinKal are unaffected before this PR
is merged into Offline.
Dave
…On Fri, May 28, 2021 at 10:16 AM Sophie Middleton ***@***.***> wrote:
This worked
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub
<#460 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAH57ZLS33DFGMGT5B3ZI3TP7FV3ANCNFSM45OBAQHA>
.
--
David Nathan Brown ***@***.***
Office Phone (510) 486-7261 Fax 495-2957
Lawrence Berkeley National Lab
MS 50R5008 (50-6026C) Berkeley, CA 94720
|
I can merge in the main branch is we think this is a good idea....let me know what you think |
Hi Dave,
The complaints from GitHub are an error on the GitHub side that we don’t know how to diagnose.
I have cloned Offline and added Mackenzie’s branch as a remote. I have done two tests:
1. Merge her branch directly into master
2. Merge master into her branch and then merge that into master
The two produce identical final states. Neither produces conflicts.
Next I diff’ed the output of 2 against mu2e/master. The output of
git diff --name-status origin/master
is listed below. Note that all files are in TEveEventDisplay. Sophie does it look like everything is there.
Based on this I recommend that we proceed as follows:
1. Mackenzie merge mu2e/master into her branch and push
2. Run CI tests
3. If CI passes, merge the PR
The alternative is to hand fix each of the files listed on GitHub as conflicts – that’s straightforward but tedious and error prone.
Any other ideas?
Rob
A TEveEventDisplay/CallerFclExamples/POT.fcl
D TEveEventDisplay/CallerFclExamples/cosmicExample.fcl
M TEveEventDisplay/CallerFclExamples/cosmictracks.fcl
M TEveEventDisplay/README.md
M TEveEventDisplay/fcl/prolog.fcl
M TEveEventDisplay/src/Collection_Filler.cc
M TEveEventDisplay/src/Geom_Interface.cc
M TEveEventDisplay/src/TEveEventDisplay_module.cc
M TEveEventDisplay/src/TEveMu2eCRV.cc
M TEveEventDisplay/src/TEveMu2eCRVEvent.cc
M TEveEventDisplay/src/TEveMu2eCalorimeter.cc
M TEveEventDisplay/src/TEveMu2eCluster.cc
M TEveEventDisplay/src/TEveMu2eCustomHelix.cc
M TEveEventDisplay/src/TEveMu2eDataInterface.cc
M TEveEventDisplay/src/TEveMu2eHit.cc
M TEveEventDisplay/src/TEveMu2eMCInterface.cc
M TEveEventDisplay/src/TEveMu2eMCTraj.cc
M TEveEventDisplay/src/TEveMu2eMainWindow.cc
M TEveEventDisplay/src/TEveMu2eProjectionInterface.cc
M TEveEventDisplay/src/TEveMu2eStraightTrack.cc
M TEveEventDisplay/src/TEveMu2eTracker.cc
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCRVEvent.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCluster.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCustomHelix.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eDataInterface.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eHit.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMCInterface.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMCTraj.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eStraightTrack.h
M TEveEventDisplay/src/dict_classes/Collection_Filler.h
M TEveEventDisplay/src/dict_classes/Geom_Interface.h
D TEveEventDisplay/src/oldprolog.fcl
M TEveEventDisplay/src/shape_classes/TEveMu2eCRV.h
M TEveEventDisplay/src/shape_classes/TEveMu2eCalorimeter.h
M TEveEventDisplay/src/shape_classes/TEveMu2eTracker.h
From: David Brown ***@***.***>
Reply-To: Mu2e/Offline ***@***.***>
Date: Friday, May 28, 2021 at 1:13 PM
To: Mu2e/Offline ***@***.***>
Cc: Rob Kutschke ***@***.***>, Mention ***@***.***>
Subject: Re: [Mu2e/Offline] Tidying up Offline Event Display (#460)
What is the plan for merging the current head of Offline into this PR? I'd
like to verify that JobConfig and Mu2eKinKal are unaffected before this PR
is merged into Offline.
Dave
A TEveEventDisplay/CallerFclExamples/POT.fcl
D TEveEventDisplay/CallerFclExamples/cosmicExample.fcl
M TEveEventDisplay/CallerFclExamples/cosmictracks.fcl
M TEveEventDisplay/README.md
M TEveEventDisplay/fcl/prolog.fcl
M TEveEventDisplay/src/Collection_Filler.cc
M TEveEventDisplay/src/Geom_Interface.cc
M TEveEventDisplay/src/TEveEventDisplay_module.cc
M TEveEventDisplay/src/TEveMu2eCRV.cc
M TEveEventDisplay/src/TEveMu2eCRVEvent.cc
M TEveEventDisplay/src/TEveMu2eCalorimeter.cc
M TEveEventDisplay/src/TEveMu2eCluster.cc
M TEveEventDisplay/src/TEveMu2eCustomHelix.cc
M TEveEventDisplay/src/TEveMu2eDataInterface.cc
M TEveEventDisplay/src/TEveMu2eHit.cc
M TEveEventDisplay/src/TEveMu2eMCInterface.cc
M TEveEventDisplay/src/TEveMu2eMCTraj.cc
M TEveEventDisplay/src/TEveMu2eMainWindow.cc
M TEveEventDisplay/src/TEveMu2eProjectionInterface.cc
M TEveEventDisplay/src/TEveMu2eStraightTrack.cc
M TEveEventDisplay/src/TEveMu2eTracker.cc
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCRVEvent.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCluster.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eCustomHelix.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eDataInterface.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eHit.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMCInterface.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMCTraj.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eMainWindow.h
M TEveEventDisplay/src/TEveMu2e_base_classes/TEveMu2eStraightTrack.h
M TEveEventDisplay/src/dict_classes/Collection_Filler.h
M TEveEventDisplay/src/dict_classes/Geom_Interface.h
D TEveEventDisplay/src/oldprolog.fcl
M TEveEventDisplay/src/shape_classes/TEveMu2eCRV.h
M TEveEventDisplay/src/shape_classes/TEveMu2eCalorimeter.h
M TEveEventDisplay/src/shape_classes/TEveMu2eTracker.h
|
Yes, this looks like everything from my point of view |
Hi Rob,
That’s a good test. Please proceed as you see fit.
David Brown
… On May 28, 2021, at 12:20, Rob Kutschke ***@***.***> wrote:
Since Dave asked the question, we should wait to hear what he has to say.
From: Sophie Middleton ***@***.***>
Reply-To: Mu2e/Offline ***@***.***>
Date: Friday, May 28, 2021 at 2:08 PM
To: Mu2e/Offline ***@***.***>
Cc: Rob Kutschke ***@***.***>, Mention ***@***.***>
Subject: Re: [Mu2e/Offline] Tidying up Offline Event Display (#460)
Yes, this looks like everything from my point of view
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mu2e_Offline_pull_460-23issuecomment-2D850612645&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=H4bnXQ5XgWrjyRpskMJzVXMydGT7qfs1tkV0mmQdSs0&s=9EC7oT-mmDHUrr8QUlLadnAKFnuGe3jJVZu8kuI_GeU&e=>, or unsubscribe<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ABHY5ZT4AHFBO67XT5RRYJLTP7S2PANCNFSM45OBAQHA&d=DwMCaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=Zi5IH-k2_JiK_Wipiv3pwwSXO9UNaHiLP8sisfPz__k&m=H4bnXQ5XgWrjyRpskMJzVXMydGT7qfs1tkV0mmQdSs0&s=BrSbhERjZbKNCrA9YRabQhil7Pnzn-0RCbyJmNCkDK0&e=>.
—
You are receiving this because you are on a team that was mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi Sophie,
Please merge mu2e/master into your branch and push. I will take it from there.
Rob
From: David Brown ***@***.***>
Reply-To: Mu2e/Offline ***@***.***>
Date: Friday, May 28, 2021 at 2:24 PM
To: Mu2e/Offline ***@***.***>
Cc: Rob Kutschke ***@***.***>, Mention ***@***.***>
Subject: Re: [Mu2e/Offline] Tidying up Offline Event Display (#460)
Hi Rob,
That’s a good test. Please proceed as you see fit.
David Brown
|
Ok, I am trying to pull the latest changes but I think I am suffering from the timeout issues seen by others earlier today:
|
Ok, retrying seems to work |
@FNALbuild run build tests |
⌛ The following tests have been triggered for beb2219: build (Build queue has 2 jobs) |
☀️ The tests passed at beb2219.
For more information, please check the job page here. |
I will merge this PR now. I have not done a proper look at the code from a software engineering point of view but we do need to do that some time. I did add two issues to the Offline GitHub issue tracker that were motivated by the short look that I did have: #461 and #462. Please keep these in mind has your move ahead. |
NOTE: To be merged after dbrown's latest PR
This PR includes lots of minor tidying of the Offline TEve display:
*Editing class parameters to use underscore
*Added descriptions above all functions to aid user understanding of what s being done
*Cut out lots of "junk" parameters from the MainWindow class
*Added in functionality to add an MCTrajectories at the PT, PS and inside the TS (more work to come on this)
*Added FCL parameter to allow user to select which particles are displayed and an appropriate colour scheme is used
Still to be done:
*Fix for 2D plotting error (this is due to the 2DProjectionInterface not clearing on every event, I am working on fix)
*Colour scheme needs adding to GUI (@NamithaChitrazee is working on this)