TPaveText* text = new TPaveText(0.25,y1,0.75,0.89,"NDC");
text->AddText(Form("MTR - Total events %i", nevents));
-
- TIter next(&messages);
- TObjString* str;
-
- while ( ( str = static_cast<TObjString*>(next()) ) ){
- text->AddText(str->String());
- }
TString defaultText = "";
Int_t color = 0;
else if ( nevents <= 20 ) {
color = AliMUONVQAChecker::kWarningColor;
text->AddText("Not enough events to judge");
- text->AddText("Please wait for more statistics");
+ defaultText = "Please wait for more statistics";
}
else {
+ TIter next(&messages);
+ TObjString* str;
+
+ while ( ( str = static_cast<TObjString*>(next()) ) ){
+ text->AddText(str->String());
+ }
+
switch ( code ) {
case AliMUONVQAChecker::kInfo:
color = AliMUONVQAChecker::kInfoColor;