#include <NtpSRNDAPPlaneHistory.h>
Public Member Functions | |
| NtpSRNDAPPlaneHistory () | |
| NtpSRNDAPPlaneHistory (Int_t plane) | |
| NtpSRNDAPPlaneHistory (Int_t plane, std::multimap< Double_t, Double_t > stripList) | |
| virtual | ~NtpSRNDAPPlaneHistory () |
| virtual void | Reset () |
| void | AddStrip (Double_t time, Double_t adc) |
| Int_t | GetNStrips () |
| Double_t | APPrediction (Double_t time) |
Private Attributes | |
| Int_t | fPlane |
| Int_t | fPmt |
| std::multimap< Double_t, Double_t > | fStripList |
|
|
Definition at line 26 of file NtpSRNDAPPlaneHistory.cxx. References fPlane, and Reset().
|
|
|
Definition at line 33 of file NtpSRNDAPPlaneHistory.cxx. References fPlane, MSG, and Reset(). 00034 {
00035 MSG("NtpSRNDAPPlaneHistory",Msg::kVerbose)
00036 <<"Running NtpSRNDAPPlaneHistory constructor..."<<std::endl;
00037 this->Reset();
00038 fPlane = plane;
00039 }
|
|
||||||||||||
|
Definition at line 43 of file NtpSRNDAPPlaneHistory.cxx. References MSG. 00044 : 00045 fPlane(plane), 00046 fStripList(stripList) 00047 { 00048 MSG("NtpSRNDAPPlaneHistory",Msg::kVerbose) 00049 <<"Running NtpSRNDAPPlaneHistory constructor for plane " 00050 << plane <<std::endl; 00051 }
|
|
|
Definition at line 55 of file NtpSRNDAPPlaneHistory.cxx. 00055 {
00056 MSG("NtpSRNDAPPlaneHistory",Msg::kVerbose)
00057 <<"Running NtpSRNDAPPlaneHistory destructor..."<<std::endl;
00058 this->Reset();
00059 }
|
|
||||||||||||
|
Definition at line 69 of file NtpSRNDAPPlaneHistory.cxx. References fStripList. 00069 {
00070
00071 fStripList.insert(std::pair<Double_t,Double_t>(time,adc));
00072 }
|
|
|
Definition at line 82 of file NtpSRNDAPPlaneHistory.cxx. References fStripList, and MSG. 00082 {
00083
00084 Double_t result = 0;
00085
00086 multimap<Double_t,Double_t>::iterator pos;
00087 for (pos = fStripList.begin(); pos!=fStripList.end(); ++pos) {
00088 if (pos->first < (time-100e-9)) {
00089 Double_t deltaT = time-pos->first;
00090 result += pos->second*(1.67e-2*TMath::Exp(-deltaT/343e-9)
00091 + 8.5e-4*TMath::Exp(-deltaT/2.4e-6));
00092 }
00093 }
00094
00095 MSG("NDAPHistory",Msg::kVerbose) << "AP prediction for time "
00096 << time << ": " << result << endl;
00097
00098 return result;
00099 }
|
|
|
Definition at line 76 of file NtpSRNDAPPlaneHistory.cxx. References fStripList. 00076 {
00077 return fStripList.size();
00078 }
|
|
|
Definition at line 63 of file NtpSRNDAPPlaneHistory.cxx. References fStripList. Referenced by NtpSRNDAPPlaneHistory(), and ~NtpSRNDAPPlaneHistory(). 00063 {
00064 fStripList.clear();
00065 }
|
|
|
Definition at line 34 of file NtpSRNDAPPlaneHistory.h. Referenced by NtpSRNDAPPlaneHistory(). |
|
|
Definition at line 35 of file NtpSRNDAPPlaneHistory.h. |
|
|
Definition at line 36 of file NtpSRNDAPPlaneHistory.h. Referenced by AddStrip(), APPrediction(), GetNStrips(), and Reset(). |
1.3.9.1