CMS 3D CMS Logo

Functions
Trend.cc File Reference
#include <cassert>
#include <cstdlib>
#include <vector>
#include <iostream>
#include <fstream>
#include <string>
#include "TLine.h"
#include "TLatex.h"
#include "TString.h"
#include "TGraphErrors.h"
#include "TH1.h"
#include "Alignment/OfflineValidation/plugins/ColorParser.C"
#include "Alignment/OfflineValidation/plugins/StyleParser.C"
#include "Alignment/OfflineValidation/interface/Trend.h"

Go to the source code of this file.

Functions

template<typename T >
void CopyStyle (T *objIn, T *objOut)
 

Function Documentation

◆ CopyStyle()

template<typename T >
void CopyStyle ( T objIn,
T objOut 
)

Definition at line 55 of file Trend.cc.

Referenced by Run2Lumi::operator()().

55  {
56  objOut->SetLineColor(objIn->GetLineColor());
57  objOut->SetMarkerColor(objIn->GetMarkerColor());
58  objOut->SetFillColorAlpha(objIn->GetFillColor(), 0.2); // TODO??
59 
60  objOut->SetLineStyle(objIn->GetLineStyle());
61  objOut->SetMarkerStyle(objIn->GetMarkerStyle());
62  objOut->SetFillStyle(objIn->GetFillStyle());
63 
64  objOut->SetLineWidth(objIn->GetLineWidth());
65  objOut->SetMarkerSize(objIn->GetMarkerSize());
66 }