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->SetLineColor(objIn->GetMarkerColor());
58  objOut->SetMarkerColor(objIn->GetMarkerColor());
59  objOut->SetFillColorAlpha(objIn->GetFillColor(), 0.2); // TODO??
60 
61  objOut->SetLineStyle(objIn->GetLineStyle());
62  objOut->SetMarkerStyle(objIn->GetMarkerStyle());
63  objOut->SetFillStyle(objIn->GetFillStyle());
64 
65  objOut->SetLineWidth(objIn->GetLineWidth());
66  objOut->SetMarkerSize(objIn->GetMarkerSize());
67 }