Changeset 2489 for trunk/MagicSoft/Mars/mhistmc
- Timestamp:
- 11/08/03 09:20:10 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mhistmc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc
r2399 r2489 79 79 fTitle = title ? title : "Trigger L2 image parameters"; 80 80 81 fHistLutPseudoSize = new TH1F("fHistLutPseudoSize", "number of compact pixels in one lut", 1 2, 0, 12);81 fHistLutPseudoSize = new TH1F("fHistLutPseudoSize", "number of compact pixels in one lut", 13, 0, 13); 82 82 fHistPseudoSize = new TH1F("fHistPseudoSize", "Multiplicity of the cluster identified by the L2T", 397, 0, 397); 83 fHistSizeBiggerCell = new TH1F("fHistSizeBiggerCell", "Number of fired pixel in bigger cell", 3 6, 0, 36);84 85 fHistLutPseudoSizeNorm = new TH1F("fHistLutPseudoSizeNorm", "Normalized Number of compact pixels in one lut", 1 2, 0, 12);83 fHistSizeBiggerCell = new TH1F("fHistSizeBiggerCell", "Number of fired pixel in bigger cell", 37, 0, 37); 84 85 fHistLutPseudoSizeNorm = new TH1F("fHistLutPseudoSizeNorm", "Normalized Number of compact pixels in one lut", 13, 0, 13); 86 86 fHistPseudoSizeNorm = new TH1F("fHistPseudoSizeNorm", "Normalized Multiplicity of the cluster identified by the L2T", 397, 0, 397); 87 fHistSizeBiggerCellNorm = new TH1F("fHistSizeBiggerCellNorm", "Normalized Number of fired pixel in bigger cell", 3 6, 0, 36);87 fHistSizeBiggerCellNorm = new TH1F("fHistSizeBiggerCellNorm", "Normalized Number of fired pixel in bigger cell", 37, 0, 37); 88 88 89 89 fHistLutPseudoSize->SetDirectory(NULL); … … 329 329 // so remember to cast the returned object if you want to work with it. 330 330 // 331 TH1 *MHMcTriggerLvl2::GetHistByName(const TString name) 332 { 331 TObject *MHMcTriggerLvl2::GetHistByName(const TString name) const 332 { 333 334 if (name.Contains("fHistLutPseudoSizeEnergy", TString::kIgnoreCase)) 335 return fHistLutPseudoSizeEnergy; 336 if (name.Contains("fHistSizeBiggerCellEnergy", TString::kIgnoreCase)) 337 return fHistSizeBiggerCellEnergy; 338 if (name.Contains("fHistPseudoSizeEnergy", TString::kIgnoreCase)) 339 return fHistPseudoSizeEnergy; 340 333 341 if (name.Contains("fHistLutPseudoSize", TString::kIgnoreCase)) 334 342 return fHistLutPseudoSize; … … 344 352 if (name.Contains("fHistPseudoSizeNorm", TString::kIgnoreCase)) 345 353 return fHistPseudoSizeNorm; 346 347 if (name.Contains("fHistLutPseudoSizeEnergy", TString::kIgnoreCase))348 return fHistLutPseudoSizeEnergy;349 if (name.Contains("fHistSizeBiggerCellEnergy", TString::kIgnoreCase))350 return fHistSizeBiggerCellEnergy;351 if (name.Contains("fHistPseudoSizeEnergy", TString::kIgnoreCase))352 return fHistPseudoSizeEnergy;353 354 354 355 return NULL; -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.h
r2399 r2489 43 43 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 44 44 45 T H1 *GetHistByName(const TString name);45 TObject *GetHistByName(const TString name) const; 46 46 47 47 TH1F *GetHistLutPseudoSize() const { return fHistLutPseudoSize; }
Note:
See TracChangeset
for help on using the changeset viewer.