Changeset 8288 for trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc
- Timestamp:
- 02/02/07 13:50:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mreflector/MRflEvtData.cc
r8270 r8288 147 147 // -------------------------------------------------------------------------- 148 148 // 149 // Fills all photon distances into a TH1 scaled with scale (default=1) 150 // 151 void MRflEvtData::FillRad(TH2 &hist, Double_t z, Float_t scale) const 152 { 153 MRflSinglePhoton *ph=NULL; 154 155 TIter Next(&fList); 156 while ((ph=(MRflSinglePhoton*)Next())) 157 ph->FillRad(hist, z, scale); 158 } 159 160 // -------------------------------------------------------------------------- 161 // 149 162 // Fills all photons into a TH2 scaled with scale (default=1) 150 163 // … … 156 169 while ((ph=(MRflSinglePhoton*)Next())) 157 170 ph->Fill(hist, scale); 171 } 172 173 // -------------------------------------------------------------------------- 174 // 175 // Fills all photons into a TH2 scaled with scale (default=1) 176 // 177 void MRflEvtData::Fill(TH3 &hist, Double_t z, Float_t scale) const 178 { 179 MRflSinglePhoton *ph=NULL; 180 181 TIter Next(&fList); 182 while ((ph=(MRflSinglePhoton*)Next())) 183 ph->Fill(hist, z, scale); 158 184 } 159 185
Note:
See TracChangeset
for help on using the changeset viewer.