test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
zMuMuValidationTemplates Namespace Reference

Variables

string mergeZmumuPlotsExecution
 
string mergeZmumuPlotsTemplate
 
string zMuMuScriptTemplate
 
string ZMuMuValidationTemplate
 

Variable Documentation

string zMuMuValidationTemplates.mergeZmumuPlotsExecution
Initial value:
1 = """
2 #merge Z->mumu histograms
3 
4 rfcp .oO[mergeZmumuPlotsScriptPath]Oo. .
5 root -l -x -b -q TkAlMergeZmumuPlots.C++
6 
7 """

Definition at line 294 of file zMuMuValidationTemplates.py.

string zMuMuValidationTemplates.mergeZmumuPlotsTemplate
Initial value:
1 = """
2 #include "MuonAnalysis/MomentumScaleCalibration/test/Macros/RooFit/MultiHistoOverlapAll_Z.C"
3 #include <sstream>
4 #include <vector>
5 
6 template <typename T> string separatebycommas(vector<T> v)
7 {
8  if (v.size()==0) return "";
9  stringstream s;
10  s << v[0];
11  for (unsigned int i = 1; i < v.size(); i++)
12  s << "," << v[i];
13  return s.str();
14 }
15 
16 void TkAlMergeZmumuPlots()
17 {
18  vector<string> filenames; vector<string> titles; vector<int> colors; vector<int> linestyles;
19 
20  .oO[mergeZmumuPlotsInstantiation]Oo.
21 
22  TkAlStyle::legendheader = ".oO[legendheader]Oo.";
23  TkAlStyle::set(.oO[publicationstatus]Oo., .oO[era]Oo., ".oO[customtitle]Oo.", ".oO[customrighttitle]Oo.");
24 
25  MultiHistoOverlapAll_Z(separatebycommas(filenames), separatebycommas(titles), separatebycommas(colors), separatebycommas(linestyles), ".oO[datadir]Oo./ZMuMuPlots", .oO[switchONfit]Oo.);
26 }
27 """

Definition at line 305 of file zMuMuValidationTemplates.py.

string zMuMuValidationTemplates.zMuMuScriptTemplate

Definition at line 219 of file zMuMuValidationTemplates.py.

string zMuMuValidationTemplates.ZMuMuValidationTemplate

Definition at line 1 of file zMuMuValidationTemplates.py.