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
bb1b0d2f
Commit
bb1b0d2f
authored
10 years ago
by
Zafar Ahmed
Committed by
Stephen A. Wood
10 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Add Cherekov, Hodoscope and Drift Chamber info to example report template
parent
5c48c0e3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/hodtest_cuts.def
+7
-1
7 additions, 1 deletion
examples/hodtest_cuts.def
examples/report.template
+36
-6
36 additions, 6 deletions
examples/report.template
with
43 additions
and
7 deletions
examples/hodtest_cuts.def
+
7
−
1
View file @
bb1b0d2f
...
...
@@ -8,6 +8,13 @@ Pedestal_event g.evtyp==4
Block: Decode
Decode_master !Pedestal_event
Block: CoarseProcess
hmstotchernpe H.cher.npesum > -1.0
Block: FineProcess
hmsscinshould H.hod.goodscinhit == 1
hmstotscinshould (H.hod.goodscinhit == 1) && (H.cher.npesum > 2.0)
Block: CoarseTracking
hfoundtrack H.dc.ntrack != 0
...
...
@@ -90,4 +97,3 @@ hdcres_12 (H.dc.residual[11] < 1000) && hlowchi2
Block: CoarseReconstruct
CourseReconstruct 1
This diff is collapsed.
Click to expand it.
examples/report.template
+
36
−
6
View file @
bb1b0d2f
...
...
@@ -16,21 +16,51 @@ in the braces is evaluated as an expression. Currently the expression can be
composed of Hall C style parameter variables, cut results (not really too usefull)
and cut statistics. (Number of times called and number of times passed.)
For example, {100*Pedestal_event.npassed/Pedestal_event.ncalled:%.2f}% is the percentage of events that were pedestal events.
For example, {100*Pedestal_event.npassed/Pedestal_event.ncalled:%.2f}% is the
percentage of events that were pedestal events.
------------------------
HMS Cherenkov
------------------------
HMS cherenkov total photo electrons: {hmstotchernpe.npassed:%.2f}
------------------------
HMS Hodoscope
------------------------
Scin test: {hgood_hits}
Scin should fired counters: {hmsscinshould.npassed:%7d}
Scin total should fired counter: {hmstotscinshould.npassed:%7d}
------------------------
HMS Drift Chambers
------------------------
Total number of triggers with any tracks: {hfoundtrack.npassed:%7d}
Total number of triggers with only one track: {hfound1track.npassed:%7d}
Horizontal drift chamber z positions:
Chamber 1: {hdc_zpos[0]:%6.2f} {hdc_zpos[1]:%6.2f} {hdc_zpos[2]:%6.2f} {hdc_zpos[3]:%6.2f} {hdc_zpos[4]:%6.2f} {hdc_zpos[5]:%6.2f}
Chamber 2: {hdc_zpos[6]:%6.2f} {hdc_zpos[7]:%6.2f} {hdc_zpos[8]:%6.2f} {hdc_zpos[9]:%6.2f} {hdc_zpos[10]:%6.2f} {hdc_zpos[11]:%6.2f}
Chamber 1: {hdc_zpos[0]:%6.2f} {hdc_zpos[1]:%6.2f} {hdc_zpos[2]:%6.2f}
{hdc_zpos[3]:%6.2f} {hdc_zpos[4]:%6.2f} {hdc_zpos[5]:%6.2f}
Chamber 2: {hdc_zpos[6]:%6.2f} {hdc_zpos[7]:%6.2f} {hdc_zpos[8]:%6.2f}
{hdc_zpos[9]:%6.2f} {hdc_zpos[10]:%6.2f} {hdc_zpos[11]:%6.2f}
The expression result can be formatted by putting a ":" followed by
a c-style format after the expression.
The HMS reconstruction coefficient file name is {h_recon_coeff_filename}
The names of the HMS drift chamber planes are: {hdc_plane_names}
The names of the HMS drift chamber planes are:
{hdc_plane_names}
DC Events: {hdc_tot_events}
Hit in chamber: {hdc_cham_hits[0]/hdc_tot_events:%.3f} {hdc_cham_hits[1]/hdc_tot_events:%.3f}
Hit in plane: {hdc_events[0]/hdc_tot_events:%.3f} {hdc_events[1]/hdc_tot_events:%.3f} {hdc_events[2]/hdc_tot_events:%.3f} {hdc_events[3]/hdc_tot_events:%.3f} {hdc_events[4]/hdc_tot_events:%.3f} {hdc_events[5]/hdc_tot_events:%.3f} {hdc_events[6]/hdc_tot_events:%.3f} {hdc_events[7]/hdc_tot_events:%.3f} {hdc_events[8]/hdc_tot_events:%.3f} {hdc_events[9]/hdc_tot_events:%.3f} {hdc_events[10]/hdc_tot_events:%.3f} {hdc_events[11]/hdc_tot_events:%.3f}
Hit in chamber: {hdc_cham_hits[0]/hdc_tot_events:%.3f}
{hdc_cham_hits[1]/hdc_tot_events:%.3f}
Hit in plane: {hdc_events[0]/hdc_tot_events:%.3f} {hdc_events[1]/hdc_tot_events:%.3f}
{hdc_events[2]/hdc_tot_events:%.3f} {hdc_events[3]/hdc_tot_events:%.3f}
{hdc_events[4]/hdc_tot_events:%.3f} {hdc_events[5]/hdc_tot_events:%.3f}
{hdc_events[6]/hdc_tot_events:%.3f} {hdc_events[7]/hdc_tot_events:%.3f}
{hdc_events[8]/hdc_tot_events:%.3f} {hdc_events[9]/hdc_tot_events:%.3f}
{hdc_events[10]/hdc_tot_events:%.3f} {hdc_events[11]/hdc_tot_events:%.3f}
Run #{gen_run_number}
first event = {gen_run_starting_event:%7d}
...
...
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