Changeset 5321 for trunk/MagicSoft
- Timestamp:
- 10/26/04 20:21:50 (20 years ago)
- Location:
- trunk/MagicSoft
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5310 r5321 19 19 20 20 -*-*- END OF LINE -*-*- 21 22 2004/10/26: Abelardo Moralejo 23 24 * mmc/MMcEvt.[hxx,cxx], MMcFadcHeader.hxx 25 - added new data members fFadcTimeJitter and fGainFluctuations for 26 new camera simulation options. Updated class versions to 4 and 5 27 respectively 21 28 22 29 2004/10/22: Thomas Bretz -
trunk/MagicSoft/Simulation/Detector/Camera/camera.h
r5319 r5321 19 19 //= 20 20 //= $RCSfile: camera.h,v $ 21 //= $Revision: 1.2 5$21 //= $Revision: 1.26 $ 22 22 //= $Author: moralejo $ 23 //= $Date: 2004-10-26 1 4:03:00 $23 //= $Date: 2004-10-26 19:21:20 $ 24 24 //= 25 25 //=////////////////////////////////////////////////////////////////////// … … 316 316 float *tmax_ns, // maximum arrival time of all phes 317 317 int telescope, // Telescope that is being analised to get the right QE. 318 float mirror_fraction // Fraction of working mirror 318 float mirror_fraction, // Fraction of working mirror 319 float fadc_jitter // Time jitter due to FADC clock noise 319 320 ); 320 321 … … 369 370 /* 370 371 *$Log: not supported by cvs2svn $ 372 *Revision 1.25 2004/10/26 14:03:00 moralejo 373 **** empty log message *** 374 * 371 375 *Revision 1.24 2004/10/19 10:35:05 moralejo 372 376 **** empty log message *** -
trunk/MagicSoft/Simulation/Detector/include-MTrigger/MTrigger.hxx
r5319 r5321 255 255 } 256 256 257 Bool_t GetGainFluctuations() { return fGainFluctuations; } 258 257 259 } ; 258 260 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.cxx
r2528 r5321 68 68 Float_t elec, 69 69 Float_t muon, 70 Float_t other) { 70 Float_t other, 71 Float_t fadc_jitter) { 71 72 72 73 fName = "MMcEvt"; … … 118 119 fMuonCphFraction=muon; 119 120 fOtherCphFraction=other; 121 122 fFadcTimeJitter = fadc_jitter; 120 123 } 121 124 … … 190 193 Float_t elec, 191 194 Float_t muon, 192 Float_t other ) { 195 Float_t other, 196 Float_t fadc_jitter) { 193 197 // 194 198 // All datamembers are filled with the correspondin parameters. … … 235 239 fOtherCphFraction=other; 236 240 241 fFadcTimeJitter = fadc_jitter; 237 242 } 238 243 -
trunk/MagicSoft/include-Classes/MMcFormat/MMcEvt.hxx
r4513 r5321 80 80 Float_t fOtherCphFraction; 81 81 82 82 Float_t fFadcTimeJitter; 83 83 84 84 public: … … 90 90 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 91 91 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, 92 Float_t, Float_t, Float_t ) ;92 Float_t, Float_t, Float_t, Float_t) ; 93 93 94 94 ~MMcEvt(); … … 101 101 Float_t, Float_t, Float_t, Float_t, Float_t, Float_t, 102 102 UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, UInt_t, 103 Float_t, Float_t, Float_t ) ;103 Float_t, Float_t, Float_t, Float_t) ; 104 104 105 105 //virtual void AsciiWrite(ofstream &fout) const; … … 138 138 Float_t GetLongit0() const { return fLongit0; } 139 139 Float_t GetLongitmax() const { return fLongitmax; } 140 141 Float_t GetFadcTimeJitter() const { return fFadcTimeJitter; } 140 142 141 143 void SetPartId(Short_t PartId) … … 230 232 231 233 232 ClassDef(MMcEvt, 3) //Stores Montecarlo Information of one event (eg. the energy)234 ClassDef(MMcEvt, 4) //Stores Montecarlo Information of one event (eg. the energy) 233 235 234 236 }; -
trunk/MagicSoft/include-Classes/MMcFormat/MMcFadcHeader.hxx
r3610 r5321 52 52 Float_t fLow2HighGain; // low gain factor 53 53 54 Bool_t fGainFluctuations; 55 // kTRUE if PMT gain fluctuations were simulated (=> default in camera simulation) 56 57 54 58 public: 55 59 MMcFadcHeader(const char *name=NULL, const char *title=NULL); … … 100 104 } 101 105 106 void SetGainFluctuations(Bool_t x) { fGainFluctuations = x; } 107 102 108 Float_t GetPedestal(UInt_t i) const { return fPedesMean[i]; } 103 109 Float_t GetPedestalRmsHigh(UInt_t i) const { return fPedesSigmaHigh[i]; } … … 111 117 UInt_t GetNumPixel() const { return MFADC_CHANNELS; } 112 118 113 ClassDef(MMcFadcHeader, 4) //Stores Montecarlo Information describing the FADC behaviour119 ClassDef(MMcFadcHeader, 5) //Stores Montecarlo Information describing the FADC behaviour 114 120 115 121 };
Note:
See TracChangeset
for help on using the changeset viewer.