Changeset 594 for trunk/MagicSoft/Mars/manalysis/MNphotEvent.cc
- Timestamp:
- 01/31/01 12:01:29 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MNphotEvent.cc
r591 r594 41 41 42 42 43 MNphotEvent::MNphotEvent( Int_t type )43 MNphotEvent::MNphotEvent(const char *name, const char *title ) 44 44 { 45 fType = type ; 45 // the default constructor 46 47 48 *fName = name ? name : "MNphotEvent"; 49 *fTitle = name ? name : "(Number of Photon)-Event Information"; 50 51 fType = 0 ; 46 52 fNbPixels = 0 ; 47 53 48 if (fType == 0 ) // this is MAGIC 49 { 50 fPixels = new TClonesArray ("MNphotPix", 577) ; 51 } 52 else if ( fType == 1 ) // this is CT1 53 { 54 fPixels = new TClonesArray ("MNphotPix", 127) ; 55 } 56 54 fPixels = new TClonesArray ("MNphotPix", 577) ; 55 57 56 fPixels->Clear() ; 58 57 } … … 63 62 // 64 63 65 // MCamDisplay disp(fType) ; 64 // MCamDisplay disp(fType) ; 65 66 // for (Int_t i=0; i<fNbPixels; i++) 67 // { 68 // disp.SetPixelColor( ((MNphotPix *) fPixels->At(i))->GetPixId(), 69 // ((MNphotPix *) fPixels->At(i))->GetPhotons()) ; 70 // } 71 // disp.Draw() ; 72 73 } 66 74 67 // for (Int_t i=0; i<fNbPixels; i++)68 // {69 // disp.SetPixelColor( ((MNphotPix *) fPixels->At(i))->GetPixId(),70 // ((MNphotPix *) fPixels->At(i))->GetPhotons()) ;71 // }72 // disp.Draw() ;73 74 }75 75 76 76
Note:
See TracChangeset
for help on using the changeset viewer.