Subversion Repositories f9daq

Compare Revisions

Ignore whitespace Rev 40 → Rev 47

/sipmScan/src/RTUtil.cpp
1,5 → 1,6
//##########################################################################################
#include "TGaxis.h"
#include "TColor.h"
 
void RTSetStyle(TStyle *style)
{
19,12 → 20,12
style->SetOptStat("e");
style->SetOptFit(1);
style->SetPadTopMargin(0.12);
style->SetPadTopMargin(0.10);
style->SetPadBottomMargin(0.12);
style->SetPadLeftMargin(0.12);
style->SetPadRightMargin(0.12);
style->SetPadRightMargin(0.15);
style->SetTitleOffset(1.3, "y");
style->SetTitleOffset(1.5, "y");
style->SetPalette(1, 0);
style->SetPaperSize(TStyle::kA4);
87,6 → 88,17
{
can->Update();
}
 
void SetGS()
{
const Int_t Number = 2;
Double_t Red[Number] = {1.0, 0.0};
Double_t Green[Number] = {1.0, 0.0};
Double_t Blue[Number] = {1.0, 0.0};
Double_t Stops[Number] = {0.0, 1.0};
Int_t nb = 50;
TColor::CreateGradientColorTable(Number, Stops, Red, Green, Blue, nb);
}
//##########################################################################################