Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Gauss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LAMBDA
Gauss
Commits
597b0968
Commit
597b0968
authored
6 years ago
by
Andrey Shevelev
Browse files
Options
Downloads
Patches
Plain Diff
change Gauss-Job.py LbDelphes.py and add xyReader.C
parent
a119a4e5
Branches
wip_ashevele
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Sim/LbDelphes/options/Gauss-Job.py
+2
-2
2 additions, 2 deletions
Sim/LbDelphes/options/Gauss-Job.py
Sim/LbDelphes/options/LbDelphes.py
+4
-1
4 additions, 1 deletion
Sim/LbDelphes/options/LbDelphes.py
Sim/LbDelphes/options/xyReader.C
+25
-0
25 additions, 0 deletions
Sim/LbDelphes/options/xyReader.C
with
31 additions
and
3 deletions
Sim/LbDelphes/options/Gauss-Job.py
+
2
−
2
View file @
597b0968
...
...
@@ -19,12 +19,12 @@ from Configurables import LHCbApp
LHCbApp
().
DDDBtag
=
"
dddb-20170721-3
"
LHCbApp
().
CondDBtag
=
"
sim-20170721-2-vc-md100
"
#
eventType = '56000400'#photon particle gun
eventType
=
'
56000400
'
#photon particle gun
#eventType = '30000000'#min bias
#eventType = '13102201'#Bs-> phi gamma
#eventType = '562000001'#pi0 particle gun
#eventType = '12163401'#B+-> D0 K, D0 -> K pi pi0 (CF)
eventType
=
'
13102201
'
#Bs->phi gamma, phi->kk
#
eventType = '13102201'#Bs->phi gamma, phi->kk
#eventType="13112001"#Bs->MuMu
#LHCbApp().OutputLevel=DEBUG
...
...
This diff is collapsed.
Click to expand it.
Sim/LbDelphes/options/LbDelphes.py
+
4
−
1
View file @
597b0968
...
...
@@ -34,7 +34,10 @@ def delphesForGauss():
#PGPrimaryVertex().OutputLevel=DEBUG
PGPrimaryVertex
().
OutputVerticesName
=
'
/Event/Rec/Vertex/Primary
'
PGPrimaryVertex
().
InputVerticesName
=
'
/Event/MCFast/MCVertices
'
DelphesAlg
().
LHCbDelphesCardLocation
=
'
$LBDELPHESROOT/options/
'
+
c
.
name
+
'
.tcl
'
# DelphesAlg().LHCbDelphesCardLocation = '$LBDELPHESROOT/options/'+c.name+'.tcl'
DelphesAlg
().
LHCbDelphesCardLocation
=
'
$LBDELPHESROOT/options/cards/delphes_card_LHCb_EndVelo_Rich2_withEcal.tcl
'
# delphes_card_LHCb_EndVelo_Rich2_withEcal.tcl
DelphesAlg
().
DelphesTrackLocation
=
'
FinalTrackMerger/tracks
'
#DelphesAlg().OutputLevel=DEBUG
...
...
This diff is collapsed.
Click to expand it.
Sim/LbDelphes/options/xyReader.C
0 → 100644
+
25
−
0
View file @
597b0968
#include
"TFile.h"
#include
"TTree.h"
#include
"TStyle.h"
#include
"TH2.h"
#include
"TGaxis.h"
void
xyReader
(
const
char
*
filename
){
TFile
*
file1
=
TFile
::
Open
(
filename
);
TDirectory
*
dir
=
file1
->
GetDirectory
(
"DelphesTuple"
);
TTree
*
rec_tree
=
(
TTree
*
)
dir
->
Get
(
"Rec"
);
TTree
*
gen_tree
=
(
TTree
*
)
dir
->
Get
(
"Gen"
);
rec_tree
->
SetMarkerStyle
(
2
);
rec_tree
->
SetMarkerColor
(
kRed
);
gen_tree
->
SetMarkerStyle
(
2
);
gen_tree
->
SetMarkerColor
(
kBlue
);
rec_tree
->
Draw
(
"x:y>>hist1(80,-3880,3880,80,-3880,3880)"
,
""
,
""
);
gen_tree
->
Draw
(
"(x+thetaX*(12650.5-z)):(y+thetaY*(12650.5-z))>>hist2(80,-3880,3880,80,-3880,3880)"
,
""
,
"same"
);
TLegend
*
legend
=
new
TLegend
(
0
.
8
,
0
.
8
,
0
.
95
,
0
.
95
);
legend
->
AddEntry
(
"hist2"
,
"Gen"
,
"le"
);
legend
->
AddEntry
(
"hist1"
,
"Rec"
,
"P"
);
legend
->
Draw
();
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment