Changeset 2370 for trunk/MagicSoft/Mars/macros
- Timestamp:
- 10/01/03 14:45:34 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/triglvl2.C
r2365 r2370 181 181 parlist.FindObject("MHMcTriggerLvl2")->DrawClone("lps"); 182 182 parlist.FindObject("MHMcTriggerLvl2")->DrawClone(); 183 parlist.FindObject("MHMcTriggerLvl2")->DrawClone("energy"); 183 //parlist.FindObject("MHMcTriggerLvl2")->DrawClone("energy"); 184 parlist.FindObject("MHMcTriggerLvl2")->DrawClone("size-energy"); 184 185 185 186 // Returns histogram of the class MHMcTriggerLvl2 186 187 187 188 MHMcTriggerLvl2 *htrig = (MHMcTriggerLvl2 *)parlist.FindObject("MHMcTriggerLvl2"); 188 TH1F *h1 = htrig->GetHistByName("fHistPseudoSize"); 189 TH2D *h2 = htrig->GetHistPseudoSizeEnergy(); 190 191 // h2->DrawClone(); 189 TH1F *h1 = (TH1F *)htrig->GetHistByName("fHistPseudoSize"); 190 TH2D *h2 = htrig->GetHistSizeBiggerCellEnergy(); 191 TH2D *h3 = (TH2D *)htrig->GetHistByName("fHistLutPseudoSizeEnergy"); 192 //csbce = new TCanvas(); 193 //h2->DrawClone(); 192 194 193 195 hfile = new TFile("HistFileLUT.root", "RECREATE"); 194 196 h1->Write(); 195 197 h2->Write(); 198 h3->Write(); 196 199 hfile->Close(); 197 200
Note:
See TracChangeset
for help on using the changeset viewer.