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
59525b13
Commit
59525b13
authored
Jul 27, 2017
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug with input histogram solved.
parent
4531f5d0
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
205 deletions
+46
-205
BeAnalysis.cpp
Be/BeAnalysis.cpp
+37
-140
BeAnalysis.h
Be/BeAnalysis.h
+9
-38
lib_test.cxx
macros/BeCorrPRC/lib_test.cxx
+0
-27
No files found.
Be/BeAnalysis.cpp
View file @
59525b13
This diff is collapsed.
Click to expand it.
Be/BeAnalysis.h
View file @
59525b13
...
@@ -36,6 +36,8 @@ public:
...
@@ -36,6 +36,8 @@ public:
void
OpenSimChains
();
void
OpenSimChains
();
void
OpenExpChain
();
void
OpenExpChain
();
void
SetNoBinsSpectra
(
Int_t
noBins
=
100
)
{
noBinsSpectra
=
noBins
;};
TChain
*
GetExpChain
()
{
return
che
;};
TChain
*
GetExpChain
()
{
return
che
;};
TChain
*
GetSimChain
(
Int_t
i
)
{
return
chs
[
i
];};
TChain
*
GetSimChain
(
Int_t
i
)
{
return
chs
[
i
];};
void
SetChainsToDraw
(
Bool_t
ch0
=
1
,
Bool_t
ch1
=
1
,
Bool_t
ch2
=
1
,
Bool_t
ch3
=
1
,
Bool_t
ch4
=
1
,
Bool_t
ch5
=
1
);
void
SetChainsToDraw
(
Bool_t
ch0
=
1
,
Bool_t
ch1
=
1
,
Bool_t
ch2
=
1
,
Bool_t
ch3
=
1
,
Bool_t
ch4
=
1
,
Bool_t
ch5
=
1
);
...
@@ -92,6 +94,8 @@ private:
...
@@ -92,6 +94,8 @@ private:
Int_t
lowSimFile
[
6
];
Int_t
lowSimFile
[
6
];
Int_t
upSimFile
[
6
];
Int_t
upSimFile
[
6
];
Int_t
noBinsSpectra
;
Int_t
kMinAngle
;
Int_t
kMinAngle
;
Int_t
kMaxAngle
;
Int_t
kMaxAngle
;
...
@@ -113,29 +117,11 @@ private:
...
@@ -113,29 +117,11 @@ private:
Float_t
kRangeProportionIn
;
Float_t
kRangeProportionIn
;
Long64_t
eMaxEvents
;
Long64_t
eMaxEvents
;
// Long64_t eEventsAl0;
// Long64_t eEventsNoAl0;
// Long64_t eEventsAl180;
// Long64_t eEventsNoAl180;
// Long64_t eEventsAl90;
// Long64_t eEventsNoAl90;
Long64_t
eEvents
[
6
];
Long64_t
eEvents
[
6
];
Long64_t
sMaxEvents
;
Long64_t
sMaxEvents
;
Long64_t
sEventsAl0
;
Long64_t
sEventsNoAl0
;
Long64_t
sEventsAl180
;
Long64_t
sEventsNoAl180
;
Long64_t
sEventsAl90
;
Long64_t
sEventsNoAl90
;
Long64_t
sEvents
[
6
];
Long64_t
sEvents
[
6
];
TCut
sRatioAl0
;
TCut
sRatioNoAl0
;
TCut
sRatioAl180
;
TCut
sRatioNoAl180
;
TCut
sRatioAl90
;
TCut
sRatioNoAl90
;
TCut
sRatio
[
6
];
TCut
sRatio
[
6
];
Long64_t
eEventsECuts
[
5
][
6
];
//!
Long64_t
eEventsECuts
[
5
][
6
];
//!
...
@@ -147,8 +133,6 @@ private:
...
@@ -147,8 +133,6 @@ private:
TCut
cBe3
;
TCut
cBe3
;
TCut
cBeWork
;
TCut
cBeWork
;
TCut
cBe0_14
;
TCut
cBe0_14
;
// TCut cBe0_14 = "fBeIM>0 && fBeIM<1.6";
// TCut cBe0_14 = "fBeIM>0 && fBeIM<1.20";
TCut
cBe14_19
;
TCut
cBe14_19
;
TCut
cBe19_25
;
TCut
cBe19_25
;
TCut
cBe25_31
;
TCut
cBe25_31
;
...
@@ -156,8 +140,6 @@ private:
...
@@ -156,8 +140,6 @@ private:
TCut
cBeE
[
5
];
TCut
cBeE
[
5
];
TCut
cEpsilonT
;
TCut
cEpsilonT
;
// TCut cEpsilonT = "fTpp/fBeIM<1.";
// TCut cEpsilonY = "fTap/fBeIM<0.5";
TCut
cEpsilonY
;
TCut
cEpsilonY
;
//raw files
//raw files
...
@@ -166,8 +148,6 @@ private:
...
@@ -166,8 +148,6 @@ private:
TCut
crBe3
;
TCut
crBe3
;
TCut
crBeWork
;
TCut
crBeWork
;
TCut
crBe0_14
;
TCut
crBe0_14
;
// TCut crBe0_14 = "f6BeIM>0 && f6BeIM<1.6";
// TCut crBe0_14 = "f6BeIM>0.5 && f6BeIM<1.20";
TCut
crBe14_19
;
TCut
crBe14_19
;
TCut
crBe19_25
;
TCut
crBe19_25
;
TCut
crBe25_31
;
TCut
crBe25_31
;
...
@@ -175,31 +155,22 @@ private:
...
@@ -175,31 +155,22 @@ private:
TCut
crBeE
[
5
];
TCut
crBeE
[
5
];
//angular cuts
//angular cuts
// TCut crEpsilonT = "fTpp/f6BeIM>0.8";
TCut
crEpsilonT
;
TCut
crEpsilonT
;
// TCut crEpsilonT = "fTpp/f6BeIM<1.";
// TCut crEpsilonY = "fTap/f6BeIM<0.5";
TCut
crEpsilonY
;
TCut
crEpsilonY
;
//simulation input
//simulation input
TCut
ciBe0_14
;
// TCut ciBe0_14;
// TCut ciBe0_14 = "E_IM>0 && E_IM<1.6";
// TCut ciBe14_19;
// TCut ciBe0_14 = "E_IM>0.5 && E_IM<1.20";
// TCut ciBe19_25;
TCut
ciBe14_19
;
// TCut ciBe25_31;
TCut
ciBe19_25
;
// TCut ciBe31_37;
TCut
ciBe25_31
;
TCut
ciBe31_37
;
TCut
ciBeE
[
5
];
TCut
ciBeE
[
5
];
TCut
ciEpsilon
;
TCut
ciEpsilon
;
// TCut ciEpsilon = "sTpp/E_IM<1.";
// TCut ciEpsilonY = "sTap/E_IM<0.5";
TCut
ciEpsilonY
;
TCut
ciEpsilonY
;
TCut
cQ
;
TCut
cQ
;
TCut
cProtons
;
TCut
cProtons
;
// TCut cProtons = "fP1Lab.fE-938.272<34 && fP2Lab.fE-938.272<34 && fP1Lab.fE-938.272>1 && fP2Lab.fE-938.272>1";
Bool_t
spectra
;
Bool_t
spectra
;
...
...
macros/BeCorrPRC/lib_test.cxx
deleted
100755 → 0
View file @
4531f5d0
void
lib_test
()
{
BeAnalysis
ana
;
ana
.
OpenExpChain
();
ana
.
OpenSimChains
();
ana
.
SetCMAngularRange
(
60
,
75
);
ana
.
SetCMAngularCuts
();
ana
.
SetRangeProportion
();
ana
.
SetNoExpEvents
();
ana
.
SetNoSimEvents
();
ana
.
SetRatiosGStoEX
();
// ana.Spectra();
ana
.
ExpEventsECuts
();
ana
.
SimEventsECuts
();
ana
.
EpsilonTRange
();
// ana.EpsilonT();
// ana.CosThetaTk();
// ana.EpsilonY();
// ana.CosThetaYk();
ana
.
ThetaAT
();
}
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