import two path in Madanalysis5

Asked by Sarah

Good morning

I am trying to plot to results (one in SM and the other in 2HDM).
I got a plot says (sm in pink and 2hdm in purple ) but in the figure there is only purple colour ( the result from 2HDM)

Didn't I suppose to get two different curves in the graph?

that is what I did
ma5>
import /mainfs/scratch/swa1a19/madgraph/MG5_aMC_v3_2_0/bin/PROC_2HDMtII_NLO_2/Events/run_10/unweighted_events.lhe as gg1
MA5: -> Storing the file 'unweighted_events.lhe' in the dataset 'gg1'.
ma5>import /mainfs/scratch/swa1a19/madgraph/MG5_aMC_v3_2_0/bin/PROC_loop_sm_0/Events/run_01/unweighted_events.lhe as smgg
MA5: -> Storing the file 'unweighted_events.lhe' in the dataset 'smgg'.
ma5>set main.lumi=100
ma5>plot M(e+[1] h2[1] e-[1]) 40 0 600 [logY ]
ma5>submit
ma5> open
QPainter::begin: Widget painting can only begin as a result of a paintEvent
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::hasClipping: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::setFont: Painter not active
QPainter::fontMetrics: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
Module "resources" is registered
Module "activities" is registered
Module "features" is registered
This is the current thread id for Activities 46947212596992 QThread(0x807b10)
These are the disabled plugins: ("activitymanager_plugin_dummy", "activitymanager_plugin_nepomuk")
Initializing plugin: "activitymanager_plugin_globalshortcuts"
This is the current thread id for Activities 46946835497856 QThread(0x7c3000)
Initializing plugin: "activitymanager_plugin_slc"
Initializing plugin: "activitymanager_plugin_virtualdesktopswitch"
VirtualDesktopSwitch::init
Module "org.kde.ActivityManager.VirtualDesktopSwitch" is registered
Initializing plugin: "activitymanager_plugin_activityranking"
running in thread ActivityRanking
Initializing plugin: "activitymanager_plugin_sqlite"
Module "org.kde.ActivityManager.Resources.Scoring" is registered
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
QFileSystemWatcher: failed to add paths: /mainfs/home/swa1a19/.kde/share/config/activitymanager-pluginsrc

best regards
Sarah

Question information

Language:
English Edit question
Status:
Answered
For:
MadAnalysis 5 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jack Y. Araz (jackaraz) said :
#1

Hi

You are plotting h2 (PDGID 35) there is no such particle in the SM.

Cheers
Jack

Revision history for this message
Sarah (sarahwarad) said :
#2

h2 is the sm Higgs
Do you how can I solve this?

Revision history for this message
Jack Y. Araz (jackaraz) said :
#3

Hi Sarah

h2 is not the SM higgs there is nothing to “solve”. In Ma5 interface (also in madgraph) the SM higgs is referred as h1 or h0. Each of these short cuts carry a pdgid please see the manual for more details.

Cheers


Jack Y. Araz

On Oct 23, 2021, at 10:35 AM, Sarah <<email address hidden><mailto:<email address hidden>>> wrote:

[EXTERNAL EMAIL]

Question #699194 on MadAnalysis 5 changed:
https://answers.launchpad.net/madanalysis5/+question/699194

Sarah posted a new comment:
h2 is the sm Higgs
Do you how can I solve this?

--
You received this question notification because you are an answer
contact for MadAnalysis 5.

Revision history for this message
FarahHk (farahj91) said :
#4

Hey, I tried to implement the same code but didn't get the right curve on the graph. How can I apply it on automotive spray paint website? You can check it here for details : https://holapaints.com/best-paint-sprayer-for-cars/

Revision history for this message
Jack Y. Araz (jackaraz) said :
#5

** MadAnalysis 5 has been mitigated to GitHub! If you have any questions or bug reports, please refer to the Issues section in our new GitHub repository. Launchpad will no longer be used.
 - GitHub Repository: https://github.com/MadAnalysis/madanalysis5
 - Issues: https://github.com/MadAnalysis/madanalysis5/issues
 - Latest MadAnalysis 5 release: https://github.com/MadAnalysis/madanalysis5/releases

Can you help with this problem?

Provide an answer of your own, or ask Sarah for more information if necessary.

To post a message you must log in.