Changeset 18957 for trunk/Mars/mjtrain
- Timestamp:
- 03/25/18 16:32:05 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mjtrain/MJTrainCuts.cc
r9892 r18957 941 941 return kFALSE; 942 942 943 MHn *hist = hs->GetHistN(fRules);944 MFillH *fill = new MFillH(hist, "", Form("Fill%s", hist->GetName()));945 946 fill ->SetWeight("MWeight");947 fill ->SetDrawOption("colz");948 fill ->SetNameTab(hist->GetName());949 fill ->SetBit(MFillH::kDoNotDisplay);950 951 tlist.AddToList(fill );952 953 autodel.Add(fill );954 autodel.Add(hist );943 MHn *histn = hs->GetHistN(fRules); 944 MFillH *filln = new MFillH(histn, "", Form("Fill%s", histn->GetName())); 945 946 filln->SetWeight("MWeight"); 947 filln->SetDrawOption("colz"); 948 filln->SetNameTab(histn->GetName()); 949 filln->SetBit(MFillH::kDoNotDisplay); 950 951 tlist.AddToList(filln); 952 953 autodel.Add(filln); 954 autodel.Add(histn); 955 955 } 956 956 tlist.AddToList(&fillh0); // Fill MHHadronness (not displayed in first loop) … … 982 982 while ((o=NextF())) 983 983 { 984 MFillH *fill = dynamic_cast<MFillH*>(o);985 if (fill )986 fill ->ResetBit(MFillH::kDoNotDisplay);984 MFillH *fillh = dynamic_cast<MFillH*>(o); 985 if (fillh) 986 fillh->ResetBit(MFillH::kDoNotDisplay); 987 987 } 988 988
Note:
See TracChangeset
for help on using the changeset viewer.