CMS 3D CMS Logo

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 307 of file zMuMuValidationTemplates.py.

string zMuMuValidationTemplates.mergeZmumuPlotsTemplate
Initial value:
1 = """
2 #include "MuonAnalysis/MomentumScaleCalibration/test/Macros/RooFit/MultiHistoOverlapAll_.oO[resonance]Oo..C"
3 #include <sstream>
4 #include <vector>
5 
6 template <typename T> string separatebycommas(vector<T> v){
7  if (v.size()==0) return "";
8  stringstream s;
9  s << v[0];
10  for (unsigned int i = 1; i < v.size(); i++) s << "," << v[i];
11  return s.str();
12 }
13 
14 void TkAlMergeZmumuPlots(){
15  vector<string> filenames; vector<string> titles; vector<int> colors; vector<int> linestyles;
16 
17  .oO[mergeZmumuPlotsInstantiation]Oo.
18 
19  vector<int> linestyles_new, markerstyles_new;
20  for (unsigned int j=0; j<linestyles.size(); j++){ linestyles_new.push_back(linestyles.at(j) % 100); markerstyles_new.push_back(linestyles.at(j) / 100); }
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_.oO[resonance]Oo.(separatebycommas(filenames), separatebycommas(titles), separatebycommas(colors), separatebycommas(linestyles_new), separatebycommas(markerstyles_new), ".oO[datadir]Oo./.oO[resonance]Oo.MuMuPlots", .oO[switchONfit]Oo.);
26 }
27 """

Definition at line 318 of file zMuMuValidationTemplates.py.

string zMuMuValidationTemplates.zMuMuScriptTemplate

Definition at line 232 of file zMuMuValidationTemplates.py.

string zMuMuValidationTemplates.ZMuMuValidationTemplate

Definition at line 1 of file zMuMuValidationTemplates.py.