- Timestamp:
- 12/06/04 12:55:12 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r5559 r5560 26 26 - fixed bug which I introdued on friday (PostProcess was 27 27 defined twice) 28 29 * macros/RanForest.C: 30 - replaced kGAMMA by MMcEvt::kGAMMA 31 32 * mhist/MHCamEvent.[h,cc]: 33 - allow to set name for MGeomCam 34 35 * mjobs/MJCalibration.cc: 36 - removed some obsolete comments 37 - reset SetNoiseCalculation for both extractors 38 - do not allow 'wrong' time&charge calibration (without 39 extractors cam) 40 28 41 29 42 -
trunk/MagicSoft/Mars/macros/RanForest.C
r1871 r5560 38 38 tlist.AddToList(&read); 39 39 40 MFParticleId fgamma("MMcEvt", '=', kGAMMA);40 MFParticleId fgamma("MMcEvt", '=', MMcEvt::kGAMMA); 41 41 tlist.AddToList(&fgamma); 42 42 43 MFParticleId fhadrons("MMcEvt", '!', kGAMMA);43 MFParticleId fhadrons("MMcEvt", '!', MMcEvt::kGAMMA); 44 44 tlist.AddToList(&fhadrons); 45 45 -
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r5158 r5560 89 89 fName = name ? name : gsDefName.Data(); 90 90 fTitle = title ? title : gsDefTitle.Data(); 91 92 fNameGeom = "MGeomCam"; 91 93 } 92 94 … … 150 152 } 151 153 152 MGeomCam *cam = (MGeomCam*)plist->FindObject( "MGeomCam");154 MGeomCam *cam = (MGeomCam*)plist->FindObject(fNameGeom, "MGeomCam"); 153 155 if (!cam) 154 156 { 155 *fLog << err << GetDescriptor() << ": No MGeomCam found." << endl;157 *fLog << err << fNameGeom << " [MGeomCam] not found... abort." << endl; 156 158 return kFALSE; 157 159 } 158 160 159 // Delete a pos ible old histogram from a previous loop161 // Delete a possible old histogram from a previous loop 160 162 if (fSum) 161 163 delete (fSum); -
trunk/MagicSoft/Mars/mhist/MHCamEvent.h
r5156 r5560 18 18 MCamEvent *fEvt; //! the current event 19 19 20 TString fNameEvt; // Nameof MCamEvent to fill into histogram 20 TString fNameEvt; // Name of MCamEvent to fill into histogram 21 TString fNameGeom; // Name of geometry container 21 22 22 23 Int_t fType; // Type to used for calling GetPixelContent … … 37 38 ~MHCamEvent(); 38 39 39 void SetNameEvt(const TString name) { fNameEvt = name; } 40 void SetNameEvt(const TString name) { fNameEvt = name; } 41 void SetNameGeom(const TString name) { fNameGeom = name; } 40 42 void SetType(Int_t type) { fType = type; } 41 43 -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r5557 r5560 1658 1658 fillcam.SetBit(MFillH::kDoNotDisplay); 1659 1659 filltme.SetBit(MFillH::kDoNotDisplay); 1660 /* 1661 1662 fillpin.SetNameTab("PINDiode"); 1663 fillbnd.SetNameTab("BlindPix"); 1664 fillcam.SetNameTab("Charge"); 1665 filltme.SetNameTab("RelTimes"); 1666 1667 TString drawoption; 1668 1669 if (fDisplayType == kDataCheckDisplay) 1670 drawoption += "datacheck"; 1671 if (fDisplayType == kFullDisplay) 1672 drawoption += "all"; 1673 1674 fillcam.SetDrawOption(drawoption.Data()); 1675 fillbnd.SetDrawOption(drawoption.Data()); 1676 fillpin.SetDrawOption(drawoption.Data()); 1677 filltme.SetDrawOption(drawoption.Data()); 1678 */ 1660 1679 1661 // 1680 1662 // Set default extractors in case, none has been set... … … 1695 1677 else 1696 1678 { 1697 *fLog << warn;1679 *fLog << err << GetDescriptor() << "ERROR - "; 1698 1680 *fLog << "Used Extractor derives from MExtractTimeAndCharge, " << endl; 1699 1681 *fLog << "but MExtractorCam size " << fExtractorCam.GetSize() << " "; 1700 1682 *fLog << "mismatch pedcam size " << pedcam.GetSize() << "! " << endl; 1683 return kFALSE; 1701 1684 } 1702 1685 } 1703 1686 1687 // 1688 // Switch off noise calculation 1689 // 1690 fExtractor->SetNoiseCalculation(kFALSE); 1691 fTimeExtractor->SetNoiseCalculation(kFALSE); 1692 1693 // 1694 // Setup more tasks and tasklist 1695 // 1704 1696 MTaskEnv taskenv("ExtractSignal"); 1705 1697 taskenv.SetDefault(fExtractor);
Note:
See TracChangeset
for help on using the changeset viewer.