Commit f4eed066 authored by ShengYang.b@gmail.com's avatar ShengYang.b@gmail.com
Browse files

Add description in the container

parent bd38f18b
......@@ -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 {
......
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment