Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
acc2go4
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
Pavel Sharov
acc2go4
Commits
ec74e750
Commit
ec74e750
authored
Sep 25, 2024
by
mbsdaq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modification of the crate configuration
parent
13493d00
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
252 additions
and
85 deletions
+252
-85
TNeAnalysis.cxx
TNeAnalysis.cxx
+45
-10
TNeAnalysis.h
TNeAnalysis.h
+9
-2
TNeEvent.cxx
TNeEvent.cxx
+19
-5
TNeEvent.h
TNeEvent.h
+19
-5
TNeProc.cxx
TNeProc.cxx
+139
-55
TNeProc.h
TNeProc.h
+21
-8
No files found.
TNeAnalysis.cxx
View file @
ec74e750
...
...
@@ -27,8 +27,15 @@ TNeAnalysis::TNeAnalysis()
:
fMbsEvent
(
0
)
,
fEvents
(
0
)
,
fLastEvent
(
0
)
,
p_T1xa
(
0
)
,
p_T1ya
(
0
)
,
p_Lxa
(
0
)
,
p_Lya
(
0
)
,
p_Rxa
(
0
)
,
p_Rya
(
0
)
,
p_RVa
(
0
)
,
p_R60a
(
0
)
,
p_AnSa
(
0
)
,
p_AnRa
(
0
)
,
p_AnVa
(
0
)
{
}
//***********************************************************
...
...
@@ -39,8 +46,15 @@ TNeAnalysis::TNeAnalysis(int argc, char** argv)
,
fMbsEvent
(
0
)
,
fEvents
(
0
)
,
fLastEvent
(
0
)
,
p_T1xa
(
0
)
,
p_T1ya
(
0
)
,
p_Lxa
(
0
)
,
p_Lya
(
0
)
,
p_Rxa
(
0
)
,
p_Rya
(
0
)
,
p_RVa
(
0
)
,
p_R60a
(
0
)
,
p_AnSa
(
0
)
,
p_AnRa
(
0
)
,
p_AnVa
(
0
)
{
cout
<<
"**** Create TNeAnalysis name: "
<<
argv
[
0
]
<<
endl
;
...
...
@@ -84,10 +98,24 @@ TNeAnalysis::TNeAnalysis(int argc, char** argv)
// At this point, autosave file has not yet been read!
// Therefore parameter values set here will be overwritten
// if an autosave file is there.
p_T1xa
=
new
TNeDet16
(
"T1xa"
);
p_T1ya
=
new
TNeDet16
(
"T1ya"
);
AddParameter
(
p_T1xa
);
AddParameter
(
p_T1ya
);
p_Lxa
=
new
TNeDet16
(
"Lxa"
);
p_Lya
=
new
TNeDet16
(
"Lya"
);
p_Rxa
=
new
TNeDet16
(
"Rxa"
);
p_Rya
=
new
TNeDet16
(
"Rya"
);
p_RVa
=
new
TNeDet16
(
"RVa"
);
p_R60a
=
new
TNeDet16
(
"R60a"
);
p_AnSa
=
new
TNeDet16
(
"AnSa"
);
p_AnRa
=
new
TNeDet16
(
"AnRa"
);
p_AnVa
=
new
TNeDet16
(
"AnVa"
);
AddParameter
(
p_Lxa
);
AddParameter
(
p_Lya
);
AddParameter
(
p_Rxa
);
AddParameter
(
p_Rya
);
AddParameter
(
p_RVa
);
AddParameter
(
p_R60a
);
AddParameter
(
p_AnSa
);
AddParameter
(
p_AnRa
);
AddParameter
(
p_AnVa
);
// pMTracks = new TNeMParms("MTRACKS");
// AddParameter(pMTracks);
...
...
@@ -126,8 +154,15 @@ Int_t TNeAnalysis::UserPreLoop()
}
fEvents
=
0
;
// event counter
fLastEvent
=
0
;
// number of last event processed
p_T1xa
->
ReadData
();
// p_T1ya->ReadData();>Z
p_Lxa
->
ReadData
();
p_Lya
->
ReadData
();
p_Rxa
->
ReadData
();
p_Rya
->
ReadData
();
p_RVa
->
ReadData
();
p_R60a
->
ReadData
();
p_AnSa
->
ReadData
();
p_AnRa
->
ReadData
();
p_AnVa
->
ReadData
();
return
0
;
...
...
TNeAnalysis.h
View file @
ec74e750
...
...
@@ -29,8 +29,15 @@ public:
virtual
Int_t
UserEventFunc
();
virtual
Int_t
UserPostLoop
();
TNeDet16
*
p_T1xa
;
TNeDet16
*
p_T1ya
;
TNeDet16
*
p_Lxa
;
TNeDet16
*
p_Lya
;
TNeDet16
*
p_Rxa
;
TNeDet16
*
p_Rya
;
TNeDet16
*
p_RVa
;
TNeDet16
*
p_R60a
;
TNeDet16
*
p_AnSa
;
TNeDet16
*
p_AnRa
;
TNeDet16
*
p_AnVa
;
// TNeMParms* pMTracks;
ClassDef
(
TNeAnalysis
,
1
)
...
...
TNeEvent.cxx
View file @
ec74e750
...
...
@@ -30,11 +30,25 @@ void TNeEvent::Clear(Option_t *t)
//== all members should be cleared.
//== memset(fRawData,0, sizeof(fRawData));
//==================================================================
// SQ
memset
(
T1xa
,
0
,
sizeof
(
T1xa
));
memset
(
T1xt
,
0
,
sizeof
(
T1xt
));
memset
(
T1ya
,
0
,
sizeof
(
T1ya
));
memset
(
T1yt
,
0
,
sizeof
(
T1yt
));
// Si
memset
(
Lxa
,
0
,
sizeof
(
Lxa
));
memset
(
Lxt
,
0
,
sizeof
(
Lxt
));
memset
(
Lya
,
0
,
sizeof
(
Lya
));
memset
(
Lyt
,
0
,
sizeof
(
Lyt
));
memset
(
Rxa
,
0
,
sizeof
(
Rxa
));
memset
(
Rxt
,
0
,
sizeof
(
Rxt
));
memset
(
Rya
,
0
,
sizeof
(
Rya
));
memset
(
Ryt
,
0
,
sizeof
(
Ryt
));
memset
(
RVa
,
0
,
sizeof
(
RVa
));
memset
(
RVt
,
0
,
sizeof
(
RVt
));
memset
(
R60a
,
0
,
sizeof
(
R60a
));
memset
(
R60t
,
0
,
sizeof
(
R60t
));
memset
(
AnSa
,
0
,
sizeof
(
AnSa
));
memset
(
AnSt
,
0
,
sizeof
(
AnSt
));
memset
(
AnRa
,
0
,
sizeof
(
AnRa
));
memset
(
AnRt
,
0
,
sizeof
(
AnRt
));
memset
(
AnVa
,
0
,
sizeof
(
AnVa
));
memset
(
AnVt
,
0
,
sizeof
(
AnVt
));
// ToF
memset
(
F3
,
0
,
sizeof
(
F3
));
...
...
TNeEvent.h
View file @
ec74e750
...
...
@@ -18,11 +18,25 @@ public:
/** Method called by the framework to clear the event element. */
void
Clear
(
Option_t
*
t
=
""
);
//-----SQ-----
unsigned
short
T1xa
[
16
];
unsigned
short
T1xt
[
16
];
unsigned
short
T1ya
[
16
];
unsigned
short
T1yt
[
16
];
//-----Si-----
unsigned
short
Lxa
[
16
];
unsigned
short
Lxt
[
16
];
unsigned
short
Lya
[
16
];
unsigned
short
Lyt
[
16
];
unsigned
short
Rxa
[
16
];
unsigned
short
Rxt
[
16
];
unsigned
short
Rya
[
16
];
unsigned
short
Ryt
[
16
];
unsigned
short
RVa
[
16
];
unsigned
short
RVt
[
16
];
unsigned
short
R60a
[
16
];
unsigned
short
R60t
[
16
];
unsigned
short
AnSa
[
16
];
unsigned
short
AnSt
[
16
];
unsigned
short
AnRa
[
16
];
unsigned
short
AnRt
[
16
];
unsigned
short
AnVa
[
16
];
unsigned
short
AnVt
[
16
];
unsigned
short
F3
[
4
];
unsigned
short
tF3
[
4
];
...
...
TNeProc.cxx
View file @
ec74e750
This diff is collapsed.
Click to expand it.
TNeProc.h
View file @
ec74e750
...
...
@@ -26,14 +26,27 @@ private:
//
//-----SQ-----
//-----raw-----
TH2
*
hT1a
;
TH2
*
hT1t
;
TH1
*
d1T1xa
[
16
];
TH1
*
d1T1xt
[
16
];
TH1
*
d1T1xc
[
16
];
TH1
*
d1T1ya
[
16
];
TH1
*
d1T1yt
[
16
];
TH1
*
d1T1yc
[
16
];
TH1
*
d1Lxa
[
16
];
TH1
*
d1Lxt
[
16
];
TH1
*
d1Lxc
[
16
];
TH1
*
d1Lya
[
16
];
TH1
*
d1Lyt
[
16
];
TH1
*
d1Lyc
[
16
];
TH1
*
d1Rxa
[
16
];
TH1
*
d1Rxt
[
16
];
TH1
*
d1Rxc
[
16
];
TH1
*
d1Rya
[
16
];
TH1
*
d1Ryt
[
16
];
TH1
*
d1Ryc
[
16
];
TH1
*
d1AnSa
[
16
];
TH1
*
d1AnSt
[
16
];
TH1
*
d1AnSc
[
16
];
TH1
*
d1AnRa
[
16
];
TH1
*
d1AnRt
[
16
];
TH1
*
d1AnRc
[
16
];
TH1
*
d1AnVa
[
16
];
TH1
*
d1AnVt
[
16
];
TH1
*
d1AnVc
[
16
];
//-----clb-----
TH1
*
d1sq1_x_c
[
16
];
//-----ToF+MWPC-----
...
...
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