Changeset 1992 for trunk/MagicSoft/Mars/mhistmc
- Timestamp:
- 04/23/03 16:45:19 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mhistmc
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.cc
r1989 r1992 137 137 // Fill data into the histogram which contains the selected showers 138 138 // 139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par )139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, Double_t w) 140 140 { 141 141 MMcEvt &mcevt = *(MMcEvt*)par; -
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.h
r1986 r1992 19 19 ~MHMcCT1CollectionArea(); 20 20 21 virtualBool_t SetupFill(const MParList *pList);22 virtual Bool_t Fill(const MParContainer *par);21 Bool_t SetupFill(const MParList *pList); 22 Bool_t Fill(const MParContainer *par, Double_t w=1); 23 23 24 24 void DrawAll(Option_t *option=""); -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.cc
r1974 r1992 119 119 // Fill the histogram with the log10 of the energy for triggered events. 120 120 // 121 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont )121 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, Double_t w) 122 122 { 123 123 const MMcEvt &mcevt = *(MMcEvt*)cont; -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.h
r1974 r1992 24 24 25 25 Bool_t SetupFill(const MParList *pList); 26 Bool_t Fill(const MParContainer *pcont=NULL );26 Bool_t Fill(const MParContainer *pcont=NULL, Double_t w=1); 27 27 28 28 const TH2D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc
r1974 r1992 215 215 // Fill the histogram 216 216 // 217 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par )217 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, Double_t w) 218 218 { 219 219 // MHillasSrc &hil = *(MHillasSrc*)par; -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h
r1981 r1992 29 29 MHMcEnergyMigration(const char *name=NULL, const char *title=NULL); 30 30 31 virtualBool_t SetupFill(const MParList *pList);32 virtual Bool_t Fill(const MParContainer *par);31 Bool_t SetupFill(const MParList *pList); 32 Bool_t Fill(const MParContainer *par, Double_t w=1); 33 33 34 34 const TH3D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc
r1974 r1992 141 141 // Be careful: Only call this with an object of type MMcTriggerLvl2 142 142 // 143 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par )143 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, Double_t w) 144 144 { 145 145 const MMcTriggerLvl2 &h = *(MMcTriggerLvl2 *)par; -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.h
r1974 r1992 34 34 ~MHMcTriggerLvl2(); 35 35 36 Bool_t Fill(const MParContainer *par );36 Bool_t Fill(const MParContainer *par, Double_t w=1); 37 37 38 38 TH1 *GetHistByName(const TString name);
Note:
See TracChangeset
for help on using the changeset viewer.