Changeset 6977 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 04/25/05 15:30:46 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r6855 r6977 210 210 // Return fSum for "sum" and fRms for "rms" 211 211 // 212 TH1 *MHCamEvent::GetHistByName(const TString name) 212 TH1 *MHCamEvent::GetHistByName(const TString name) const 213 213 { 214 214 return fSum; -
trunk/MagicSoft/Mars/mhist/MHCamEvent.h
r6855 r6977 43 43 void SetType(Int_t type) { fType = type; } 44 44 45 TH1 *GetHistByName(const TString name="") ;45 TH1 *GetHistByName(const TString name="") const; 46 46 47 47 void Paint(Option_t *o=""); -
trunk/MagicSoft/Mars/mhist/MHCamEventRot.h
r5159 r6977 51 51 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 52 52 53 TH1 *GetHistByName(const TString name) { return &fHist; }53 TH1 *GetHistByName(const TString name) const { return const_cast<TH2D*>(&fHist); } 54 54 55 55 void SetNameTime(const char *name) { fNameTime=name; } -
trunk/MagicSoft/Mars/mhist/MHEvent.h
r6855 r6977 43 43 EventType_t fType; 44 44 45 TH1 *GetHistByName(const TString name) { return (TH1*)fHist; }45 TH1 *GetHistByName(const TString name) const { return (TH1*)fHist; } 46 46 47 47 Bool_t SetupFill(const MParList *plist); -
trunk/MagicSoft/Mars/mhist/MHStarMap.h
r3580 r6977 45 45 void SetMm2Deg(Float_t mmdeg); 46 46 47 TH1 *GetHistByName(const TString name) { return (TH1*)fStarMap; }47 TH1 *GetHistByName(const TString name) const { return (TH1*)fStarMap; } 48 48 49 49 TH2F *GetHist() { return fStarMap; } -
trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.cc
r2563 r6977 167 167 } 168 168 169 TH1 *MHTriggerLvl0::GetHistByName(const TString name) 169 TH1 *MHTriggerLvl0::GetHistByName(const TString name) const 170 170 { 171 171 return fSum; -
trunk/MagicSoft/Mars/mhist/MHTriggerLvl0.h
r2550 r6977 32 32 void SetThreshold(Double_t t) { fThreshold = t; } 33 33 34 TH1 *GetHistByName(const TString name="") ;34 TH1 *GetHistByName(const TString name="") const; 35 35 36 36 void Draw(Option_t * ="");
Note:
See TracChangeset
for help on using the changeset viewer.