Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hcana
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jlab
hallc
analyzer_software
hcana
Commits
6306c766
Commit
6306c766
authored
9 years ago
by
Stephen A. Wood
Browse files
Options
Downloads
Patches
Plain Diff
Add scalers and golden tracks to hodtest.C script
parent
133a8bc2
No related branches found
No related tags found
No related merge requests found
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
examples/db_HSScalevt.dat
+781
-0
781 additions, 0 deletions
examples/db_HSScalevt.dat
examples/hodtest.C
+9
-0
9 additions, 0 deletions
examples/hodtest.C
with
791 additions
and
0 deletions
.gitignore
+
1
−
0
View file @
6306c766
...
@@ -45,6 +45,7 @@ examples/*.log.*
...
@@ -45,6 +45,7 @@ examples/*.log.*
# This is auto generated by hodtest.C
# This is auto generated by hodtest.C
examples/db_cratemap.dat
examples/db_cratemap.dat
examples/report.out
examples/report.out
examples/HScaler.txt
# Working directory
# Working directory
work
work
This diff is collapsed.
Click to expand it.
examples/db_HSScalevt.dat
0 → 100644
+
781
−
0
View file @
6306c766
This diff is collapsed.
Click to expand it.
examples/hodtest.C
+
9
−
0
View file @
6306c766
...
@@ -45,6 +45,11 @@
...
@@ -45,6 +45,11 @@
THcCherenkov
*
cherenkov
=
new
THcCherenkov
(
"cher"
,
"Gas Cerenkov"
);
THcCherenkov
*
cherenkov
=
new
THcCherenkov
(
"cher"
,
"Gas Cerenkov"
);
HMS
->
AddDetector
(
cherenkov
);
HMS
->
AddDetector
(
cherenkov
);
THcScalerEvtHandler
*
hscaler
=
new
THcScalerEvtHandler
(
"HS"
,
"HC scaler event type 0"
);
hscaler
->
SetDebugFile
(
"HScaler.txt"
);
gHaEvtHandlers
->
Add
(
hscaler
);
THaApparatus
*
SOS
=
new
THcHallCSpectrometer
(
"S"
,
"SOS"
);
THaApparatus
*
SOS
=
new
THcHallCSpectrometer
(
"S"
,
"SOS"
);
gHaApps
->
Add
(
SOS
);
gHaApps
->
Add
(
SOS
);
// Add detectors
// Add detectors
...
@@ -53,6 +58,10 @@
...
@@ -53,6 +58,10 @@
SOS
->
AddDetector
(
new
THcShower
(
"cal"
,
"Shower"
));
SOS
->
AddDetector
(
new
THcShower
(
"cal"
,
"Shower"
));
SOS
->
AddDetector
(
new
THcDC
(
"dc"
,
"Drift Chambers"
));
SOS
->
AddDetector
(
new
THcDC
(
"dc"
,
"Drift Chambers"
));
// setup physics
gHaPhysics
->
Add
(
new
THaGoldenTrack
(
"H.gold"
,
"HMS Golden Track"
,
"H"
));
gHaPhysics
->
Add
(
new
THaGoldenTrack
(
"S.gold"
,
"SOS Golden Track"
,
"S"
));
gHaPhysics
->
Add
(
new
THcHodoEff
(
"hhodeff"
,
"HMS Hodoscope Efficiencies"
,
"H.hod"
));
gHaPhysics
->
Add
(
new
THcHodoEff
(
"hhodeff"
,
"HMS Hodoscope Efficiencies"
,
"H.hod"
));
gHaPhysics
->
Add
(
new
THcHodoEff
(
"shodeff"
,
"SOS Hodoscope Efficiencies"
,
"S.hod"
));
gHaPhysics
->
Add
(
new
THcHodoEff
(
"shodeff"
,
"SOS Hodoscope Efficiencies"
,
"S.hod"
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment