Changeset 14475
- Timestamp:
- 10/15/12 14:27:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fact/tools/rootmacros/PulseTemplates/pulse.h
r14472 r14475 15 15 #include <TString.h> 16 16 #include <TSystem.h> 17 #include <TFitResult.h> 17 18 // 18 19 … … 45 46 */ 46 47 Pulse( ); 47 Pulse(TH1* histo ); 48 Pulse(TH1* histo, TString options ); 48 Pulse(TString name); 49 Pulse(TString name, TH1* histo ); 50 Pulse(TString name, TH1* histo, int type); 51 Pulse(TString name, TH1* histo, TString options ); 52 Pulse(TString name, TH1* histo, TString options, int type); 49 53 50 54 // /** Copy constructor. … … 69 73 // OPERATIONS 70 74 // double shapeFunc( double* x, double* par); 71 void Fit(TString fitName, TString fitOptions ); 72 void Fit(TString fitName, TString fitOptions, int fitMin, int fitMax); 73 void Fit2(TString fitName, TString fitOptions ); 74 void Fit2(TString fitName, TString fitOptions, int fitMin, int fitMax); 75 void Fit(TString fitName, TString fitOptions, int type ); 76 void Fit(TString fitName, TString fitOptions, int type, int fitMin, int fitMax); 77 78 private: 79 void FitSectionWise(TString fitName, TString fitOptions, int fitMin, int fitMax); 80 void FitContious(TString fitName, TString fitOptions, int fitMin, int fitMax); 81 void CalculateParameters(); 82 void InitMembers(); 75 83 76 84 // ACCESS 85 public: 77 86 double GetBsl(); 78 87 double GetHeight(); … … 86 95 87 96 // INQUIRY 88 private: 97 TString mName; 89 98 TH1* mHisto; 99 TF1* mModel; 90 100 TString mOptions; 91 101 double mBsl; 92 102 double mHeight; 93 double m Start;94 double m Rising;95 double mTau Rising;96 double mTau Falling;103 double mT0; 104 double mT1; 105 double mTau1; 106 double mTau2; 97 107 double mIntegral; 98 108 double mAmplitude; 99 109 int mPhE; 110 int mType; 111 int mFitMin; 112 int mFitMax; 113 double mFitProb; 114 double mFitNCalls; 115 double mFitNdf; 116 double mChi2; 100 117 118 TFitResultPtr mFitResultPtr; 101 119 }; 102 120
Note:
See TracChangeset
for help on using the changeset viewer.