Replies: 4 comments 3 replies
-
Hi,
You can modify the code generated by the theta distribution. That’s the easiest. The other option would be to code everything from scratch in the expert mode of MadAnalysis5.
Cheers,
Benjamin
… On 18 Apr 2023, at 14:10, Abhik Sarkar ***@***.***> wrote:
In MadAnalysis plot function, there is an option to plot THETA but no option to plot cos THETA. How can we customize the code to give cos THETA distribution instead of THETA?
—
Reply to this email directly, view it on GitHub <#189>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ3J7LTC2QQT3KRBPW3XB2ACVANCNFSM6AAAAAAXCREHPM>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi,
The code is located in ```Build/SampleAnalyzer/User/Analyzer/```. Once modified, then you can go back to ```Build```, recompile and rerun.
Cheers,
Benjamin
… On 18 Apr 2023, at 14:37, Abhik Sarkar ***@***.***> wrote:
Hi, Benjamin. Can you give a little bit of details about the PATH of the generated code for theta distribution? In the output folder, I can see some codes for plotting the histos. But can we modify them from theta to cos theta? The evenly spaced theta intervals won't be evenly spaced for cos theta.
—
Reply to this email directly, view it on GitHub <#189 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ2EABILJBNAHIDX4D3XB2DH7ANCNFSM6AAAAAAXCREHPM>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi Abhik,
Have you run the setup script (setup.sh, located in Build)?
Cheers,
Benjamin
… On 19 Apr 2023, at 10:17, Abhik Sarkar ***@***.***> wrote:
I did the modification in the code, however when I tried the command make in the Build directory, it returned with following error:
-e --------------------------------------------------------
-e Building MadAnalysis Job
-e --------------------------------------------------------
-e The shared library /tools/SampleAnalyzer/Lib/libcommons_for_ma5.so is not found
-e 1) Please check that MadAnalysis 5 is installed in the folder :
-e 2) Launch MadAnalysis 5 in normal mode in order to build this library.
-e
make: *** [Makefile:53: library_check] Error 1
Is there any other way to recompile this particular analysis?
—
Reply to this email directly, view it on GitHub <#189 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJZRPR5QLWINPQBJQ4LXB6NSRANCNFSM6AAAAAAXCREHPM>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Have you tried “source setup.sh” ?
Cheers,
Benjamin
… On 20 Apr 2023, at 09:53, Abhik Sarkar ***@***.***> wrote:
I tried to run the setup script file using:
sh setup.sh
as well as
chmod + x setup.sh
./setup.sh
Both returned:
./setup.sh: 30: [[: not found
I then tried:
bash setup.sh
It returned:
Your environment is properly configured for MA5
But both didn't compile the script. And same goes for setup.csh
—
Reply to this email directly, view it on GitHub <#189 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AIWJNJ4BORUNUDB4PPGNN2LXCDTPPANCNFSM6AAAAAAXCREHPM>.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
abhika2s
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In MadAnalysis plot function, there is an option to plot THETA but no option to plot cos THETA. How can we customize the code to give cos THETA distribution instead of THETA?
Beta Was this translation helpful? Give feedback.
All reactions