Changeset 3641 for trunk/MagicSoft/Mars/mcalib/MHGausEvents.h
- Timestamp:
- 04/04/04 17:41:10 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHGausEvents.h
r3640 r3641 67 67 Float_t fPickupLimit; // Upper number of sigmas from the mean until events are considered as pickup 68 68 69 Float_t *CreateEventXaxis(Int_t n); // 70 Float_t *CreatePSDXaxis(Int_t n); // 69 Float_t *CreateEventXaxis(Int_t n); // Create an x-axis for the Event TGraphs 70 Float_t *CreatePSDXaxis(Int_t n); // Create an x-axis for the PSD TGraphs 71 71 72 void DrawEvents(); // Draw graph of fEvents72 void DrawEvents(); // Draw graph of fEvents 73 73 void DrawPowerSpectrum(TVirtualPad &pad, Int_t i); // Draw graph of fPowerSpectrum and fHPowerProbability 74 74 … … 94 94 void SetSigmaErr( const Double_t d ) { fSigmaErr = d; } 95 95 void SetProb ( const Double_t d ) { fProb = d; } 96 void SetPixId 96 void SetPixId ( const Int_t i ) { fPixId = i; } 97 97 98 void SetNbins 98 void SetNbins ( const Int_t i ) { fNbins = i; } 99 99 void SetFirst ( const Double_t d ) { fFirst = d; } 100 100 void SetLast ( const Double_t d ) { fLast = d; } 101 101 102 void SetNDFLimit ( const Int_t lim=fgNDFLimit ) { fNDFLimit = lim;}103 void SetPickupLimit ( const Float_t lim =fgPickupLimit) { fPickupLimit = lim;}104 void SetProbLimit ( const Float_t lim=fgProbLimit ) { fProbLimit= lim; }102 void SetNDFLimit ( const Int_t lim=fgNDFLimit ) { fNDFLimit = lim; } 103 void SetPickupLimit ( const Float_t lim=fgPickupLimit ) { fPickupLimit = lim; } 104 void SetProbLimit ( const Float_t lim=fgProbLimit ) { fProbLimit = lim; } 105 105 106 106 // Setters ONLY for MC: … … 164 164 // Fits 165 165 Bool_t FitGaus(Option_t *option="RQ0", 166 const Double_t xmin=0., const Double_t xmax=0.); // Fit the histogram HGausHist with a Gaussian 167 Bool_t RepeatFit(const Option_t *option="RQ0"); // Repeat fit within limits defined by fPickupLimit 168 void BypassFit(); // Take mean and RMS from the histogram 166 const Double_t xmin=0., 167 const Double_t xmax=0.); // Fit the histogram HGausHist with a Gaussian 168 Bool_t RepeatFit(const Option_t *option="RQ0"); // Repeat fit within limits defined by fPickupLimit 169 void BypassFit(); // Take mean and RMS from the histogram 169 170 170 171 // Draws 171 virtual void Draw(Option_t *option=""); // Default Draw172 virtual void Draw(Option_t *option=""); // Default Draw 172 173 173 174 // Prints … … 175 176 176 177 // Miscelleaneous 177 virtual void ChangeHistId(const Int_t id); 178 virtual void Renorm(); // Re-normalize the results178 virtual void ChangeHistId(const Int_t id); // Changes names and titles of the histogram 179 virtual void Renorm(); // Re-normalize the results 179 180 180 void CreateFourierSpectrum(); // Create the fourier spectrum out of fEvents181 void CreateGraphEvents(); // Create the TGraph fGraphEvents of fEvents182 void CreateGraphPowerSpectrum(); // Create the TGraph fGraphPowerSpectrum out of fPowerSpectrum181 void CreateFourierSpectrum(); // Create the fourier spectrum out of fEvents 182 void CreateGraphEvents(); // Create the TGraph fGraphEvents of fEvents 183 void CreateGraphPowerSpectrum(); // Create the TGraph fGraphPowerSpectrum out of fPowerSpectrum 183 184 184 ClassDef(MHGausEvents, 1) 185 ClassDef(MHGausEvents, 1) // Base class for events with Gaussian distributed values 185 186 }; 186 187
Note:
See TracChangeset
for help on using the changeset viewer.