Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Be_libraries
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vratislav Chudoba
Be_libraries
Commits
4531f5d0
Commit
4531f5d0
authored
Jul 26, 2017
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Interval 90-120 added.
parent
554f7bb1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
125 additions
and
0 deletions
+125
-0
ES1_90120.cxx
macros/BeCorrPRC/ES1_90120.cxx
+125
-0
No files found.
macros/BeCorrPRC/ES1_90120.cxx
0 → 100644
View file @
4531f5d0
void
ES1_90120
()
{
//open chain with Be events only and draw E_Be
//order: al0, noal0, al180, noal180
TStopwatch
sw
;
sw
.
Start
();
BeAnalysis
ana
;
ana
.
SetCMAngularRange
(
90
,
120
);
// ana.SetFigures("figures/", ".eps");
// ana.SetChainsToDraw(0, 0, 0, 0, 1, 1);
ana
.
SetChainsToDraw
();
Bool_t
epsilonT
[
6
]
=
{
0
,
0
,
1
,
0
,
0
};
Bool_t
cosThetaT
[
6
]
=
{
0
,
0
,
1
,
0
,
0
};
Bool_t
epsilonY
[
6
]
=
{
0
,
0
,
1
,
0
,
0
};
Bool_t
cosThetaY
[
6
]
=
{
0
,
0
,
1
,
0
,
0
};
Bool_t
thetaAT
[
6
]
=
{
0
,
0
,
1
,
0
,
0
};
ana
.
SetSpectra
();
ana
.
SetEpsilonTintervals
(
epsilonT
);
ana
.
SetEpsilonTintervals
();
ana
.
SetCosThetaTkIntervals
(
cosThetaT
);
ana
.
SetCosThetaTkIntervals
();
ana
.
SetEpsilonYintervals
(
epsilonY
);
ana
.
SetEpsilonYintervals
();
ana
.
SetCosThetaYkIntervals
(
cosThetaY
);
ana
.
SetCosThetaYkIntervals
();
ana
.
SetThetaATintervals
(
thetaAT
);
ana
.
SetThetaATintervals
();
ana
.
SetExpChain
(
"../../../be/rootdata/correlations/v5_exp/Be."
,
0
,
40
);
const
Long64_t
eMaxEvents
=
5000000
;
Long64_t
eEvents
[
6
]
=
{
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
};
ana
.
SetNoExpEvents
(
eEvents
);
const
Long64_t
sMaxEvents
=
3000000
;
Long64_t
sEvents
[
6
]
=
{
2280000
,
2290000
,
2100000
,
2300000
,
2330000
,
2300000
};
ana
.
SetNoSimEvents
(
sEvents
);
Int_t
lowSimFile
[
6
]
=
{
0
,
0
,
0
,
0
,
0
,
0
};
Int_t
upSimFile
[
6
]
=
{
6
,
6
,
6
,
6
,
6
,
6
};
ana
.
SetNoSimFiles
(
lowSimFile
,
upSimFile
);
ana
.
SetSimChains
(
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_al_0_80-130_"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_noal_0_80-130_"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_al_180_80-130_"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_noal_180_80-130_"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_al_90_80-130_"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_noal_90_80-130_"
);
ana
.
SetInputChains
(
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_al_0_80-130_000.root"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_noal_0_80-130_000.root"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_al_180_80-130_000.root"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_noal_180_80-130_000.root"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_al_90_80-130_000.root"
,
"../../../be/rootdata/correlations/v5_90120/Sim_mix_br_noal_90_80-130_000.root"
);
ana
.
OpenExpChain
();
ana
.
OpenSimChains
();
ana
.
SetRatiosGStoEX
(
"sRatio>0.108 && sRatio<0.158"
,
"sRatio>0.104 && sRatio<0.154"
,
"sRatio>0.0109 && sRatio<0.159"
,
"sRatio>0.103 && sRatio<0.153"
,
"sRatio>0.101 && sRatio<0.151"
,
"sRatio>0.104 && sRatio<0.154"
);
ana
.
SetCuts
();
Long64_t
eEventsECuts
[
5
][
6
]
=
{
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
,
eMaxEvents
};
ana
.
ExpEventsECuts
(
eEventsECuts
);
Long64_t
sEventsECuts
[
5
][
6
]
=
{
2300000
,
2310000
,
2130000
,
2330000
,
2320000
,
2310000
,
2260000
,
2270000
,
2010000
,
2280000
,
2280000
,
2280000
,
sMaxEvents
,
sMaxEvents
,
2290000
,
sMaxEvents
,
sMaxEvents
,
sMaxEvents
,
3270000
,
sMaxEvents
,
sMaxEvents
,
sMaxEvents
,
sMaxEvents
,
sMaxEvents
,
2320000
,
2330000
,
2100000
,
2340000
,
2370000
,
2340000
};
ana
.
SimEventsECuts
(
sEventsECuts
);
ana
.
SetRangeProportion
(
1.1
,
1
);
///////////////////////////////////////////////////////////////////////////////////
ana
.
Spectra
();
sw
.
Print
();
sw
.
Continue
();
ana
.
EpsilonT
();
sw
.
Print
();
sw
.
Continue
();
ana
.
CosThetaTk
();
sw
.
Print
();
sw
.
Continue
();
ana
.
EpsilonY
();
sw
.
Print
();
sw
.
Continue
();
ana
.
CosThetaYk
();
sw
.
Print
();
sw
.
Continue
();
ana
.
ThetaAT
();
sw
.
Print
();
sw
.
Continue
();
Info
(
"ES1_90120.cxx"
,
"Finished."
);
return
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment