CMS 3D CMS Logo

Macros
GeometryComparisonPlotter.cc File Reference
#include "GeometryComparisonPlotter.h"

Go to the source code of this file.

Macros

#define CHECK_BRANCHES(branchname_vector)
 
#define CHECK_MAP_CONTENT(m, type)
 
#define COLOR_CODE(icolor)   int(icolor/4)+icolor+1
 
#define INDEX_IN_GLOBAL_CANVAS(i1, i2)   1 + i1 + i2*x.size()
 
#define INSIDE_VECTOR(vector)   cout << #vector << "={"; for (unsigned int i = 0 ; i < vector.size()-1 ; i++) cout << vector[i] << ","; cout << vector.back() << "}";
 
#define LIMITS(axes_vector)
 
#define NB_MODULE_QUALITY   3
 
#define NB_Z_SLICES   2
 
#define TALKATIVE
 

Macro Definition Documentation

#define CHECK_BRANCHES (   branchname_vector)
Value:
for (unsigned int i = 0 ; i < branchname_vector.size() ; i++) \
{ \
if (branch_f.find(branchname_vector[i]) == branch_f.end()) \
{ \
cout << __FILE__ << ":" << __LINE__ << ":Error: The branch " << branchname_vector[i] << " is not recognised." << endl; \
return; \
} \
}
int i
Definition: DBlmapReader.cc:9

Referenced by GeometryComparisonPlotter::MakePlots().

#define CHECK_MAP_CONTENT (   m,
  type 
)
Value:
for (map<TString,type>::iterator it = m.begin() ; it != m.end() ; it++) \
cout << __FILE__ << ":" << __LINE__ << ":Info: " << #m << "[" << it->first << "]=" << it->second << endl;

Definition at line 21 of file GeometryComparisonPlotter.cc.

Referenced by GeometryComparisonPlotter::MakePlots().

#define COLOR_CODE (   icolor)    int(icolor/4)+icolor+1
#define INDEX_IN_GLOBAL_CANVAS (   i1,
  i2 
)    1 + i1 + i2*x.size()
#define INSIDE_VECTOR (   vector)    cout << #vector << "={"; for (unsigned int i = 0 ; i < vector.size()-1 ; i++) cout << vector[i] << ","; cout << vector.back() << "}";

Definition at line 19 of file GeometryComparisonPlotter.cc.

Referenced by GeometryComparisonPlotter::MakePlots().

#define LIMITS (   axes_vector)
Value:
for (unsigned int i = 0 ; i < axes_vector.size() ; i++) \
{ \
if ( _SF.find(axes_vector[i]) == _SF.end()) _SF[axes_vector[i]] = 1.; \
if (_min.find(axes_vector[i]) == _min.end()) _min[axes_vector[i]] = _SF[axes_vector[i]]*data->GetMinimum(axes_vector[i]); \
if (_max.find(axes_vector[i]) == _max.end()) _max[axes_vector[i]] = _SF[axes_vector[i]]*data->GetMaximum(axes_vector[i]); \
}
int i
Definition: DBlmapReader.cc:9
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

Referenced by GeometryComparisonPlotter::MakePlots().

#define NB_MODULE_QUALITY   3
#define NB_Z_SLICES   2
#define TALKATIVE

Definition at line 15 of file GeometryComparisonPlotter.cc.