conddb notes
Comperison of two sqlites
conddb list SiPixelDynamicInefficiency_13TeV_50ns_v2_mc // from FrontierProd
conddb --db /afs/cern.ch/cms/CAF/CMSALCA/ALCA_TRACKERCALIB/Pixels/PixelDB2015/6SiPixelDynamicInefficiency/siPixelDynamicInefficiency_13TeV_50ns_v2_mc.db list SiPixelDynamicInefficiency_13TeV_50ns_v2_mc // from local file
both of them give the hash.
$ conddb dump 1fc23c8994620aa9d47d27baa9f0af4e99e76909 > 1fc23c8994620aa9d47d27baa9f0af4e99e76909.xml
$ conddb dump 5a9e60ee4edc52188da96e384da8fb2bccee30b4 > 5a9e60ee4edc52188da96e384da8fb2bccee30b4.xml
diff 1fc23c8994620aa9d47d27baa9f0af4e99e76909.xml 5a9e60ee4edc52188da96e384da8fb2bccee30b4.xml73c73
Root notes
Standard things
TH2D (const char *name, const char *title,
Int_t nbinsx, Double_t xlow, Double_t xup,
Int_t nbinsy, Double_t ylow, Double_t yup)
Custum canvas
TH2* h, std::string canname,
int gx = 0, int gy = 0,
int histosize_x = 500, int histosize_y = 500,
int mar_left = 80, int mar_right = 120,
int mar_top = 20, int mar_bottom = 60,
int title_align = 33, float title_y = 1.0, float title_x = 1.0,
std::string draw="COLZ", bool norm=false, bool log=false
Some explanations:
- title_align could be 11, 12, 13, 31, 32, 33 (upper right) For horizontal alignment the following convention applies: 1=left adjusted, 2=centered, 3=right adjusted For vertical alignment the following convention applies: 1=bottom adjusted, 2=centered, 3=top adjusted
prelim_lat_(double xmin, double xmax, double ymin, double ymax, bool in, double scale = -1)
draw_lat_(250, 198.0, "Module X", 1, 0.04, 0.0, 21);
--
TamasVami - 2016-01-14