GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — LDMX-scripts/TutorialFiles/plotting_template.conf at master · IncandelaLab/LDMX-scripts Expand file tree/ Copy pathplotting_template.confMore file actions 103 lines (80 loc) · 3.87 KB / Copy pathplotting_template.confFile metadata and controls103 lines (80 loc) · 3.87 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ## Example configuration file for plotting, to be adapted as needed ############################################################### [setup] # location of input trees inputdir: /nfs/slac/g/ldmx/users/<USER>/ldmx-sw-v3.0.0/LDMX-scripts/pyEcalVeto/outputs # directory to save plots to outputdir: /nfs/slac/g/ldmx/users/<USER>/ldmx-sw-v3.0.0/LDMX-scripts/pyEcalVeto/plots # list of process names. Trees should be named '<processname>_tree.root', e.g. 'bkg_tree.root' processes: 0.001, 0.01, 0.1, 1.0 # name of ROOT tree with variables to be used for 1D plots treename : EcalVeto # name of ROOT tree with variables to be used for 2D plots (can be the same or different) treename2d: # what we want to compare on the same plot: options are 'processes' or 'sels'. 'processes' compares distributions of the same variable from different trees with the same cuts, 'sels' compares distributions from the same tree with different cuts comparetype : processes ############################################################### [plotting] # list of 1D variables to plot plotnames: nReadoutHits, summedDet, summedTightIso, maxCellDep, showerRMS, xStd, yStd, avgLayerHit, stdLayerHit, deepestLayerHit, ecalBackEnergy # 2D plots, expressions to be plotted defined below plotnames2d: # for efficiency plots: names of variables for which to plot efficiency vs cut value effplotnames: # variables for which you want to plot the efficiency for selecting events with values less than the cut, rather than greater than the cut. e.g.: trigEnergy reversecutvars: # list of variables to be plotted in log scale for all plots logvars: nReadoutHits, summedDet, summedTightIso, maxCellDep, showerRMS, xStd, yStd, avgLayerHit, stdLayerHit, deepestLayerHit, ecalBackEnergy ############################################################### [sels] # cut strings for 1D plots. Format: <label> : <cut_string> base : 1==1 ############################################################### [sels2d] # cut strings for 2D plots. Format: <label> : <cut_string> base : 1==1 ############################################################### [expressions] # strings defining expressions to be used with TTree::Draw to calculate a plotting variable derived from variables in the tree, or expressions for 2D plots (<y-variable>:<x-variable>). Format: <plotname> : <expression> ############################################################### [plotlabels] # axis labels for ALL variables to be plotted. Format: <plotname> : <axis_label> nReadoutHits : # rec hits summedDet : Total rec energy [MeV] summedTightIso : Total isolated energy [MeV] maxCellDep : Highest single cell energy [MeV] showerRMS : Transverse shower RMS [mm] xStd : Shower x std dev [mm] yStd : Shower y std dev [mm] avgLayerHit : Average layer hit stdLayerHit : Std dev layers hit deepestLayerHit : Deepest layer hit ecalBackEnergy : Energy in last 14 layers [MeV] ############################################################### [proclabels] # labels for each process to be plotted, to be used in legends. Needs to be defined for ALL processes. Format: <process> : <label> 0.001 : 0.001 GeV 0.01 : 0.01 GeV 0.1 : 0.1 GeV 1.0 : 1.0 GeV ############################################################### [binning] # axis binning for ALL variables to be plotted. Format: <plotname> : <(nbins, min, max)> nReadoutHits : (25,0,100) summedDet : (50,0,2500) summedTightIso : (50,0,1500) maxCellDep : (50,0,500) showerRMS : (50,0,200) xStd : (50,0,200) yStd : (50,0,200) avgLayerHit : (34,0,34) stdLayerHit : (25,0,15) deepestLayerHit : (34,0,34) ecalBackEnergy : (50,0,250) ############################################################### [colors] # colors to be used to draw histograms for each process to be plotted. Color names are defined in 'styleTools.py'. Format: <process> : <color_name> 0.001 : color_comp2 0.01 : color_comp3 0.1 : color_comp4 1.0 : color_comp5 |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |