Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
zcitron
JZCaPA
Commits
f4eed066
Commit
f4eed066
authored
Feb 25, 2019
by
ShengYang.b@gmail.com
Browse files
Add description in the container
parent
bd38f18b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Analysis/.DS_Store
deleted
100644 → 0
View file @
bd38f18b
File deleted
Analysis/include/Containers.h
View file @
f4eed066
...
...
@@ -56,15 +56,20 @@ class Channel {
TH1D
*
FirstDerivative
;
/** RMS value of the first derrivative of the waveform **/
double
FirstDerivativeRMS
;
/** Crossing zero points -
dummy - to be checked by Sheng
**/
/** Crossing zero points -
store the downward crossing zeros which are the condidate for the peak location.
**/
std
::
vector
<
int
>
CrossZeroPoints
;
// for the TimeOverThreshold method
TH1D
*
ExtractSignal
;
std
::
vector
<
int
>
MaxTimeBin
;
/** The signals are subtracted with baseline. **/
TH1D
*
ExtractedSignal
;
/** The amplitude of the global max (in y) of the subtracted signal. **/
std
::
vector
<
double
>
ymax
;
/** The time bin of ymax of the subtracted signal. **/
std
::
vector
<
int
>
MaxTimeBin
;
/** The time bin of the given fraction of ymax of the subtracted signal. **/
std
::
vector
<
int
>
TimeStamp
;
std
::
vector
<
double
>
ymax_at_time_stamp
;
/** The amplitude at TimeStamp of the subtracted signal. **/
std
::
vector
<
double
>
y_at_time_stamp
;
};
class
Alignment
{
...
...
Analysis/src/WFAnalysis.cpp
View file @
f4eed066
...
...
@@ -196,9 +196,7 @@ void WFAnalysis::TimeOverThreshold( TH1D *hIN, TH1D *hOUT, int N, double fractio
std
::
cout
<<
" position: "
<<
max_bin
<<
" max: "
<<
ymax
<<
"
\n
"
;
}
//put the result in the container
//hIN->push_back
//delete ped;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment