Changeset 2264 for trunk/MagicSoft/Mars
- Timestamp:
- 07/06/03 14:24:09 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2263 r2264 27 27 * mraw/MRawEvtPixelIter.[h,cc]: 28 28 - added GetMax[Hi,Lo]GainSample 29 30 * macros/pixsatrate.C: 31 - added 29 32 30 33 -
trunk/MagicSoft/Mars/Makefile.conf.linux-gnu
r2054 r2264 23 23 DEBUG = 24 24 ARCHDEF = -D__LINUX__ 25 DYNLIB = -shared 25 26 26 27 # To be tested: -
trunk/MagicSoft/Mars/Makefile.conf.osf1
r2196 r2264 26 26 DEBUG = -g -w0 -msg_display_tag -msg_disable castqualtyp,undpreid,unrfunprm,extrasemi,intconlosbit,nonfundec,partovrd,stoclsnotfirst,boolexprconst 27 27 ARCHDEF = -D__OSF__ -D__USE_STD_IOSTREAM -DR__ANSISTREAM 28 DYNLIB = -shared 28 29 29 30 MARS_LIB = -Llib $(SUBDIRS/*/-l&) $(MARSLIBS) -
trunk/MagicSoft/Mars/Makefile.conf.osf5.1
r2196 r2264 26 26 DEBUG = -g3 -w0 -msg_display_tag -msg_disable castqualtyp,undpreid,unrfunprm,extrasemi,intconlosbit,nonfundec,partovrd,stoclsnotfirst,boolexprconst 27 27 ARCHDEF = -D__OSF__ -D__USE_STD_IOSTREAM -DR__ANSISTREAM 28 DYNLIB = -shared 28 29 29 30 MARS_LIB = -Llib $(SUBDIRS/*/-l&) $(MARSLIBS) -
trunk/MagicSoft/Mars/mgui/MCamEvent.cc
r2229 r2264 32 32 #include "MCamEvent.h" 33 33 34 #include "MGeomCam.h"35 36 34 ClassImp(MCamEvent); 37 35 -
trunk/MagicSoft/Mars/mgui/Makefile
r2210 r2264 22 22 # connect the include files defined in the config.mk file 23 23 # 24 INCLUDES = -I. -I../mbase -I../mgeom -I../manalysis -I../mimage -I../mhist \ 25 -I../mreflector -I../mraw 24 INCLUDES = -I. -I../mbase -I../mgeom 26 25 27 26 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mhist/MHCamera.cc
r2248 r2264 422 422 // box with the histogram title 423 423 ptitle->SetTextColor(gStyle->GetTitleTextColor()); 424 #if ROOT_VERSION_CODE > ROOT_VERSION(3,05,0 0)424 #if ROOT_VERSION_CODE > ROOT_VERSION(3,05,01) 425 425 ptitle->SetTextFont(gStyle->GetTitleFont("")); 426 426 #endif … … 487 487 488 488 // box with the histogram title 489 #if ROOT_VERSION_CODE > ROOT_VERSION(3,05,0 0)489 #if ROOT_VERSION_CODE > ROOT_VERSION(3,05,01) 490 490 ptitle->SetFillColor(gStyle->GetTitleFillColor()); 491 491 ptitle->SetTextFont(gStyle->GetTitleFont("")); -
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r2244 r2264 480 480 return kFALSE; 481 481 482 val = Next.GetSumHiGainSamples()-(float)GetNumHiGainSamples()*fHiGainFadcSamples->GetArray()[0]; 483 val *= cam.GetPixRatio(idx); 482 switch (type) 483 { 484 case 0: 485 val = Next.GetSumHiGainSamples()-(float)GetNumHiGainSamples()*fHiGainFadcSamples->GetArray()[0]; 486 val*= cam.GetPixRatio(idx); 487 break; 488 case 1: 489 val = Next.GetMaxHiGainSample(); 490 break; 491 case 2: 492 val = Next.GetMaxLoGainSample(); 493 break; 494 } 484 495 485 496 return kTRUE; -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc
r2259 r2264 247 247 // -------------------------------------------------------------------------- 248 248 // 249 // Returns the maximum signal of all sliced in the hi gain samples 250 // 251 Byte_t MRawEvtPixelIter::GetMaxHiGainSample() const 252 { 253 Byte_t max = 0; 254 255 for (int i=0; i<fNumHiGainSamples; i++) 256 if (fHiGainPos[i]>max) 257 max = fHiGainPos[i]; 258 259 return max; 260 } 261 262 // -------------------------------------------------------------------------- 263 // 264 // Returns the maximum signal of all sliced in the hi gain samples 265 // 266 Byte_t MRawEvtPixelIter::GetMaxLoGainSample() const 267 { 268 Byte_t max = 0; 269 270 for (int i=fNumLoGainSamples-1; i>=0; i--) 271 if (fLoGainPos[i]>max) 272 max = fLoGainPos[i]; 273 274 return max; 275 } 276 277 // -------------------------------------------------------------------------- 278 // 249 279 // returns the sum of all lo gain fadc samples of the actual pixel. 250 280 // if no lo gain information is available 0 is returned. -
trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.h
r2236 r2264 83 83 Byte_t GetNumMaxHiGainSample() const; 84 84 Byte_t GetNumMaxLoGainSample() const; 85 Byte_t GetMaxHiGainSample() const; 86 Byte_t GetMaxLoGainSample() const; 85 87 86 88 Bool_t HasLoGain() const
Note:
See TracChangeset
for help on using the changeset viewer.