- Timestamp:
- 03/31/04 14:08:36 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3619 r3620 37 37 * mcalib/MHCalibrationChargeBlindPix.[h,cc] 38 38 * mcalib/MHCalibrationChargePINDiode.[h,cc] 39 * mcalib/MHCalibrationRelTimePix.[h,cc] 39 40 - updated and enlarged documentation 40 41 -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeBlindPix.cc
r3315 r3620 25 25 ///////////////////////////////////////////////////////////////////////////// 26 26 // // 27 // MCalibrationChargeBlindPix 27 // MCalibrationChargeBlindPix // 28 28 // // 29 29 // This is the storage container to hold informations about the calibration// -
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargePINDiode.cc
r3618 r3620 180 180 // Fills the following histograms: 181 181 // - MHGausEvents::FillHistAndArray(signal) 182 // - FillAbsTime(time);182 // - MHCalibrationChargePix::FillAbsTime(time); 183 183 // - FillRmsCharge(rms); 184 184 // -
trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimeCam.cc
r3317 r3620 45 45 46 46 using namespace std; 47 const Float_t MHCalibrationRelTimeCam::fgTimeSliceWidth = 3.3; 47 const Float_t MHCalibrationRelTimeCam::fgTimeSliceWidth = 3.3; 48 const Int_t MHCalibrationRelTimeCam::fgPulserFrequency = 500; 48 49 // -------------------------------------------------------------------------- 49 50 // … … 66 67 67 68 SetTimeSliceWidth(); 69 SetPulserFrequency(); 68 70 } 69 71 … … 167 169 hist.ChangeHistId(i); 168 170 hist.InitBins(); 171 hist.SetEventFrequency(fPulserFrequency); 169 172 } 170 173 } -
trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimeCam.h
r3177 r3620 19 19 private: 20 20 21 static const Float_t fgTimeSliceWidth; // Default FADC slice time width for MAGIC 22 Float_t fTimeSliceWidth; // FADC slice time width 21 static const Float_t fgTimeSliceWidth; // Default for fTimeSliceWidth 22 static const Int_t fgPulserFrequency; // Default for fPulserFrequency 23 24 Float_t fTimeSliceWidth; // FADC slice time width 25 Int_t fPulserFrequency; // The pulser frequency 23 26 24 27 TObjArray *fArray; //-> List of MHCalibrationRelTimePix's … … 39 42 40 43 // Setters 41 void SetTimeSliceWidth(const Float_t width=fgTimeSliceWidth) { fTimeSliceWidth = width; } 44 void SetTimeSliceWidth( const Float_t width=fgTimeSliceWidth) { fTimeSliceWidth = width; } 45 void SetPulserFrequency( const Int_t f=fgPulserFrequency) { fPulserFrequency = f; } 42 46 43 47 TObject *Clone(const char *) const; -
trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimePix.cc
r3177 r3620 27 27 // MHCalibrationRelTimePix 28 28 // 29 // Histogram class for the relative arrival time analysis.29 // Histogram class for the relative arrival time calibration. 30 30 // Holds the histogrammed arrival times, 31 31 // derives from MHGausEvents, perform Fourier analysis … … 43 43 const Axis_t MHCalibrationRelTimePix::fgChargeFirst = -13.; 44 44 const Axis_t MHCalibrationRelTimePix::fgChargeLast = 13.; 45 46 const Int_t MHCalibrationRelTimePix::fgPulserFrequency = 200;47 45 // -------------------------------------------------------------------------- 48 46 // … … 67 65 fHGausHist.Sumw2(); 68 66 69 SetPulserFrequency();70 67 } 71 68 … … 103 100 104 101 105 void MHCalibrationRelTimePix::SetPulserFrequency(Float_t f)106 {107 SetEventFrequency(f);108 }109 110 111 102 void MHCalibrationRelTimePix::BypassFit() 112 103 { -
trunk/MagicSoft/Mars/mcalib/MHCalibrationRelTimePix.h
r3177 r3620 11 11 private: 12 12 13 static const Int_t fgPulserFrequency; 13 static const Int_t fgChargeNbins; // Default for fChargeNBins (now set to: 900 ) 14 static const Axis_t fgChargeFirst; // Default for fChargeFirst (now set to: -13.5 ) 15 static const Axis_t fgChargeLast; // Default for fChargeLast (now set to: 13.5 ) 14 16 15 static const Int_t fgChargeNbins;16 static const Axis_t fgChargeFirst;17 static const Axis_t fgChargeLast;17 Int_t fChargeNbins; // Number of bins used for the fHGausHist 18 Axis_t fChargeFirst; // Lower bound bin used for the fHGausHist 19 Axis_t fChargeLast; // Upper bound bin used for the fHGausHist 18 20 19 Int_t fChargeNbins; 20 Axis_t fChargeFirst; 21 Axis_t fChargeLast; 22 23 Int_t fPixId; // Pixel Nr 21 Int_t fPixId; // The pixel ID 24 22 25 23 public: … … 36 34 void SetChargeLast( const Axis_t last =fgChargeLast) { fChargeLast = last; } 37 35 38 void SetPulserFrequency(Float_t f=fgPulserFrequency);39 40 36 // Fits 41 37 void BypassFit(); … … 45 41 void Renorm(const Float_t slicewidth); 46 42 47 // TObject *DrawClone(Option_t *opt="") const; 48 49 ClassDef(MHCalibrationRelTimePix, 1) // Histograms for each calibrated pixel 43 ClassDef(MHCalibrationRelTimePix, 1) // Histogram class for Relative Time Calibration pixel 50 44 }; 51 45
Note:
See TracChangeset
for help on using the changeset viewer.