Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NeuRad_tests
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vratislav Chudoba
NeuRad_tests
Commits
fd7a67a8
Commit
fd7a67a8
authored
Jan 24, 2017
by
Muzalevsky I.A
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge Aevent.h
parent
c4aaa9d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
+6
-14
AEvent.h
dataClasses/AEvent.h
+1
-1
testShowGraphs.cxx
macros/testShowGraphs.cxx
+5
-13
No files found.
dataClasses/AEvent.h
View file @
fd7a67a8
...
@@ -120,7 +120,7 @@ public:
...
@@ -120,7 +120,7 @@ public:
//in range of (tmin,tmax) in ns)
//in range of (tmin,tmax) in ns)
//CFD time is taken as a start point
//CFD time is taken as a start point
void
SetLED
(
Double_t
threshold
=
0
.
001
);
//
void SetLED(Double_t threshold = 0.001);
//leading edge discriminator
//leading edge discriminator
private
:
private
:
...
...
macros/testShowGraphs.cxx
View file @
fd7a67a8
...
@@ -5,13 +5,11 @@ void testShowGraphs()
...
@@ -5,13 +5,11 @@ void testShowGraphs()
const
Long64_t
kFirstEvent
=
128
;
const
Long64_t
kFirstEvent
=
128
;
TFile
fr
(
"../data/dataDSR4/analysis_08_2.root"
);
TFile
fr
(
"../data/dataDSR4/Neurad_7_08_NEW.root"
);
// TFile fr("../data/dataDSR4/analysis_07_8.root");
// TFile fr("../data/dataDSR4/analysis_07_8.root");
<<<<<<<
HEAD
// TFile fr("../data/dataDSR4/Neurad_081216_2NEW.root");
TFile
fr
(
"../data/dataDSR4/Neurad_081216_2NEW.root"
);
=======
// TFile fr("../data/dataTektronix/exp18.root");
// TFile fr("../data/dataTektronix/exp18.root");
>>>>>>>
1612
d04b19c3139e125a1642bdb0763585790d84
// TFile fr("../data/dataTektronix/analysisExp7.root");
// TFile fr("../data/dataTektronix/analysisExp7.root");
TTree
*
tr
=
(
TTree
*
)
fr
.
Get
(
"atree"
);
TTree
*
tr
=
(
TTree
*
)
fr
.
Get
(
"atree"
);
...
@@ -49,27 +47,21 @@ void testShowGraphs()
...
@@ -49,27 +47,21 @@ void testShowGraphs()
// cout << "warning 3" << endl;
// cout << "warning 3" << endl;
TCanvas
*
c1
=
new
TCanvas
(
"c1"
,
"test"
,
10
,
10
,
1000
,
600
);
TCanvas
*
c1
=
new
TCanvas
(
"c1"
,
"test"
,
10
,
10
,
1000
,
600
);
<<<<<<<
HEAD
//c1->Divide(3,2);
//c1->Divide(3,2);
=======
c1
->
Divide
(
3
,
4
);
c1
->
Divide
(
3
,
4
);
>>>>>>>
1612
d04b19c3139e125a1642bdb0763585790d84
TF1
*
f1
=
new
TF1
(
"f1name"
,
"[0]+x*[1]"
);
TF1
*
f1
=
new
TF1
(
"f1name"
,
"[0]+x*[1]"
);
// TF1 *f1 = new TF1("pol1", );
// TF1 *f1 = new TF1("pol1", );
<<<<<<<
HEAD
/*for (Int_t k = 0; k < 6; k++) {
=======
for
(
Int_t
k
=
0
;
k
<
12
;
k
++
)
{
for
(
Int_t
k
=
0
;
k
<
12
;
k
++
)
{
>>>>>>> 1612d04b19c3139e125a1642bdb0763585790d84
c1
->
cd
(
k
+
1
);
c1
->
cd
(
k
+
1
);
gr
[
k
]
->
Draw
(
"AL*"
);
gr
[
k
]
->
Draw
(
"AL*"
);
//cout << t10[k] << "\t" << t90[k] << endl;
//cout << t10[k] << "\t" << t90[k] << endl;
//f1->SetRange(t10[k], t90[k]);
//f1->SetRange(t10[k], t90[k]);
//gr[k]->Fit(f1, "RQ");
//gr[k]->Fit(f1, "RQ");
}
*/
}
// c1->cd(2);
// c1->cd(2);
// tr->Draw("gAmp.Draw()","","goff",1,124);
// tr->Draw("gAmp.Draw()","","goff",1,124);
...
...
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