Changeset 2043 for trunk/MagicSoft/Mars/mhistmc
- Timestamp:
- 04/29/03 14:41:38 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mhistmc
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.cc
r1999 r2043 137 137 // Fill data into the histogram which contains the selected showers 138 138 // 139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, Double_t w)139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, const Stat_t w) 140 140 { 141 141 MMcEvt &mcevt = *(MMcEvt*)par; 142 142 143 fHistSel->Fill(log10(mcevt.GetEnergy()), kRad2Deg*mcevt.GetTelescopeTheta() );143 fHistSel->Fill(log10(mcevt.GetEnergy()), kRad2Deg*mcevt.GetTelescopeTheta(), w); 144 144 return kTRUE; 145 145 } -
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.h
r1992 r2043 20 20 21 21 Bool_t SetupFill(const MParList *pList); 22 Bool_t Fill(const MParContainer *par, Double_t w=1);22 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 23 23 24 24 void DrawAll(Option_t *option=""); -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.cc
r2017 r2043 110 110 // Fill the histogram with the log10 of the energy for triggered events. 111 111 // 112 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, Double_t w)112 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, const Stat_t w) 113 113 { 114 114 const MMcEvt &mcevt = *(MMcEvt*)cont; -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.h
r2015 r2043 23 23 24 24 Bool_t SetupFill(const MParList *pList); 25 Bool_t Fill(const MParContainer *pcont=NULL, Double_t w=1);25 Bool_t Fill(const MParContainer *pcont=NULL, const Stat_t w=1); 26 26 27 27 const TH2D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc
r2017 r2043 158 158 // Fill the histogram 159 159 // 160 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, Double_t w)160 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, const Stat_t w) 161 161 { 162 162 // MHillasSrc &hil = *(MHillasSrc*)par; -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h
r2015 r2043 26 26 27 27 Bool_t SetupFill(const MParList *pList); 28 Bool_t Fill(const MParContainer *par, Double_t w=1);28 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 29 29 30 30 const TH3D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc
r1997 r2043 146 146 // Be careful: Only call this with an object of type MMcTriggerLvl2 147 147 // 148 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, Double_t w)148 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, const Stat_t w) 149 149 { 150 150 const MMcTriggerLvl2 &h = *(MMcTriggerLvl2 *)par; -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.h
r2001 r2043 33 33 ~MHMcTriggerLvl2(); 34 34 35 Bool_t Fill(const MParContainer *par, Double_t w=1);35 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 36 36 37 37 TH1 *GetHistByName(const TString name);
Note:
See TracChangeset
for help on using the changeset viewer.