Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JZCaPA
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
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
Riccardo Longo
JZCaPA
Commits
7a430cb2
Commit
7a430cb2
authored
6 years ago
by
clantz
Browse files
Options
Downloads
Patches
Plain Diff
Implemented ZDC class
parent
6cc8d45a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Analysis/src/ZDC.cpp
+43
-0
43 additions, 0 deletions
Analysis/src/ZDC.cpp
with
43 additions
and
0 deletions
Analysis/src/ZDC.cpp
0 → 100644
+
43
−
0
View file @
7a430cb2
/** @file ZDC.cpp
* @brief Implementation of ZDC.
*
* Function definitions for ZDC are provided.
* This is a daughter class of Detector.
* Methods specific to ZDCs are implemented here.
*
* @author Chad Lantz
* @bug No known bugs.
*/
#include
"ZDC.h"
/** @brief Default Constructor for ZDC.
*/
ZDC
::
ZDC
(
){
}
/** @brief Destructor for ZDC.
*/
ZDC
::~
ZDC
(
){
}
/** @brief Prints a map of the ZDC to the terminal
*
* Prints a "map" of the ZDC.
* Displays one element with ZDC number on the top line, DRS4
* Channel on the second line, and if the element is functioning on the
* third line.
*
*/
void
ZDC
::
PrintMap
(){
Channel
*
c
=
GetElement
(
0
,
Number
);
std
::
cout
<<
"| "
<<
Number
<<
" |"
<<
std
::
endl
;
std
::
cout
<<
"| "
<<
c
->
name
<<
" |"
<<
std
::
endl
;
std
::
cout
<<
"| |"
<<
std
::
endl
;
std
::
cout
<<
"|_______|"
<<
std
::
endl
;
}
\ No newline at end of file
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