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
2f96c67e
Commit
2f96c67e
authored
Jul 21, 2017
by
Vratislav Chudoba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Parametrization of Spectra() solved.
parent
a389fc81
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
671 additions
and
388 deletions
+671
-388
BeAnalysis.cpp
Be/BeAnalysis.cpp
+362
-378
BeAnalysis.h
Be/BeAnalysis.h
+39
-10
ES1_7590.cxx
macros/BeCorrPRC/ES1_7590.cxx
+270
-0
No files found.
Be/BeAnalysis.cpp
View file @
2f96c67e
This diff is collapsed.
Click to expand it.
Be/BeAnalysis.h
View file @
2f96c67e
...
...
@@ -13,6 +13,7 @@
//#include <TObject.h>
#include "TChain.h"
#include "TCut.h"
#include "TCanvas.h"
using
std
::
cout
;
using
std
::
endl
;
...
...
@@ -23,6 +24,14 @@ public:
virtual
~
BeAnalysis
();
ClassDef
(
BeAnalysis
,
1
);
void
SetExpChain
(
TString
files
,
Int_t
minFnumber
,
Int_t
maxFnumber
);
void
SetSimChains
(
TString
chainAl0name
,
TString
chainNoAl0name
,
TString
chainAl180name
,
TString
chainNoAl180name
,
TString
chainAl90name
,
TString
chainNoAl90name
);
void
SetInputChains
(
TString
inputAl0name
,
TString
inputNoAl0name
,
TString
inputAl180name
,
TString
inputNoAl180name
,
TString
inputAl90name
,
TString
inputNoAl90name
);
void
SetNoSimFiles
(
Int_t
*
minFnumber
=
0
,
Int_t
*
maxFnumber
=
0
);
void
OpenSimChains
();
void
OpenExpChain
();
...
...
@@ -34,11 +43,13 @@ public:
void
SetCuts
();
void
SetCMAngularRange
(
Int_t
minAngle
,
Int_t
maxAngle
);
private
:
void
SetCMAngularCuts
();
public
:
void
SetRangeProportion
(
Float_t
rangeProportion
=
1
.
1
,
Bool_t
autoRange
=
1
);
void
SetNoExpEvents
();
void
SetNoSimEvents
();
void
SetNoExpEvents
(
Long64_t
*
noExpEvents
=
0
);
void
SetNoSimEvents
(
Long64_t
*
noSimEvents
=
0
);
void
SetRatiosGStoEX
();
void
ExpEventsECuts
();
void
SimEventsECuts
();
...
...
@@ -49,15 +60,25 @@ public:
void
CosThetaTk
();
void
EpsilonY
();
void
CosThetaYk
();
void
ThetaP1T
();
void
ThetaAT
();
void
SetFigures
(
TString
figPath
=
"figures/"
,
TString
figFormat
=
".eps"
,
Bool_t
kSave
=
1
);
//
private
:
TChain
*
che
;
//chain with experimental trees
TChain
*
chs
[
6
];
//array of chains with simulation trees
TTree
*
ti
[
6
];
//array of chains with simulation input
Int_t
lowExpFile
;
Int_t
upExpFile
;
TString
expFiles
;
TString
simFiles
[
6
];
TString
inputFiles
[
6
];
Int_t
lowSimFile
[
6
];
Int_t
upSimFile
[
6
];
Int_t
kMinAngle
;
Int_t
kMaxAngle
;
...
...
@@ -71,7 +92,6 @@ private:
Bool_t
*
epsilonY
;
//!
Bool_t
*
cosThetaY
;
//!
// Bool_t *thetaP1T; //!
Bool_t
*
thetaAT
;
//!
Bool_t
kAutoRange
;
...
...
@@ -80,12 +100,12 @@ private:
Float_t
kRangeProportionIn
;
Long64_t
eMaxEvents
;
Long64_t
eEventsAl0
;
Long64_t
eEventsNoAl0
;
Long64_t
eEventsAl180
;
Long64_t
eEventsNoAl180
;
Long64_t
eEventsAl90
;
Long64_t
eEventsNoAl90
;
//
Long64_t eEventsAl0;
//
Long64_t eEventsNoAl0;
//
Long64_t eEventsAl180;
//
Long64_t eEventsNoAl180;
//
Long64_t eEventsAl90;
//
Long64_t eEventsNoAl90;
Long64_t
eEvents
[
6
];
Long64_t
sMaxEvents
;
...
...
@@ -175,8 +195,17 @@ private:
TString
hsName
;
TString
heName
;
TString
hiName
;
TString
canvasName
;
TString
canvasTitle
;
Bool_t
kSaveFigures
;
TString
figurePath
;
TString
figureFormat
;
private
:
void
SaveFigures
(
TCanvas
*
canvas
,
TString
variable
,
Int_t
interval
);
};
#endif
/* BE_BEANALYSIS_H_ */
macros/BeCorrPRC/ES1_7590.cxx
0 → 100644
View file @
2f96c67e
This diff is collapsed.
Click to expand it.
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