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
e3a3fa8c
Commit
e3a3fa8c
authored
11 years ago
by
Edward Brash
Committed by
Stephen A. Wood
11 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Updates to Hall C shower and interface codes for scaler debugging
purposes.
parent
d4de5d5b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/THcInterface.cxx
+9
-9
9 additions, 9 deletions
src/THcInterface.cxx
src/THcShower.cxx
+8
-8
8 additions, 8 deletions
src/THcShower.cxx
src/THcShowerHit.h
+3
-3
3 additions, 3 deletions
src/THcShowerHit.h
with
20 additions
and
20 deletions
src/THcInterface.cxx
+
9
−
9
View file @
e3a3fa8c
...
...
@@ -38,15 +38,15 @@
using
namespace
std
;
THaVarList
*
gHaVars
=
NULL
;
// List of symbolic analyzer variables
THaCutList
*
gHaCuts
=
NULL
;
// List of global analyzer cuts/tests
TList
*
gHaApps
=
NULL
;
// List of Apparatuses
TList
*
gHaScalers
=
NULL
;
// List of scaler groups
TList
*
gHaPhysics
=
NULL
;
// List of physics modules
THaRunBase
*
gHaRun
=
NULL
;
// The currently active run
TClass
*
gHaDecoder
=
NULL
;
// Class(!) of decoder to use
THaDB
*
gHaDB
=
NULL
;
// Database system to use
THaTextvars
*
gHaTextvars
=
NULL
;
// Text variable definitions
//
THaVarList* gHaVars = NULL; // List of symbolic analyzer variables
//
THaCutList* gHaCuts = NULL; // List of global analyzer cuts/tests
//
TList* gHaApps = NULL; // List of Apparatuses
//
TList* gHaScalers = NULL; // List of scaler groups
//
TList* gHaPhysics = NULL; // List of physics modules
//
THaRunBase* gHaRun = NULL; // The currently active run
//
TClass* gHaDecoder = NULL; // Class(!) of decoder to use
//
THaDB* gHaDB = NULL; // Database system to use
//
THaTextvars* gHaTextvars = NULL; // Text variable definitions
THcParmList
*
gHcParms
=
NULL
;
// List of symbolic analyzer variables
THcDetectorMap
*
gHcDetectorMap
=
NULL
;
// Global (Hall C style) detector map
...
...
This diff is collapsed.
Click to expand it.
src/THcShower.cxx
+
8
−
8
View file @
e3a3fa8c
...
...
@@ -658,17 +658,17 @@ Int_t THcShower::CoarseProcess( TClonesArray& tracks)
THcShowerCluster
*
cluster
=
(
*
ClusterList
).
ListedCluster
(
i
);
cout
<<
"Cluster #"
<<
i
<<
": E="
<<
(
*
cluster
).
clE
()
<<
" Epr="
<<
(
*
cluster
).
clEpr
()
<<
" X="
<<
(
*
cluster
).
clX
()
<<
" Z="
<<
(
*
cluster
).
clZ
()
<<
" size="
<<
(
*
cluster
).
clSize
()
<<
endl
;
//
cout << "Cluster #" << i
//
<<": E=" << (*cluster).clE()
//
<< " Epr=" << (*cluster).clEpr()
//
<< " X=" << (*cluster).clX()
//
<< " Z=" << (*cluster).clZ()
//
<< " size=" << (*cluster).clSize()
//
<< endl;
for
(
UInt_t
j
=
0
;
j
!=
(
*
cluster
).
clSize
();
j
++
)
{
THcShowerHit
*
hit
=
(
*
cluster
).
ClusteredHit
(
j
);
cout
<<
" hit #"
<<
j
<<
": "
;
(
*
hit
).
show
();
//
cout << " hit #" << j << ": "; (*hit).show();
}
}
...
...
This diff is collapsed.
Click to expand it.
src/THcShowerHit.h
+
3
−
3
View file @
e3a3fa8c
...
...
@@ -83,9 +83,9 @@ public:
//Print out hit information
//
void
show
()
{
cout
<<
"row="
<<
fRow
<<
" column="
<<
fCol
<<
" x="
<<
fX
<<
" z="
<<
fZ
<<
" E="
<<
fE
<<
" Epos="
<<
fEpos
<<
" Eneg="
<<
fEneg
<<
endl
;
//
cout << "row=" << fRow << " column=" << fCol
//
<< " x=" << fX << " z=" << fZ
//
<< " E=" << fE << " Epos=" << fEpos << " Eneg=" << fEneg << endl;
}
};
...
...
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