#include "DPadInstructions.h" #include ClassImp(DPadInstructions) DPadInstructions::DPadInstructions(void) { dLogXFlag = false; dLogYFlag = false; dLogZFlag = false; dDrawStatBoxFlag = true; dDefaultDrawOptionMap["TH2"] = "COLZ"; dDefaultDrawOptionMap["TGraph"] = "ap"; dDefaultDrawOptionMap["TGraphErrors"] = "ap"; dDefaultDrawOptionMap["TMultiGraph"] = "a"; //Legend dLegendMinBottomY = 0.6; dLegendMinLeftX = 0.4; //TH1-specific dHistFillColorFlag = true; dHistStackFlag = false; dScaleFlag = false; dScaleByMaxFlag = false; dScaleAxisFlag = true; //TH2-specific dPaletteLabelSize = 0.05; //no change if < 0 //Default Line Colors //see http://root.cern.ch/root/html/TColor.html dObjectLineColors.resize(11); dObjectLineColors[0] = kBlack; dObjectLineColors[1] = kRed; dObjectLineColors[2] = kBlue; dObjectLineColors[3] = kGreen + 2; dObjectLineColors[4] = kMagenta + 2; //~purple dObjectLineColors[5] = kOrange + 1; dObjectLineColors[6] = kCyan + 1; dObjectLineColors[7] = kTeal + 1; dObjectLineColors[8] = kPink - 4; dObjectLineColors[9] = kGray + 1; dObjectLineColors[10] = 28; //Default Graph Marker Colors //see http://root.cern.ch/root/html/TColor.html dMarkerColors.resize(11); dMarkerColors[0] = kBlack; dMarkerColors[1] = kRed; dMarkerColors[2] = kBlue; dMarkerColors[3] = kGreen + 2; dMarkerColors[4] = kMagenta + 2; //~purple dMarkerColors[5] = kOrange + 1; dMarkerColors[6] = kCyan + 1; dMarkerColors[7] = kTeal + 1; dMarkerColors[8] = kPink - 4; dMarkerColors[9] = kGray + 1; dMarkerColors[10] = 28; //Default Graph Marker Styles //see http://root.cern.ch/root/html/TAttMarker.html dMarkerStyles.resize(11); dMarkerStyles[0] = 20; dMarkerStyles[1] = 22; dMarkerStyles[2] = 21; dMarkerStyles[3] = 23; dMarkerStyles[4] = 29; dMarkerStyles[5] = 33; dMarkerStyles[6] = 34; dMarkerStyles[7] = 24; dMarkerStyles[8] = 26; dMarkerStyles[9] = 25; dMarkerStyles[10] = 27; //Hist Fill Colors dSingleHistFillColor = kTeal - 4; //kTeal - 4 dHistFillColors.resize(7); dHistFillColors[0] = kRed - 7; dHistFillColors[1] = kOrange + 6; dHistFillColors[2] = kYellow - 7; dHistFillColors[3] = kTeal + 1; dHistFillColors[4] = kAzure + 1; dHistFillColors[5] = 9; //dark purple dHistFillColors[6] = kMagenta - 7; }